You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 16, 2020. It is now read-only.
Repository navigation
This repository was archived by the owner on Oct 16, 2020. It is now read-only.
Nano adblocker causes CPU spike under certain conditions #348
Nano Adblocker adds display: none!important as an inline style over and over on the html tag on any site where a filter of type example.com##* is applied.
Cannot reproduce CPU spike in uBo or Nano firefox.
Environment (Required)
Operating System and Version: Windows 10 1909
Browser and Version: Chrome 83.0.4103.116
Nano Adblocker Version: 1.0.0.149
Nano Defender Version (Optional if you are not using it):
Frankly I think it's probably best to just drop pseudo user styles and fall back on using insertCSS() without the cssOrigin parameter, it's not worth maintaining a not trivial code base which is meant for pre-Chromium 66. The only consequence is that whoever uses old versions of Chromium may not have their cosmetic filters being enforced.
Activity
jspenguin2017 commentedon Jul 3, 2020
Hum... Looks like a bug with the pseudo UserCSS engine.
@gorhill are you still maintaining the pseudo UserCSS engine?
gorhill commentedon Jul 3, 2020
Frankly I think it's probably best to just drop pseudo user styles and fall back on using
insertCSS()without thecssOriginparameter, it's not worth maintaining a not trivial code base which is meant for pre-Chromium 66. The only consequence is that whoever uses old versions of Chromium may not have their cosmetic filters being enforced.Fix infinitely appending style property
gorhill commentedon Jul 3, 2020
Trivially fixed with gorhill@a5ba668.
Though I will still drop support of the pseudo version in next release.
jspenguin2017 commentedon Jul 3, 2020
https://bugs.chromium.org/p/chromium/issues/detail?id=1101473
Deprecate pseudo user styles code