[Ext] uBlock Origin
- GHM113
- Posts: 707
- Joined: December 16th, 2015, 3:59 am
- Location: Moscow, Russia
Re: [Ext] uBlock Origin
I decided to test uBlock Origin WebExtension and it turned out it currently slows down the browser a bit. Testing methodology: load 9 tabs, then open 100 bookmarks in the background using "Open all in tabs", measure how long it takes to cycle through the first 9 tabs (I wait until the contents of the tab are rendered after switching to this tab)
Results:
Nightly 29-10-16 without adblockers with Tab Mix Plus installed: ~11 seconds
Nightly 29-10-16 with uBlock Origin e10s and Tab Mix Plus installed: ~12 seconds
Nightly 29-10-16 with uBlock Origin WebExtension and Tab Mix Plus installed: ~19 seconds
Nightly with AdBlock Plus e10s and Tab Mix Plus installed: 30+ seconds the last time I measured. ABP performance is terrible.
Results:
Nightly 29-10-16 without adblockers with Tab Mix Plus installed: ~11 seconds
Nightly 29-10-16 with uBlock Origin e10s and Tab Mix Plus installed: ~12 seconds
Nightly 29-10-16 with uBlock Origin WebExtension and Tab Mix Plus installed: ~19 seconds
Nightly with AdBlock Plus e10s and Tab Mix Plus installed: 30+ seconds the last time I measured. ABP performance is terrible.
Sorry for my poor English.
-
- Posts: 163
- Joined: February 10th, 2015, 8:00 am
Re: [Ext] uBlock Origin
This matches my (superficial) findings, about which I commented on reddit: https://www.reddit.com/r/firefox/commen ... s/d9dz9ms/. I am very confident though that as the webext API matures, performance will get better -- it still being in development, I expect more time will be spent on optimisations in the near future.GHM113 wrote:I decided to test uBlock Origin WebExtension and it turned out it currently slows down the browser a bit.
- ChewInternetExplorer
- Posts: 63
- Joined: April 7th, 2011, 10:14 am
Re: [Ext] uBlock Origin
Just came across an image which uBlock Origin could not block because it seems to be generating an incorrect filter — tested with 1.9.17b1.
The image resides at http://winaero.com/blog/finally-custom- ... indows-10/
Correct filter:
Incorrect filter generated by uBlock Origin:
The image resides at http://winaero.com/blog/finally-custom- ... indows-10/
Correct filter:
- ||winaero.com/blog/wp-content/uploads/2016/10/custom-accent-color.jpg
Incorrect filter generated by uBlock Origin:
- ||winaero.com/blog/wp-content/uploads/2016/10/custom-accent-color-600x450.jpg
- The uBlock logs are able to reflect the correct filter, though.
- Virtual_ManPL
- Posts: 2052
- Joined: July 24th, 2008, 5:52 am
- Contact:
Re: [Ext] uBlock Origin
@ ChewInternetExplorer - it's not extension issue, report it to filter list developers
Virtualfox persona
Tired of constant Firefox UI changes? XUL extensions are not working anymore? Try SeaMonkey, Waterfox Classic, Pale Moon.
Tired of constant Firefox UI changes? XUL extensions are not working anymore? Try SeaMonkey, Waterfox Classic, Pale Moon.
- ChewInternetExplorer
- Posts: 63
- Joined: April 7th, 2011, 10:14 am
Re: [Ext] uBlock Origin
Really — which list did you find that filter on???
-
- Posts: 163
- Joined: February 10th, 2015, 8:00 am
Re: [Ext] uBlock Origin
ChewInternetExplorer wrote: Incorrect filter generated by uBlock Origin[/b]:
- ||winaero.com/blog/wp-content/uploads/2016/10/custom-accent-color-600x450.jpg
Sorry, I misunderstood what you reported. When you say "generated by uBlock Origin", you mean through the element picker?
If so, I tried here and
Code: Select all
||winaero.com/blog/wp-content/uploads/2016/10/custom-accent-color-600x450.jpg
- ChewInternetExplorer
- Posts: 63
- Joined: April 7th, 2011, 10:14 am
Re: [Ext] uBlock Origin
Hi Ray — thank you for the response!
When I delete the red part of the network filter (||winaero.com/blog/wp-content/uploads/2016/10/custom-accent-color.jpg) — uBlock Origin blocks the image permanently, as usual.
ps:—
Yes, I meant through the Element Picker — the behavior is 100% reproducible using either of the following methods:—gorhill wrote:When you say "generated by uBlock Origin", you mean through the element picker?
- Right-clicking the image, or
- Entering Element Mode via the uBlock Origin icon.
Yes right, I am receiving the same uBlock Origin suggested network filter (||winaero.com/blog/wp-content/uploads/2016/10/custom-accent-color-600x450.jpg) — it works momentarily when applied but fails to work when the page is refreshed and thereafter for all subsequent purposes.gorhill wrote:If so, I tried here andwas the network filter suggested by uBO, and the image was properly blocked.Code: Select all
||winaero.com/blog/wp-content/uploads/2016/10/custom-accent-color-600x450.jpg
When I delete the red part of the network filter (||winaero.com/blog/wp-content/uploads/2016/10/custom-accent-color.jpg) — uBlock Origin blocks the image permanently, as usual.
ps:—
- The image reported here was just an example — have found the exact behavior with quite a few other (main) images at the same site.
- http://winaero.com/blog/windows-10-crea ... eople-bar/ (||winaero.com/blog/wp-content/uploads/2016/10/people-bar-600x408.jpg)
http://winaero.com/blog/microsofts-offi ... ovember-2/ (||winaero.com/blog/wp-content/uploads/2016/10/satya-nadella1-600x406.jpg)
http://winaero.com/blog/october-2016-ed ... -download/ (||winaero.com/blog/wp-content/uploads/2016/07/Windows-10-laptop-official-logo-banner-600x340.jpg)
http://winaero.com/blog/microsoft-is-go ... indows-10/ (||winaero.com/blog/wp-content/uploads/2016/10/windows-10-store-personalization-tab-600x485.jpg)
http://winaero.com/blog/how-to-download ... indows-10/ (||winaero.com/blog/wp-content/uploads/2016/10/paint-3d1-600x451.jpg)
-
- Posts: 163
- Joined: February 10th, 2015, 8:00 am
Re: [Ext] uBlock Origin
See what the logger says. On my side the logger shows the image being blocked because of the newly added network filter (the one with "-600x450" in it). It could be a case of redirect: uBO can't see redirects by analyzing the DOM (from which suggested filters are picked). The logger will show you all network requests, including redirects. Another explanation is that maybe you have exception filters overriding the newly created block filter? Again, the logger will tell.ChewInternetExplorer wrote:Yes right, I am receiving the same uBlock Origin suggested network filter (||winaero.com/blog/wp-content/uploads/2016/10/custom-accent-color-600x450.jpg) — it works momentarily when applied but fails to work when the page is refreshed and thereafter for all subsequent purposes.
When I delete the red part of the network filter (||winaero.com/blog/wp-content/uploads/2016/10/custom-accent-color.jpg) — uBlock Origin blocks the image permanently, as usual.
- ChewInternetExplorer
- Posts: 63
- Joined: April 7th, 2011, 10:14 am
Re: [Ext] uBlock Origin
Damn, you are right.
Just created a new profile and disabled uMatrix and Stylish completely and uBlock origin succeeded in blocking that image with its suggested filter (||winaero.com/blog/wp-content/uploads/2016/10/custom-accent-color-600x450.jpg)
I am just about to revert to my original profile in order to pinpoint the cause and shall get back to you, soon.
Just created a new profile and disabled uMatrix and Stylish completely and uBlock origin succeeded in blocking that image with its suggested filter (||winaero.com/blog/wp-content/uploads/2016/10/custom-accent-color-600x450.jpg)
I am just about to revert to my original profile in order to pinpoint the cause and shall get back to you, soon.
-
- Posts: 4480
- Joined: March 19th, 2005, 10:51 am
Re: [Ext] uBlock Origin
not filtered here - proper content - which filter is it?winaero.com/blog/wp-content/uploads/2016/10/people-bar-600x408.jpg
-
- Posts: 163
- Joined: February 10th, 2015, 8:00 am
Re: [Ext] uBlock Origin
There is a new Advanced settings page in the latest dev build. It contains a setting to turn off scriptlet injection: "ignoreScriptInjectFilters" (default to "false").barbaz wrote:Good news, thanks!gorhill wrote:But yes, I do see your point. I will try to implement asap the hidden (for now) settings to wholly disable script injection and redirections. I do want longer-term a new pane for advanced users in the dashboard to more easily toggle these advanced settings.
- WildcatRay
- Posts: 7484
- Joined: October 18th, 2007, 7:03 pm
- Location: Columbus, OH
Re: [Ext] uBlock Origin
What would we need to look for to see if we are being affected by a scriplet injection?gorhill wrote:There is a new Advanced settings page in the latest dev build. It contains a setting to turn off scriptlet injection: "ignoreScriptInjectFilters" (default to "false").barbaz wrote:Good news, thanks!gorhill wrote:But yes, I do see your point. I will try to implement asap the hidden (for now) settings to wholly disable script injection and redirections. I do want longer-term a new pane for advanced users in the dashboard to more easily toggle these advanced settings.
Ray
OS'es: 4 computers with Win10 Pro 64-bit; Current Firefox, Beta, Nightly, Chrome, Vivaldi
OS'es: 4 computers with Win10 Pro 64-bit; Current Firefox, Beta, Nightly, Chrome, Vivaldi
-
- Posts: 163
- Joined: February 10th, 2015, 8:00 am
Re: [Ext] uBlock Origin
"Affected"? It's a feature in uBO: https://github.com/gorhill/uBlock/wiki/ ... riptinjectWildcatRay wrote:What would we need to look for to see if we are being affected by a scriplet injection?
-
- Posts: 1504
- Joined: October 1st, 2014, 3:25 pm
Re: [Ext] uBlock Origin
Installed, thanks!gorhill wrote:There is a new Advanced settings page in the latest dev build. It contains a setting to turn off scriptlet injection: "ignoreScriptInjectFilters" (default to "false").
1) Is the "suspendTabsUntilReady" setting related to https://github.com/gorhill/uBlock/issues/1327?
2) In the event of a severe mistake, how to quickly fill the "advanced settings" textbox with all the defaults? (Not actually reset the settings, just change the textbox to the default value.)
@WildcatRay: If you're not testing NoScript surrogates or the like, you're better off leaving this be. The scriptlets are there to un-break sites.WildcatRay wrote:What would we need to look for to see if we are being affected by a scriplet injection?
So, to answer your question - if a known-problematic site works fine for you with uBlock Origin, this could be the reason.
-
- Posts: 163
- Joined: February 10th, 2015, 8:00 am
Re: [Ext] uBlock Origin
That's right, sorry about this, I had forgotten that an issue was already opened for this. I will make the necessary changes in the release notes.barbaz wrote:1) Is the "suspendTabsUntilReady" setting related to https://github.com/gorhill/uBlock/issues/1327?
Just delete all the content of the text box, than click Apply changes. You could also remove one specific line to force uBO to restore that one entry with its default value.barbaz wrote:2) In the event of a severe mistake, how to quickly fill the "advanced settings" textbox with all the defaults? (Not actually reset the settings, just change the textbox to the default value.)