-
Notifications
You must be signed in to change notification settings - Fork 954
Fix #881 fix #1275 fix #2054 #2099
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
Conversation
|
I want to think more about this, basically I want to figure what could go wrong by having filters which can automatically click stuff. These make me uncomfortable. My first thought is that this should at least apply only to visible elements. The question to answer is how could this be misused by either filter list maintainers or site owners. |
|
Yea... I was hesitating about this for a while too, but since it only scan the DOM once and the click isn't |
|
How do you like the idea of privileged filters? Scriptlets that are on the line of being too overpowered are guarded behind a privileged flag, so only trusted filters can use them. |
|
I haven't tested this, but having scriplets that can essentially execute requests sounds like a really bad idea. Please correct me if I'm wrong, but from this example taken from the updated What if I replace that button by a "delete account" or "accept X" button? Or any other with side-effects? You can even chain requests with this, all bypassing request tokens and the like. This is potentially dangerous. |
|
Yea... I'll mark the script snippet as privileged. |
|
Actually, that was my proposal, @gorhill do you want a "privileged scriptlet" system in uBO? I can PR. |
|
Can you elaborate on how that'd work, @jspenguin2017? Those filters would have to come from uAssets? |
|
No for now I prefer not to pull this, privileged or not, especially that the only cases this solves are merely in the annoyance category. |
|
Alright. |
|
@migueldemoura More info: Also, here's the patch on my side. |
|
Got it, thanks @jspenguin2017. |
|
@jspenguin2017 since these new scriptlets the cookiewall isn't blocked anymore on some sites (e.g marktplaats and hardware.info). Can you please have a look? |
|
@DrIT2016 |
|
So because of these changes it is no longer possible to let this advanced cookie blocking working in uBO? That's a real pity, i liked it. So only way to let it work now is use the nanoadblocker? |
|
@DrIT2016 |
Add new scriptlet to auto-accept cookie notices.
Fixes:
#881
#1275
#2054