Re:Wait, Google Sent Me
by c3RlcGhlbnI_ on Tuesday May 12, 2015 @02:13PM
(#9533727)
There is always the option of not messing with the request at all. Instead actually have it redirect through google. For example you could have the background script do:
and then you can have a content script run on "http://www.google.com/badurl/*" which just does:
Now that is super brittle compared to your solution, but it does work(for the sites I tried, some may require you to actually fake a search query). It only requires the activeTab permission and content script permissions on one page.
[ Parent
| on HN ]
There are no comments on this comment yet.