-
Notifications
You must be signed in to change notification settings - Fork 85
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
$removeparam
can not prevent the generation of specific param
#2233
Comments
I see |
It seems |
Do you see in the logger any outgoing network requests with the
This makes the case the site is not using In any case, I decline the ability to assign specific value to existing parameter, this opens the door to security issues through filter crafting. The key part here is that with the mentioned filter, there are no outgoing network requests with |
No, I didn't find such links in logger after it was removed. If there is already a Another condition is, when a controversial video is supposed to be shared publicly and anonymously, the one who wants to share actually expose to Bilibili if there is I got your point about security issues, it seems not wise to add such potential hazard ability. |
Prerequisites
I tried to reproduce the issue when...
Description
I've seen relevant issues #1767 and #1704. This is more a feature request, not actually a bug. I am not familiar with Reddit, so I post it here and sorry about that.
$removeparam
didn't work in some cases when the page didn't reload. As for me, Bilibili video page (the link below) would generate avd_source
param when opening a clean link. The param value looks like a hash and was believed to track who shared the video. A rule like||bilibili.com^$removeparam=vd_source
cannot remove it in fact.To prevent users from tracking, we can manual add a invalid value, like
https://www.bilibili.com/video/BV1uV4y1W7Es?vd_source=stop_tracking
, then the site would not change the param.So, is it possible to add a new operator which allows a rule to preset/replace a param to prevent tracking? Maybe like
||bilibili.com^$replaceparam=vd_source&stop_tracking
in my case.A specific URL where the issue occurs
https://www.bilibili.com/video/BV1uV4y1W7Es
Steps to Reproduce
||bilibili.com^$removeparam=vd_source
Expected behavior
vd_source
in url disappear.Actual behavior
vd_source
was removed but then regenerated by the site.uBlock Origin version
1.44.0
Browser name and version
Chrome 104
Operating System and version
Windows 10
The text was updated successfully, but these errors were encountered: