add americanbanker Rule
This commit is contained in:
18
ruleset.yaml
18
ruleset.yaml
@@ -11,13 +11,17 @@
|
||||
alert("Hello!");
|
||||
</script>
|
||||
- domain: www.americanbanker.com
|
||||
googleCache: false
|
||||
path: /news
|
||||
injections:
|
||||
- position: head
|
||||
append: |
|
||||
const inlineGate = document.querySelector('.inline-gate');
|
||||
if (inlineGate) {
|
||||
inlineGate.classList.remove('inline-gate');
|
||||
const inlineGated = document.querySelectorAll('.inline-gated');
|
||||
for (const elem of inlineGated) { elem.classList.remove('inline-gated'); }
|
||||
}
|
||||
<script>
|
||||
document.addEventListener("DOMContentLoaded", () => {
|
||||
const inlineGate = document.querySelector('.inline-gate');
|
||||
if (inlineGate) {
|
||||
inlineGate.classList.remove('inline-gate');
|
||||
const inlineGated = document.querySelectorAll('.inline-gated');
|
||||
for (const elem of inlineGated) { elem.classList.remove('inline-gated'); }
|
||||
}
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user