Detecting window.location=custom-protocol:uri
I'm using Chrome on ChromeOS and sometimes webpages call javascript that
does "window.location=custom-protocol:protocoluri"
I'd like to write an extension that listens for modifications to
window.location. I tried window.onbeforeonlaod, but that event does not
have the new URL as an attribute.
No comments:
Post a Comment