How to open new tabs in background using extensions api?
up vote
0
down vote
favorite
How to make so that any new tabs from window where location = "http://example.com/*" were opened in background using chrome.tabs api? If all requests are from the same domain (not cross-origin).
I don't need any extensions, only code is need.
javascript
add a comment |
up vote
0
down vote
favorite
How to make so that any new tabs from window where location = "http://example.com/*" were opened in background using chrome.tabs api? If all requests are from the same domain (not cross-origin).
I don't need any extensions, only code is need.
javascript
1
what did you tried until now?
– Matheus Reis
Oct 30 at 12:49
I only have this to open only a certain link. But I need for any links in any time.chrome.tabs.create( url: "https://www.stackoverflow.com", active: false )
– oleedd
Oct 30 at 12:52
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
How to make so that any new tabs from window where location = "http://example.com/*" were opened in background using chrome.tabs api? If all requests are from the same domain (not cross-origin).
I don't need any extensions, only code is need.
javascript
How to make so that any new tabs from window where location = "http://example.com/*" were opened in background using chrome.tabs api? If all requests are from the same domain (not cross-origin).
I don't need any extensions, only code is need.
javascript
javascript
edited Nov 10 at 14:48
asked Oct 30 at 12:47
oleedd
14
14
1
what did you tried until now?
– Matheus Reis
Oct 30 at 12:49
I only have this to open only a certain link. But I need for any links in any time.chrome.tabs.create( url: "https://www.stackoverflow.com", active: false )
– oleedd
Oct 30 at 12:52
add a comment |
1
what did you tried until now?
– Matheus Reis
Oct 30 at 12:49
I only have this to open only a certain link. But I need for any links in any time.chrome.tabs.create( url: "https://www.stackoverflow.com", active: false )
– oleedd
Oct 30 at 12:52
1
1
what did you tried until now?
– Matheus Reis
Oct 30 at 12:49
what did you tried until now?
– Matheus Reis
Oct 30 at 12:49
I only have this to open only a certain link. But I need for any links in any time.
chrome.tabs.create( url: "https://www.stackoverflow.com", active: false )– oleedd
Oct 30 at 12:52
I only have this to open only a certain link. But I need for any links in any time.
chrome.tabs.create( url: "https://www.stackoverflow.com", active: false )– oleedd
Oct 30 at 12:52
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53064644%2fhow-to-open-new-tabs-in-background-using-extensions-api%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
what did you tried until now?
– Matheus Reis
Oct 30 at 12:49
I only have this to open only a certain link. But I need for any links in any time.
chrome.tabs.create( url: "https://www.stackoverflow.com", active: false )– oleedd
Oct 30 at 12:52