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

Does this strip UTM tokens before or after web request is made? #9

Closed BillyJoeJimBob closed 6 years ago

BillyJoeJimBob commented 6 years ago

I am curious as to whether the Safari UTM Stripper add-on strips tracking tokens from URLs before a web request is made to actually limit tracking (like the Jon Parise Chrome add-on referenced in github) or does it only do purely aesthetic post-processing (like the Mihai Parparita add-on).

Thank you.

grahams commented 6 years ago
    safari.application.addEventListener("beforeNavigate", function (e) {
        var originalURL = e.url;