Partially fixed with the Version 0.99.115.2-beta (WebKit 614.1.12) update, some pages are still janky like when you open a page in a new window or tab. Besides that, there's still a noticeable delay for when the cosmetic filter is properly applied and you can briefly see the placeholder area before it gets blocked.
UBlock Origin doesn't work, sometimes
Sounds like a duplicate of this issue: https://orionfeedback.org/d/718-ublock-origin-doesnt-work-sometimes/4
I have managed to find a specific example for this @Vlad.
Here are the steps to reproduce this along with the video for it on : https://music.youtube.com
Steps are as follow :-
- Just after install simply install the ublock origin extension.
- Open youtube music and play any song and ublock will work as expected.
- Now open the preferences and disable content blockers (in-built ones)
- Quit the browser
- Reopen the browser
- Again revisit youtube music and play any song and now the ads will show up.
Btw, this is not just for ublock but also happens for other ad blockers like adguard as well. The reason for disabling the in-built content blockers is the FAQ mentions to not use them side by side with ublock here :- https://browser.kagi.com/faq.html#ubo
It seems like disable in-built content blockers is somehow messing up with the 3rd party blockers like ublock
Hope you are able to reproduce this and test out on your end and then maybe we can have a fix for this.
- Edited
anmol Vlad
I wonder if this is a different issue altogether, or if this is because of the different ways you load the site the first time vs. the second time. The first time you enter music.youtube.com, you have to click on the privacy agreement, which results in the page being refreshed. And that sounds oddly familiar to the steps to reproduce I posted a while ago (see szlend). I'm able to reproduce the inconsistent uBlock behaviour regardless of whether Orion's content blocking is enabled or not.
The fact that this can be resolved by a tab refresh leads me to speculate it has something to do with how uBlock gets initialized in a fresh tab vs. a reused one.
@Vlad I can only reproduce the issue with uBlock Origin cosmetic (DOM element) filters when the page loads in a new tab, which I think is a major clue.
Scenario 1:
- We have site A and B
- Using uBlock Origin, block a DOM element on website B
- Click on a link on website A that leads to website B in the same tab
- uBlock Origin successfully blocks the DOM element
Scenario 2:
- We have site A and B
- Using uBlock Origin, block a DOM element on website B
- Click on a link on website A that leads to website B in a new tab (target="_blank")
- uBlock Origin fails to blocks the DOM element
- Refresh the page
- uBlock Origin successfully blocks the DOM element
I can reproduce this every single time. In practice this results in most external links (as they're often configured to open in a new tab) not being adblocked properly, which is frustrating. All links to social media content (e.g. Twitter, YouTube) are typically opened with target=_blank.
I think it's possible that people correlate this with Orion's content blockers being disabled because those will often block the same content. So disabling Orion's content blocker make the issue more likely to appear as uBlock Origin's flakiness is more apparent. I suggest testing with custom uBlock filters for this reason.
- Edited
It seems to be pretty consistent behavior but I can't quite explain it in simple words because despite the consistent way it works (or doesn't), there's some outliers (like the first navigation from the start page in a new private window blocking correctly).
I recorded a video to show you, hope it helps.
Edit: I should have show in the beginning of the video instead of the end: the cookie banner at the bottom of reddit should be hidden via a uBlock Origin filter on its HTML #id
Version 0.99.121.1-beta (WebKit 614.1.20)
MacBook Pro (macOS Catalina 10.15.7 build 19H2026)
Is someone able to summarize a minimal ask from this entire thread for us to look at - so many things here to parse. Thanks.
- Edited
Basically to sum it up, uBlock Origin cosmetic (DOM) filtering sometimes doesn't work. It seems to be correlated with the way the page loads (Fresh tab vs Reused tab). It's hard to say if this is the real reason (it might be a different underlying issue), but I'm able to reproduce 100% of the time with this method. I'll copy the test scenarios from a previous post:
Scenario 1:
- We have websites A and B
- Using uBlock Origin, block a DOM element on website B
- Click on a link on website A that leads to website B in the same tab
- uBlock Origin successfully blocks the DOM element
Scenario 2:
- We have websites A and B
- Using uBlock Origin, block a DOM element on website B
- Click on a link on website A that leads to website B in a new tab (target="_blank")
- uBlock Origin fails to blocks the DOM element
- Refresh the page
- uBlock Origin successfully blocks the DOM element
Does that make sense? Let me know if there's anything else I can do to help.
Steps to reproduce:
Click on element picker mode on ublock origin's UI on one of the following sites: https://www.espncricinfo.com, https://news.ycombinator.com/news
Expected behavior:
Mouse cursor should be a picker icon, and element being hovered on should have a red overlay. There should be an interface for specifying the blocking filter.
It does work on some sites like reddit.com, but doesn't work on others.
Orion, OS version; hardware type:
Version 0.99.112-beta (WebKit 614.1.1), Mac Mini M1, Monterey 12.2
Image/Video:
Doesn't work:
Works but not on the Promoted elements:
- Edited
Came here to report the same. Good to see there's a topic already.
Element zapper mode and element picker mode are not functioning on some websites.
Version 0.99.123.1-beta (WebKit 615.1.16.1)
uBlock Origin 1.44.2
ericafterdark On some or all websites?
- Edited
@Vlad It looks like it is working for some elements/websites but not others.
One example is Reddit: "promoted" posts are blocked in Firefox, but not in Orion.
After some experimentation, I've narrowed it down to the following.
- The first time, some websites (with ads) are opened in a new tab (like Reddit) some ads are not blocked (like "Promoted" posts)
- Once the page reloads at least once (either by refreshing it or by closing the tab and reopening it with
History > Reopen Last Closed Tab
), the ads are properly blocked. - If a new tab is opened pointing to the same websites, the unblocked ads are back.
This can also be observed using this page. The first time it is opened, the actual ads are blocked, but the text "Advertisement" appears all around the test description where the ads would be. After a page refresh, that text gets removed too.
The extension "version" (Chrome vs Firefox vs Firefox (Orion-curated)) does not seem to affect this.
I also think that it may be domain-related. If you navigate from one page to the next on the same domain, the ads stay hidden. However, moving to a new domain using the same tab seems to cause the ads to reappear.
Hope this helps!
P.S.: I know Orion isn't open-source, but I would be glad to contribute if you're looking for help
Gadiguibou can confirm this weird behaviour, both uBlock Origin and SponsorBlock for YouTube have to reload a site to be working.