-
-
Notifications
You must be signed in to change notification settings - Fork 150
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
General filter chit-chat #7
Comments
At least originally, I felt it was a problem that the sales poster also blurred out the lower lines of the articles previews, and that it would therefore be better for people who didn't intend to subscribe, to remove the blur (which it appears to me that I can't do without also blocking the sales poster). However, this is a perfectly good issue report and feedback, so I'll look into resolving this issue within the next 15min. |
#7 made a splendid point about avoiding confusion, so I'll of course adhere to it.
I think it only blures out the last line partially. Thanks for the quick fix! :) |
For me it seemed to give a slight blur to the last two lines, but that's just pedantics of mine. 😄 Closing the issue now that it has been fixed. |
I found the true source of the line blurring of Aftenposten's paid article previews, thus hopefully solving #7 even better than before. I also removed one Viaplay filter, because its usefulness had been far surpassed by my new 'Anti-IMDB List'.
Nice catch! :) |
Same thing @ Example: Fix: |
Splendidly done of you to have researched it enough to have created a fix entry for it. This'll of course be added to the filter list as soon as possible. 💜 |
Those type of pseudo-element syntaxes works just fine with uBO. |
It doesn't seem to be possible to do it in Adblock Plus at all, from what I can determine. Adblock Plus' syntax is quite the mess, since I suspect that they're using their goal of encouraging better ads, as a bad excuse to refuse to support new features that originate from other adblockers (e.g. URL wildcards á la |
There is the small theorethical possibility that it's possible to trick :-abp-properties into only detecting :before and :after elements, but I wouldn't place my bets on it. Plus that :-abp-properties isn't even supported in uBO or Nano due to performance concerns (Okay, so advanced adblockers aren't 100% universally covering, either, I must admit), so I can't use Nano's element picker to experiment with it. |
Thanks for elaborating. |
Fix for dagbladet.no: Example: |
Fix for tu.no: Example: |
OFF TOPIC: Are you located in Norway? So far, the respective filter authors have refused to include the necessary exceptions in their filters, on the count of them not being able to reproduce the issue from their ends. Let me know if you're interested, and I'll post the links to the GitHub discussions here. |
Indeed I am a Norwegian who lives in Norway, and who'd be up for such a challenge. |
Great! Here are the two reference links: It's a bit to read up on. :) |
I think I could be seeing the cause of the problem. Are you currently using I Don't Care About Cookies (or anything similar) as one of your filter lists? |
No, as you can see from my tests, I made sure to troubleshoot it using ONLY the filters in question! |
Ah, okay. I can confirm that |
Yes, I can confirm that I get a cookie consent that looks like that, and that the latter two entries (except The thing I'm currently pondering on, is whether it'd be correct conduct or not of me to use my Norwegian list to cover up for the mistakes of mostly unrelated annoyances lists. I need some consideration time on it, and in the meantime there's nothing that stops you from placing |
Are you absolutely sure that you tested this properly, and that this rule isn't whitelisted somewhere in your filters?
No worries.
Of course, I've already done that. |
Okay, my fault, I tested it again with I don't think this is a Norway-only problem: Because GDPR is involved in this, I'm thinking that Popsugar may have chosen (poorly) to differ between EU and non-EU visitors, but I'm trying to look for more proof of that they've done that. I've asked my friends about what they're seeing, one lives in an EU country, and one lives in a non-EU-nor-EEC Eastern European country, and I'm awaiting their replies. |
Great, the issue have been confirmed then!! |
Refined Github extension does not support it for now, and there is no way to open all notifications at once. Also, it's bit crowdy on mobile. |
Yeah, I don't like the beta, already switched out of it. |
Simply removing the |
I just updated uBO to v1.25.0 in Chromium-ungoogled. -- EDIT: |
Site looks fine on my end with the latest uBO version using Firefox. |
Can be gorhill/uBlock@1a85717 You can check if 1.24.5b3 is working and 1.24.5b4 not. |
No breakage on my end with 1.25.0 in Vivaldi. |
Site looks fine with |
I'll run more tests tomorrow. |
I found the problem, and it's a bug in uBO.. -- EDIT:
Where can I find those builds now? |
So most likely gorhill/uBlock@1a85717 (Harden abort-current-inline-script scriplet) Two other commits: add these two filters:
tested in
URL
Only build for yourself, I'm afraid. |
This is definitely the reason (verified by reversing this commit). |
Prior to the commit, uBO would avoid trapping a property which was already trapped, with the assumption uBO itself was the trapper. Then it turns out a site was found trapping the property uBO was intended to trap, thus leading to uBO's trapper not being installed, hence the site was able to defuse uBO's defuser. The commit fixed this, and going back to the previous version would not be good, especially given that the current case is a custom filter interfering, while the case fixed is a site working around uBO. Possibly I can make the scriptlet a bit more smart to call the trapper's (whoever it is) getter if there is one installed. Is the issue also present in Firefox? The Chromium version is not published yet, so not a big deal, but Firefox has been published today, so I wonder whether this qualify as an emergency fix. |
Related feedback: - DandelionSprout/adfilt#7 (comment) If a property is already trapped with a getter/setter, propagate to these after validation succeed.
Yes. |
Mention @gorhill, otherwise he will not get notified 😃 |
He already commented... 😂 |
So I did some research that could change subdomain-specific Besides only some minor details, this means that e.g. Similar mass expansions would occur for any entries out there that are currently specific to |
Is something flying over my head here? Why does every subdomain need to be listed and not just |
Some entries in major lists are specific to the phone versions of Facebook (Usually Tier 2), and I presume they're specific to them for whatever reason they may have for it. |
Speaking of Facebook.. |
why not something like |
(To THEtomaso) Such an entry would've needed some deeper modifications to avoid removing text links in text article paragraphs, unfortunately. (To llacb47) Early on in the research, I too felt that would've been a good option, but that was before I remembered about the existence of the locale-tag subdomains for |
I think for most people that are using social media filters, the removal of such links would be preferable. |
Related feedback: - DandelionSprout/adfilt#7 (comment) If a property is already trapped with a getter/setter, propagate to these after validation succeed.
I can leave a comment here for some reason, you might want to lock this. NEW General filter chit-chat: #63 |
It appears that ~32 comments have been deleted from this thread's total amount in the past month...?! Seems like a good a time as any to try to figure out how to lock this thread. Give me a minute or so. |
Edit by Dandelion Sprout 25th of February 2020: GitHub spectacularly failed to tell me that there was a comment limit of 2,500 comments in issue threads?! So now it seems that discussion has been forcibly moved to #63 instead.
———————————————————————————————————
This thread is a megathread about adblock discussions in general. Here one can request syntax help, reproduction confirmations, info about differences between adblockers, assistance with making new lists, and so on. They'll be answered or considered by the biggest Adfilt contributors, and occasionally by members of the uBlock Origin development team (although in an unofficial fashion). (This header section was last updated on the 24th of April 2019 by DandelionSprout.)
None of the rules for this thread are obligatorily enforced, but are considered customary as of at the time of the last edit:
This thread originally started out as a simple report about removing the blurring from the preview of a premium news article, and is still visible below this line:
———————————————————————————————————
Affected site:
https://www.aftenposten.no/
Example:
https://www.aftenposten.no/karriere/Viktoria-16-betaler-n-million-for-en-karrire-som-ender-nar-hun-er-40-12051b.html
Issue:
Cosmetic filtering blocks the "salesposter" for subscription articles.
This results in strangely abrupted page layouts, that gives you the impression that the pages haven't loaded properly, or has some type of error on them.
As annoying as these type of "salesposters" may look, it's better not to block them, to avoid confusion!
Problem filter:
Dandelion Sprouts norske filtre for ryddigere nettsider
Problem rule:
aftenposten.no##.widgets.widget-salesposter
--
The text was updated successfully, but these errors were encountered: