this post was submitted on 23 Jun 2026
204 points (99.0% liked)
Privacy
49256 readers
910 users here now
A place to discuss privacy and freedom in the digital world.
Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.
In this community everyone is welcome to post links and discuss topics related to privacy.
Some Rules
- Posting a link to a website containing tracking isn't great, if contents of the website are behind a paywall maybe copy them into the post
- Don't promote proprietary software
- Try to keep things on topic
- If you have a question, please try searching for previous discussions, maybe it has already been answered
- Reposts are fine, but should have at least a couple of weeks in between so that the post can reach a new audience
- Be nice :)
Related communities
much thanks to @gary_host_laptop for the logo design :)
founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Can't this just be a filter in uBlock Origin? What does this do that is special that uBlock Origin can't do?
Curious to know this as well. I think it’s possible, but I myself am not capable of writing the filter.
@bamboo I dont't think so? I'm not sure how uBO filters works but the popup file is supposed to send an event to the main page to let it know that the verification is done and I don't think uBO filters can do that
In your experience do sites fail open or closed if the JavaScript from the third party not load? Like will the site wait for the event of the JavaScript library is never requested or loaded?
@bamboo Not sure if that's exactly what you mean but each site can set up the age verification by loading a script and adding event callbacks, like redirect_url to set an URL to be redirected to once the verification is over, and onclosed which occurs when the verification is successful, and where the site can set some code to run.
So if you just block the popup, it never appears and can never fire onclose and the code that happens after will never run.
Since sites are often minified and obfuscated, and the call for the popup can come from any file, I just replaced the response to requests to the popup URL, to have my own script that fires the event and/or redirects to the page, so that it works every time.
I think the only way to counter this is, if they change the URL (I can later update it too, or if a website hosts their own version of the file (so it will be at a different URL and be undetected). But all of these have easy workarounds as well.