impl #23 add custom privacy selectors

This commit is contained in:
Yanzhen Yu
2019-04-02 00:25:08 +08:00
parent c7fc6900d4
commit c04e4bf0a5
7 changed files with 60 additions and 32 deletions

View File

@@ -1,5 +1,5 @@
const rules: string[] = [
'iframe, .rr-block { background: #ccc }',
const rules: (blockClass: string) => string[] = (blockClass: string) => [
`iframe, .${blockClass} { background: #ccc }`,
'noscript { display: none !important; }',
];