This probably borders dangerously close to evil, but... Is it possible
for an extension to modify the URL for a page that hasn't loaded yet,
*before* that URL is requested? You could certainly have a content
script change document.location.href after the fact; and I tried
having a background page listen for tab changes, and use updateTab to
change the tab's URL. But in the later case Chrome still makes the URL
request before changing the URL (and making another request).

The use case I'm thinking is for an extension to automatically pre-
populate CGI parameters when the user goes to a URL. For example,
typing or clicking on http://example.com?foo=bar would actually
request http://example.com?foo=bar&extension=evil

Thanks,
matias
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Chromium-extensions" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/chromium-extensions?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to