add another domain

This commit is contained in:
Gianni Carafa
2023-11-05 22:32:13 +01:00
parent 7b519c7016
commit a6ee6aebfc
2 changed files with 43 additions and 7 deletions

View File

@@ -10,8 +10,12 @@
console.log("test");
alert("Hello!");
</script>
- position: h1
replace: |
<h1>An example with a ladder ;-)</h1>
- domain: www.americanbanker.com
path: /news
paths:
- /news
injections:
- position: head
append: |
@@ -24,4 +28,28 @@
for (const elem of inlineGated) { elem.classList.remove('inline-gated'); }
}
});
</script>
- domain: www.nzz.ch
paths:
- /international
- /sport
- /wirtschaft
- /technologie
- /feuilleton
- /zuerich
- /wissenschaft
- /gesellschaft
- /panorama
- /mobilitaet
- /reisen
- /meinung
- /finanze
injections:
- position: head
append: |
<script>
document.addEventListener("DOMContentLoaded", () => {
const paywall = document.querySelector('.dynamic-regwall');
removeDOMElement(paywall)
});
</script>