How to cancel request and open it in an existing tab?

2,671 views
Skip to first unread message

Demián Andrés Rodriguez

unread,
Jul 24, 2013, 1:03:25 PM7/24/13
to google-chrome-...@googlegroups.com
I've been trying to accomplish this using chrome.webRequest API but I couldn't.
For whatever reason my extension stays in an infinite loop opening tabs or redirecting the same tab over and over again.

Is there a way to detect if a request comes from an external program? 
For example, I want to reuse an existing application tab when opening a new link from outside the browser, like Skype...
If I have an open tab with url "test.com/hello" and user clicks a link like "test.com/world", I want to redirect the existing tab to that url.

Any clues on how to do it correctly?

Thanks.

Demián Andrés Rodriguez

unread,
Aug 4, 2013, 8:58:59 PM8/4/13
to google-chrome-...@googlegroups.com
hello?

PhistucK

unread,
Aug 5, 2013, 9:50:43 AM8/5/13
to Demián Andrés Rodriguez, Google Chrome Developer Tools
chromium-extension is the right group for this question, or StackOverflow.


PhistucK


hello?
--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-develo...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages