Skip to content
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

fix hnonline.sk v3 #496

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

slatinsky
Copy link
Contributor

@slatinsky slatinsky commented Jan 24, 2025

I have been thinking about how to defuse the anti-adblock lock for this site for adblock plus users. You can defuse the lock by blocking tinypass.min.js, but that breaks some site functionality (like the suggested articles). But better to have degraded functionality than no functionality at all. Blocking tinypass.min.js will also break site functionality for ublock origin users, who can bypass the lock by more elegant filters and have a fully functional site.

So I came up with an idea to block it in the main filters (for adblock plus), but disable it by using badfilter it in ublock filters. So users of both blockers can have the best possible experience.

To reproduce the lock, use empty profile with adblock plus installed with default filter lists + out filter list. Then click on articles till it appears (it doesn't appear immediately). It will set __adblocker cookie to true and won't allow you to continue if you don't disable your content blocker. I can't hide the modal with basic element hiding filters, because they also disable the page scroll.

I also moved the previous filters to the slovak section

What do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant