allow domain list in rules

This commit is contained in:
Gianni Carafa
2023-11-08 23:36:06 +01:00
parent 73b13914fe
commit 5442da81b9
3 changed files with 36 additions and 9 deletions

View File

@@ -1,4 +1,6 @@
- domain: www.example.com
domains:
- www.beispiel.com
regexRules:
- match: <script\s+([^>]*\s+)?src="(/)([^"]*)"
replace: <script $1 script="/https://www.example.com/$3"
@@ -53,7 +55,16 @@
removeDOMElement(paywall)
});
</script>
- domain: www.architecturaldigest.com|www.bonappetit.com|www.cntraveler.com|www.epicurious.com|www.gq.com|www.newyorker.com|www.vanityfair.com|www.vogue.com|www.wired.com
- domains:
- www.architecturaldigest.com
- www.bonappetit.com
- www.cntraveler.com
- www.epicurious.com
- www.gq.com
- www.newyorker.com
- www.vanityfair.com
- www.vogue.com
- www.wired.com
injections:
- position: head
append: |
@@ -63,7 +74,9 @@
banners.forEach(el => { el.remove(); });
});
</script>
- domain: www.nytimes.com|www.time.com
- domains:
- www.nytimes.com
- www.time.com
injections:
- position: head
append: |
@@ -74,7 +87,14 @@
banners.forEach(el => { el.remove(); });
});
</script>
- domain: www.thestar.com|www.niagarafallsreview.ca|www.stcatharinesstandard.ca|www.thepeterboroughexaminer.com|www.therecord.com|www.thespec.com|www.wellandtribune.ca
- domains:
- www.thestar.com
- www.niagarafallsreview.ca
- www.stcatharinesstandard.ca
- www.thepeterboroughexaminer.com
- www.therecord.com
- www.thespec.com
- www.wellandtribune.ca
injections:
- position: head
append: |