Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return simple value #9

Open
blackary opened this issue Nov 17, 2022 · 2 comments
Open

Return simple value #9

blackary opened this issue Nov 17, 2022 · 2 comments

Comments

@blackary
Copy link

Is there an easy way to simply return something simple like window.parent.location.href (to get the url of the app) without explicitly nested it inside an async function?

@andreasntr
Copy link

Having the same issue, this suggestion does not work for me

@ghz
Copy link

ghz commented Oct 29, 2023

Having the same issue, this suggestion does not work for me

The same here. Even a simple script = 'await (async function () { return "test"; })()' return 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants