This repository has been archived by the owner on Oct 16, 2020. It is now read-only.
forked from gorhill/uBlock
-
Notifications
You must be signed in to change notification settings - Fork 22
Nano adblocker causes CPU spike under certain conditions #348
Labels
Comments
Hum... Looks like a bug with the pseudo UserCSS engine. @gorhill are you still maintaining the pseudo UserCSS engine? |
Frankly I think it's probably best to just drop pseudo user styles and fall back on using |
gorhill
added a commit
to gorhill/uBlock
that referenced
this issue
Jul 3, 2020
Related issue: - NanoAdblocker#348
Trivially fixed with gorhill@a5ba668. Though I will still drop support of the pseudo version in next release. |
gorhill
added a commit
to gorhill/uBlock
that referenced
this issue
Jul 22, 2020
The pseudo user styles code served only browsers based on Chromium 65 and earlier -- Chromium 66 supports native user styles and was first released more than two years ago. In Chromium-based browsers, the pseudo user styles code is being unconditionally injected in every page/frame just in case the browser is version 65 or earlier. Removing pseudo user styles reduce uBO's main content script in Chromium-based browsers by more than 20K. Related thread: - NanoAdblocker#348 (comment)
github-actions
bot
added
the
archived
This thread was archived, open new issues for similar problems.
label
Aug 21, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Describe the issue (Required)
Nano adblocker causes Chrome devtools to lag and eat CPU under certain conditions.
Screenshots (Required)
Screenshot of console (Required, press
F12
to open the console)It's empty
URLs where this issue occurs (Required if applicable)
http://example.com
Reproduction Steps (Optional if trivial)
example.com##*
to my filtershttp://example.com
Anything else you believe to be useful (Optional)
Nano Adblocker adds
display: none!important
as an inline style over and over on the html tag on any site where a filter of typeexample.com##*
is applied.Cannot reproduce CPU spike in uBo or Nano firefox.
Environment (Required)
Your filter lists (Required)
N/A
Your custom filters (Required if you have any)
N/A
Your other extensions (Required if you have any)
N/A
The text was updated successfully, but these errors were encountered: