Structure update

This commit is contained in:
tobimori 2020-03-12 14:38:15 +01:00
parent d5229d8da2
commit 7f36f72776
7 changed files with 7 additions and 6 deletions

View File

@ -2,7 +2,8 @@ const d = document;
const observer = new MutationObserver(function (mutations, me) {
if (d.getElementsByClassName('article__header__headline ispayedcontent')) {
[...d.getElementsByTagName("script")].map(n => n.remove());
[...d.getElementsByTagName("script")].map(n =>
console.log(n) + n.remove());
[...d.getElementsByClassName("paging__wrapper")].map(n => n.remove());
[...d.getElementsByClassName("pager pager__bottom")].map(n => n.remove());
}

0
main.js Normal file
View File

View File

@ -32,7 +32,7 @@
"*://*.ostsee-zeitung.de/*",
"*://*.paz-online.de/*",
"*://*.sn-online.de/*"],
"js": ["js/madsack.js"],
"js": ["components/madsack.js"],
"run_at": "document_end"
}, {
"matches": [
@ -40,7 +40,7 @@
"*://*.rundschau-online.de/*",
"*://*.mz-web.de/*"
],
"js": ["js/dumont.js"],
"js": ["components/dumont.js"],
"run_at": "document_idle"
}, {
"matches": [
@ -53,13 +53,13 @@
"*://*.otz.de/*",
"*://*.morgenpost.de/*"
],
"js": ["js/funke.js"],
"js": ["components/funke.js"],
"run_at": "document_start"
}, {
"matches": [
"*://*.saarbruecker-zeitung.de/*"
],
"js": ["js/saarbruecker-zeitung.js"],
"js": ["components/saarbruecker-zeitung.js"],
"run_at": "document_idle"
}, {
"matches": [
@ -79,7 +79,7 @@
"*://*.usinger-anzeiger.de/*",
"*://*.wormser-zeitung.de/*"
],
"js": ["js/laterpay-vrm.js"],
"js": ["components/laterpay-vrm.js"],
"run_at": "document_start"
}
]