Simple forwarding using Google Chrome webRequest API Simple forwarding using Google Chrome webRequest API google-chrome google-chrome

Simple forwarding using Google Chrome webRequest API


Your url matching pattern isn't correct. You simply need to add a trailing slash:

{urls: ['https://www.google.com/']}

Alternatively, you could use: '*://www.google.com/' to match all protocols, '*://www.google.com/*' to match beyond just the domain, and '*://*.google.com/*' to match all subdomains, protocols and paths, etc.

See:http://code.google.com/chrome/extensions/trunk/match_patterns.html