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.