-
-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Forbes #tracker #27
Comments
I'm afraid I haven't figured out a reliable way to strip URI fragments from an extension so this isn't something I'm able to support at this time. |
See also #10 |
Why not just use URLSearchParams API ? |
@uBlock-user I wasn't familiar with that API until you mentioned it. It looks like a nice improvement over regular expressions! Does it handle fragments though? The documentation doesn't mention that, and I don't have time to experiment with it right now. |
@jparise I'm not sure what you mean by fragments. Does that API support regex ? As I have a userscript and I want to add regex support but I don't think that API has any. |
@uBlock-user Fragment identifiers: https://en.wikipedia.org/wiki/Fragment_identifier This is how Forbes is adding its tracker.
Separately, there is also the root issue noted in #10 where we can't match URLs with fragments without widening the rule to match all URLs, and I don't know how much of a performance regression that would cause. |
It seems this API can't remove params starting with #, works with ? or &, not with # :( Tested on youtube with the js below --
|
Hi, Forbes.com adds a hashtag tracker at the end of its URL's. The link works fine without it. Would be great if you could remove those. Thanks!
The text was updated successfully, but these errors were encountered: