Problems with uBlock Origin in Vivaldi?
-
@DoctorG said in Problems with uBlock Origin in Vivaldi?:
@RasheedHolland said in Problems with uBlock Origin in Vivaldi?:
if the page loads correctly while JS is turned off, then something is wrong.
What means correctly? Please post two screenshots (with JS & blocked JS).
This is quite easy to see on imdb.com, see link. If JS is disabled, certain elements won't load and you will see the ''loading'' indicator on the website, with the 3 dots.
-
@RasheedHolland Yes, and uBO works for me with Stable .62 as i told before.
-
@DoctorG said in Problems with uBlock Origin in Vivaldi?:
@RasheedHolland Yes, and uBO works for me with Stable .62 as i told before.
I'm not following you, did you already check it? So to clarify, JS is turned on and off correctly and you get to see the purple indicator in Ublock's extension icon, when JS is disabled? Can you post a pic of the icon? This is what it looks like in Firefox when JS is disabled, you get to see the purple indicator. On Vivaldi it stays blue no matter if JS is on or off.
-
@Zalex108 said in Problems with uBlock Origin in Vivaldi?:
Because of this the Step #3, Clean Profile.
The JS block would make many reports since some users are based on blocking first enable latter.
I have just tested it with a clean browser profile in Vivaldi 5.6, and I still get bad results. In other words, JS is not being blocked and I also don't get to see the purple uBlock icon. I'm still waiting for somebody to confirm (with screenshot), this should be easy to check.
-
-
@RasheedHolland said in Problems with uBlock Origin in Vivaldi?:
because uBlock isn't blocking Javascript at all!
Of course it's blocking JS. Works fine here:
uBlock logger:
I also don't get to see the purple uBlock icon.
Yes, that's correct. Vivaldi does not show different colours for extension badges. It takes the colour from your theme.
This can be easily seen when inspecting the UI:
<span class="button-badge">19</span>
.button-badge { ... background-color: var(--colorHighlightBg); color: var(--colorHighlightFg); ... }
For me it shows as a dark colour - it depends on the theme "Accent on window" setting.
I keep extension badges turned off anyway, I have no use for that number. And I usually keep extension icons hidden so even less use for them.
-
@Pathduck said in Problems with uBlock Origin in Vivaldi?:
Of course it's blocking JS. Works fine here.
Yes, that's correct. Vivaldi does not show different colours for extension badges. It takes the colour from your theme.There is something wrong on my machine. Like I said, sometimes uBlock seems to block JS, and sometimes it does not. You also need to check if it blocks JS upon refresh of the page. And about the badge color, you're saying this is a problem in Vivaldi? In Firefox it correctly shows the purple color, and in older versions of Vivaldi it did too. Perhaps I should also make a bug report to the developer of uBlock, but according to your information it's probably caused by Vivaldi.
-
@RasheedHolland Vivaldi creates its own number rounded badges, that's why the are different from Firefox.
Rounded appearence can be changed in Vivaldi with a user interface CSS modification.
But that extension does not change the color of badge is a Vivaldi bug
I will report it to Vivaldi devs.Can you please report the issue with Vivaldi to uBlock Origin tracker, too, and leave link here?
-
@RasheedHolland my bug report for Vivaldi is
VB-94901 "Badge on uBlock Origin button does not change color when status changes" -
@RasheedHolland said in Problems with uBlock Origin in Vivaldi?:
You also need to check if it blocks JS upon refresh of the page.
If you do a simple refresh after changing uBlock settings, the browser will just reload the page from cache. For JS this usually means memory cache. You will need to force a hard reload after changing uBlock settings, and this is the same in all browsers.
This is also documented in the uBlock wiki:
"After modifying the rules, you can quickly reload the page without leaving the popup by clicking on the reload button appearing in the top-right corner. Click it with Ctrl, Shift or Cmd (Mac) pressed to bypass browser cache."
https://github.com/gorhill/uBlock/wiki/Quick-guide:-popup-user-interface
(under I am an advanced user)You can use the tools available to you (Dev.tools/Network, uBlock logger) to verify this.
And about the badge color, you're saying this is a problem in Vivaldi?
Yes, this is an issue or "bug" due to the Vivaldi UI.
-
Just tested this because I was curious.
Youtube working fine with uBlock running.
Disable JS, refresh from button in the extension - broken
Hard refresh - broken
New tab - broken
Enable JS, refresh from button in the extension - works.At no point does the uBlock icon/notification change colour.
-
@DoctorG said in Problems with uBlock Origin in Vivaldi?:
VB-94901 "Badge on uBlock Origin button does not change color when status changes"
Maybe important to specify it's not just uBlock, it applies to all extensions that have a badge and needs to specify colour:
Looks like it was broken in 5.2, it turns purple in 5.1 and 5.0.
-
@DoctorG It has already been reported a few times, but they have been set as duplicates of
VB-83875
which appears to be a different issue related to the badge number not updating. We would have to ask the reporter to be sureSo do we try and get one of the old duplicates reopened or just continue with the new one?
VB-88196
andVB-93909
both call out the specific API method. -
@nomadic Thanks for information.
I now saw in tracker VB-88196 and VB-93909 were duplicates of VB-83875.
I have linked VB-94901 to master VB-83875. -
@DoctorG I guess linking is fine since the other reports point to it, but isn't
VB-83875
completely unrelated to this problem? -
@nomadic Dev decided to have VB-83875 as a masterbug for such duplicates/related ones.
-
@RealJosephKnapp Or just don't use both ad blockers; pick one of the other. From what I've read: Using two adblockers slows the loading of webpages down.
-
Ppafflick moved this topic from Vivaldi for Windows on
-
@DoctorG said in Problems with uBlock Origin in Vivaldi?:
@RasheedHolland my bug report for Vivaldi is
VB-94901 "Badge on uBlock Origin button does not change color when status changes"OK thanks, hopefully this will be fixed.
-
@Pathduck said in Problems with uBlock Origin in Vivaldi?:
If you do a simple refresh after changing uBlock settings, the browser will just reload the page from cache. For JS this usually means memory cache. You will need to force a hard reload after changing uBlock settings, and this is the same in all browsers.
I'm not sure what is going on, but when I tested in a clean profile, uBlock seemed to malfunction. But on my main profile it does seem to block JS correctly. But in my view, uBlock should always disable and enable JS after refresh via Vivaldi's refresh button, so without having to use the refresh button in Ublock's interface.
-
@RealJosephKnapp said in Problems with uBlock Origin in Vivaldi?:
Ublock does conflict with Vivaldi's inbuilt ad blocker. A fix would be to add a setting as to which ad blocker is more important. Or to default to a 3rd party ad blocker when it is installed. I like that Gorhill is making headway on porting uBlock to manifest v3. He calls it Ublock lite.
I have seen weird behavior sometimes when both Vivaldi's adblocker and uBlock are enabled, so that's why I have disabled Vivaldi's adblocker. But I do use it when uBlock sometimes causes problems with website loading.