Closed Sonic5435325 closed 11 months ago
This looks like it might be another case of history.replaceState adding parameters without reloading the page. I can reproduce; sh is removed, but comes back @Sonic5435325 does this break anything:
forbes.com##+js(set,history.replaceState,noopFunc)
I'm open to a better solution
Seems like you need to accept cookies to get sh
param?
Does forbes.com##+js(cookie-remover, _swb_consent_)
work?
Nvm video not working without that cookie..
I don't remember accepting cookies, but I will check. Nope, consent not required, but I'm in the US
In EU I need to accept cookies for it
forbes.com##+js(set,history.replaceState,noopFunc)
Does not seem to break videos
Example: https://www.forbes.com/video/6328506763112/aoc-threatens-musk-for-promoting-her-twitter-impersonator/
but probably should be made more specific if possible.
Does this work for you?
forbes.com##+js(set, trackingService.track, noopFunc)
Seems to, and I don't see any breakage (not logged in though). Guess I gave up to early. Thanks for the solution 🥇
@Sonic5435325 please update your filterlists and retest to see if @Nojuuu's solution works for you
@iam-py-test @Nojuuu Yep, that filter works very well! Thanks.
https://github.com/DandelionSprout/adfilt/commit/03bd9c72018462b02724bc40bf69844c0ecc4b26
It breaks the site's login function (if you click "Sign In" in the header, the popup is blocked). It's also broken by a couple of other filters though, because the cookie consent needs to be accepted first.
Actually Legitimate URL Shortener Tool (@iam-py-test) (FIXED)
forbes.com##+js(set, trackingService.track, noopFunc)
AdGuard Tracking Protection filter (@Yuki2718) (FIXED)
||global.ketchcdn.com^
EasyList - Cookie Notices (@Khrin) (FIXED)
forbes.com##.bottom__OvpYA.root__XMKIj
forbes.com#@#.bottom__OvpYA.root__XMKIj
forbes.com#@#+js(set, trackingService.track, noopFunc)
@@||global.ketchcdn.com^$domain=forbes.com
Thank you for reporting this. I have fixed it in https://github.com/DandelionSprout/adfilt/commit/5cb9654bf21b015c848191ec00dcd480a195e949.
I can't reproduce, not seeing global.ketchcdn.com
request even with European IPs. @AdamWr can you check?
Finally reproduced
Thanks @Yuki2718 @AdamWr
Which entry/entries are you submitting?
When visiting
forbes.com
, the parametersh
shows up Here's a filter I think could work:||forbes.com^$removeparam=sh
Which things do they block, hide, or unbreak?
The filter will get rid of a parameter on a site
Which of my lists are you submitting it to?
Actually Legitimate URL Shortener
Which adblocker(s) and version did you use when writing and testing the entries?
Other(s):
Adblocker version(s):
Which filterlists did you use? Failing to tell this will temporarily close the report until it has been told.
Actually Legitimate URL Shortener AdGuard URL Tracking Protection
(Optional) Which browser(s) and version did you use?
Firefox 114.0