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

[Feature Request] Open in background tab #4

Open
drummwill opened this issue Nov 25, 2017 · 2 comments
Open

[Feature Request] Open in background tab #4

drummwill opened this issue Nov 25, 2017 · 2 comments

Comments

@drummwill
Copy link

have the ability to set a toggle to open tabs in background instead of switching focus

@drummwill drummwill changed the title [Feature Request] [Feature Request] Open in background tab Nov 25, 2017
@mimen
Copy link
Owner

mimen commented Nov 26, 2017

@drummwill I believe this is a browser setting and can't be controlled by Javascript.

https://stackoverflow.com/questions/6213807/open-a-new-tab-with-javascript-but-stay-on-current-tab

Let me know if you figure out the solution and I'll close the issue.

@ryan-mccaffrey
Copy link

ryan-mccaffrey commented Nov 28, 2017

@mimen This can be changed by providing an "active" argument when calling tabs.create() (see here).

It's probably possible to create a settings page for the extension where the user can specify if they want the tabs to become the focused tab when opened, which can then be provided as the argument when calling tabs.create()

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