Supporting CSS injection rules
Posted: Tue Jul 12, 2016 8:49 pm
There have been a several feature requests regarding CSS injection, for example,
forum/viewtopic.php?p=102421#p102421
forum/viewtopic.php?p=102421#p102421
I understand that this can cause security vulnerabilities, but I just want to add my voice that such a feature will be very useful.
I've been constantly encountering situations that if I hide an element completely, the website layout breaks, and the only way to fix it is to set its height to 0px. Also there are many Russian websites which includes ad image as a background of an element and I think this is why Adguard supported such rules.
Recently ublock origin added support for such functions - https://github.com/gorhill/uBlock/releases, yet their syntax doesn't looking good IMO.
Adguard's syntax "#$#" looks like the most natural extension of standard ABP rules, and also it saves more space
In fact, uBO does support this syntax too, not sure why they added their own syntax :style 
forum/viewtopic.php?p=102421#p102421
forum/viewtopic.php?p=102421#p102421
I understand that this can cause security vulnerabilities, but I just want to add my voice that such a feature will be very useful.
I've been constantly encountering situations that if I hide an element completely, the website layout breaks, and the only way to fix it is to set its height to 0px. Also there are many Russian websites which includes ad image as a background of an element and I think this is why Adguard supported such rules.
Recently ublock origin added support for such functions - https://github.com/gorhill/uBlock/releases, yet their syntax doesn't looking good IMO.
Adguard's syntax "#$#" looks like the most natural extension of standard ABP rules, and also it saves more space

