Comments (9)
If you have trustedListPrefixes ublock- user-
set in advanced settings, then: svtplay.se##+js(trusted-set-cookie, cookie-consent-1, {"optedIn":true\,"functionality":true\,"statistics":false})
should get rid of the cookie popup and enable all functionality.
from frellwits-filter-lists.
from frellwits-filter-lists.
Tried to use this new-found knowledge to avoid the annoying "choose country" pop-up on this site (which even moronically redirects to the root document afterwards no matter what you choose). How can the rule be changed to work as intended?
https://www.oxo.com/joe-chop-and-spin-bundle.html
www.oxo.com##+js(trusted-set-cookie, geo_location, "US", 1year, reload)
from frellwits-filter-lists.
@lassekongo83: uBlock Origin suddenly started complaining about "not trusted source", so the webpage is not clickable. Tried adding -user
to trustedListPrefixes
to no avail. What is the proper fix for making the webpage clickable again?
from frellwits-filter-lists.
Are the 2 checkboxes at the top in "My Filters" page checked? If not, make sure they are.
For svtplay you may also need to update to the dev build of uBO and add: svtplay.se##+js(trusted-set-cookie, cookie-consent-1, '{"optedIn":true,"functionality":true,"statistics":false}')
(Won't work in version 1.57.2).
As for the oxo site. Looks like the site is redirected on the server side which runs before uBO can set cookies. You can prevent the website from redirecting you, but it may cause breakage. Use at your own risk: oxo.com##^responseheader(location)
from frellwits-filter-lists.
Both suggestions seem to work perfectly. Thank you so much again!
PS! Can you explain quickly the "trusted sources"? Must all filters be registered verbatim in a central database?
from frellwits-filter-lists.
It's just a prefix setting, only uBO filters are trusted by default. https://github.com/gorhill/uBlock/wiki/Advanced-settings#trustedlistprefixes
from frellwits-filter-lists.
Not completely clear. One can add "My filters" without changing any default settings, but with JS stuff like this, some kind of check is evidently performed (against an online server...?) So what exactly is checked? Is it something like, eg. pseudo:
the_whole_thing = "svtplay.se##+js(trusted-set-cookie, cookie-consent-1, '{"optedIn":true,"functionality":true,"statistics":false}')"
unless lookup(the_whole_thing, "https://...ublock.../trusted-rules").status == 'safe' then warn user
from frellwits-filter-lists.
uBO does not connect to any servers unless filters/scriptlets/assets are updated. Trusted filters are checked within the extension locally. You can probably see how it's done in the source code: https://github.com/gorhill/uBlock/tree/master
Probably somewhere in 1p-filters.js and scriptlets.js.
from frellwits-filter-lists.
Related Issues (20)
- Allowlist shop logos from pricespy cdn
- Bilder saknas på dn.se HOT 2
- Request: Tyda.se annoying ads not being blocked HOT 3
- TV4Play slutat fungera
- NRK.no - Blocked podcasts (Frellwit's Swedish Filter)
- Images and widgets from Prisjakt CDN
- aftonbladet.se - Top of the first headline gets cut off HOT 2
- foodora.se unblocked ad on order tracking page
- Upsales formulär blockeras
- Knappar blockeras på Swebbtv HOT 1
- Oblockerade platshållare för annonser på prisjakt
- Feber.se uppmanar om prenumeration
- TV4.se not working HOT 1
- ul.se fungerar inte tillsammans med EasyList – Cookie Notices HOT 1
- Di.se not working anymore HOT 1
- Bilder i inbäddade X/Twitter-inlägg visas inte HOT 1
- Remove instant.page
- Annons på AB HOT 1
- PriceSpy sites - Blocked images (Frellwit's Swedish Filter)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frellwits-filter-lists.