Smile4ever / Neat-URL

Neat URL cleans URLs, removing parameters such as Google Analytics' utm parameters.
Other
631 stars 37 forks source link

URL is only partially cleaned and fully after an additional reload #223

Open hsiktas opened 4 years ago

hsiktas commented 4 years ago

Hi,

just discovered this extension and tried it with default settings on Chrome with this URL from my Twitter timeline:

https://t.co/3nUDCgKN8g?amp=1
which expands to
https://www.theverge.com/21250695/best-laptops?utm_campaign=theverge&utm_content=chorus&utm_medium=social&utm_source=twitter

Neat-URL immediately kicks in but does not remove everything. It is left with: https://www.theverge.com/21250695/best-laptops?utm_source=twitter

and after manually reloading the page again, I am finally left with https://www.theverge.com/21250695/best-laptops

This this expected behaviour or a bug?

gdhnz commented 2 years ago

Same thing happens when clicking a tweet on twitter and I have to do a hard reload to remove the cxt parameter to get rid of the More Tweets rubbish.

mmortal03 commented 2 years ago

Speaking of Twitter, I can't get it to remove parameters when the URL is twitter.com, but it will remove parameters when the URL is www.twitter.com

https://twitter.com/ShamsCharania/status/1543675702947594241?cxt=HHwWgoC-qfC3nuwqAAAA

Trying both of these:

cxt@*.twitter.com, cxt@twitter.com

Edit: I see that this is built in to the defaults for 6.0.0, but it still doesn't seem to work there in Chrome when the URL is twitter.com (which is the standard URL for twitter), but it will remove parameters when the URL is modified to www.twitter.com