This patch adds multiple CSS selectors to sIFR. This results in less sIFR rules added to HTML output and a slightly better browser performance. Currently, only one CSS selector can be defined per rule.
sIFR additionally can support identical rule names. They're not used elsewhere, so it's no big thing if two rules have the same name. I've been messed up after renaming one of my rules. [$r->name to $r->rid]
Additionally added sIFR 2.0.2 CSS adblock snippet.
This patch is tested with 4.7.3.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | sifr.multiple-selectors2.patch | 3.37 KB | sun |
| sifr.multiple-selectors.patch | 3.31 KB | sun |
Comments
Comment #1
sunJeff, is it possible to commit this one?
Comment #2
sunComitted to 4.7.x. Needs to be ported to 5.x.
Comment #3
sunalright, did it by myself.
Comment #4
(not verified) commented