Implementing inline styles with ABP
Hi people!
I want to raise again the issue of implementing inline styles with ABP. It was already discussed six years ago (https://issues.adblockplus.org/ticket/756), but no decision has yet been taken.
This functionality has long been implemented in such extensions as AdGuard and uBlock Origin, and the practice of its use has only positive assessments.
I’ll give a few examples when using styles is the only way to correctly block ads on sites.
A simple case.
Terms: EasyList, RU AdList
http://seasonvar.ru/
https://i.imgur.com/DvzoMBF.jpg
To solve it is required to apply:
body {padding-top: 0 ! important;}
The case is a little more complicated.
Terms: EasyList, RU AdList, EasyList Cookie
https://www.bosch-home.ru/
https://i.imgur.com/eVpaUkZr.jpg
https://i.imgur.com/1sLxLnt.jpg
To solve it is required to apply:
body.cookielaw-blur-background > * {filter: none !important;}
html > head ~ body {overflow-y: auto !important;}
Also classic rule: bosch-home.ru##.cookielaw-modal-layer
In fact, there are many such cases. Sometimes decisions for them are of an aesthetic nature, but much more often without them it is simply impossible to apply the usual, “classical” rules. At present, the AdGuard Russian filter contains about 900 rules for editing styles, and the RU AdList CSS Fixes (https://userstyles.org/styles/101141/ru-adlist-css-fixes) - contains more than 2000.
I really hope that the implementation of inline styles using ABP will be resolved in the near future. This is really important and necessary functionality, the absence of which is very critical.