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

How to close a tab? #147

Open
ghguy opened this issue Nov 20, 2014 · 1 comment
Open

How to close a tab? #147

ghguy opened this issue Nov 20, 2014 · 1 comment
Assignees
Labels

Comments

@ghguy
Copy link

ghguy commented Nov 20, 2014

We have a lot of popups, and some of them do not have a close button (:(). Is there any (easy) to close the popup?

Thanks!

@asciidisco
Copy link
Member

You could use the .execute method (Docs) to run some client side JavaScript in which you have access to all the applications globals, then get the handle of the window and issue an window.close() call like described here on MDN

@asciidisco asciidisco self-assigned this Dec 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants