grahams / safari-utm-stripper

Safari extension that strips Google Analytics (i.e. Urchin Traffic Monitor) tokens from URL query strings.
https://safari-extensions.apple.com/details/?id=com.dosburros.safari-utm-stripper-J3Q79T636D
48 stars 6 forks source link

Faster history.replaceState. #3

Closed kiding closed 10 years ago

kiding commented 10 years ago

Issue #2 specified the script to be injected only after the DOM is parsed, because it was using the title of the window as a parameter which can be either specified/not specified/changed at the moment. This pull request eliminates the use of the title, and tries to inject the script before the parsing.

kiding commented 10 years ago

That was fast! :+1: