Coder Social home page Coder Social logo

au-revoir-utm's People

Contributors

rik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

au-revoir-utm's Issues

Only remove utm_ parameters

From looking at the source (3 lines of code, but whatever) I can tell that this addon won't work as expected. It only removes the utm stuff if the query string starts with an utm parameter (i.e. like "http://something.com?utm_...", but not "...?page=main&utm_..."), and it removes ALL parameters from the URL, not just the utm params.

Please fix this, as it seems like a quite useful addon otherwise.

Not working in 64.0.2

the link in this issue #1
the Advertising link on the bottom left when you visit https://www.google.com

and so on.

the firefox addon simply does not clean any links. I disabled every other extension to test this.

What is the license?

Hi.

It seems that there is no license information. A LICENSE or COPYING file would be useful to know the license easily.

Regards.

Forwarding links don't work if URL contains utm parameters?

Hi, first-off, great add-on, super useful!

Just a small bug I found - when opening links such as the following in Firefox (which are created by Nuzzel.com's newsletters for example), then au-revoir stops that page from ever loading. When disabling au-revoir the links load normally.

The issue appears to be the last part of the URL that Nuzzel adds- "%26utm_medium%3Demail%26utm_source%3Dnuzzel"

When this string is removed from the URL, it opens as normal.

I.e., http://www.example.org/?%26utm_medium%3Demail%26utm_source%3Dnuzzel

When replacing "%26" with "&", then the link works as normal, even with au-revoir enabled.

Anyone else also experiencing this or any thoughts on what in au-revoir could be causing this?

Other annoyances ?

Support multiprocess Firefox

When I enabled this extension, e10s is disabled. Is there anything to change in the extension to keep using it with e10s?

Thanks

Does not work with specific URL (Service Workers?)

Hello. The current version of the addon fails to work properly on this URL.

The URL will just load without removing any tracking:

https://vuejs.org/v2/guide/components-edge-cases.html?utm_campaign=Vue.js%20News&utm_medium=email&utm_source=Revue%20newsletter#Programmatic-Event-Listeners

Reloading does not change anything. But what does help is to reload without cache (i.e. by hitting shift+cmd+R). By doing that, all utm parameters will be removed properly:

https://vuejs.org/v2/guide/components-edge-cases.html#Programmatic-Event-Listeners

This might be a shot in the dark, but could this issue be related to Service Workers?

Please repack your add-on with the Add-on SDK 1.12 and reupload to AMO

Currently, your add-on produces a lot of error messages in the error console on every page load.

Error: The Components object is deprecated. It will soon be removed.
Source file: resource://jid1-yrtlfkrtmbratq-at-jetpack/api-utils/lib/cuddlefish.js -> resource://jid1-yrtlfkrtmbratq-at-jetpack/api-utils/lib/sandbox.js -> resource://jid1-yrtlfkrtmbratq-at-jetpack/api-utils/data/content-proxy.js
Line: 7


Error: Exposing chrome JS objects to content without exposedProps is insecure and deprecated. See https://developer.mozilla.org/en/XPConnect_wrappers for more information.
Source file: resource://jid1-yrtlfkrtmbratq-at-jetpack/api-utils/lib/cuddlefish.js -> resource://jid1-yrtlfkrtmbratq-at-jetpack/api-utils/lib/sandbox.js -> resource://jid1-yrtlfkrtmbratq-at-jetpack/api-utils/data/worker.js
Line: 130

This is coming from an old version of the Add-ons SDK. Please repack your add-on with the newest version (currently 1.12) and reupload to addons.mozilla.org.

Consider only filter on documents

Currently, au-revoir-utm has a listener installed on all requests through onBeforeRequest - it then searches for utm_ in the URLs before deciding to redirect. Am I wrong should au-revoir-utm only care about HTML documents?

onBeforeRequest.addListener() allows to filter by types. You could specify main_frame and sub_frame in there, and I think that would be enough to cover all HTML documents and improve performance, avoiding calls to the add-on for requests it does not care about.

au-revoir-utm causes logging API to be disabled

When au-revoir-utm is activated in my Nightly, it causes the console to say:

The Web Console logging API (console.log, console.info, console.warn, console.error) 
has been disabled by a script on this page.

Which, you will agree, is quite annoying when you're working on the Web. :)

also remove the `ref` query param

It seems that the ref query parameter is also generally used for marketing/tracking campaigns, as a "utm-like parameter".

Also generally I wonder what is the effectiveness of the method offered by this plugin, as utm_ parameters, start with this prefix (as query parameters of a URL), only by convention.

So tracking from URL parameters, can still probably be done, by using any other name of parameters (non utm_ prefixed)?

It's a pretty cool project and implementation in any case (and nicely cleans urls!),
cheers!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.