Added NahverkehrHAMBURG

This commit is contained in:
tobimori 2020-03-13 17:16:20 +01:00
parent 26372032c4
commit 06eede6db8
4 changed files with 22 additions and 30 deletions

View File

@ -49,5 +49,6 @@ This extension is provided for educational purposes only. I strongly encourage y
* [Usinger Anzeiger](https://www.usinger-anzeiger.de/)
* [Wormser Zeitung](https://www.wormser-zeitung.de/)
* [Saarbrücker Zeitung](https://www.saarbruecker-zeitung.de/)
* [NahverkehrHAMBURG](https://www.nahverkehrhamburg.de/)
Feel free to add support for new sites :)
Feel free to add support for new sites. :)

View File

@ -0,0 +1 @@
[...document.getElementsByClassName("cleanslate")].map(n => n.remove());

View File

@ -3,7 +3,7 @@
"manifest_version": 2,
"name": "Unpaywall",
"version": "1.0",
"version": "1.1",
"author": "tobimori",
"description": "Read articles locked behind paywalls of over 40 german newspapers.",
@ -16,17 +16,6 @@
"128": "icons/icon-128.png"
},
"browser_action": {
"default_popup": "popout/popout.html",
"default_icon": {
"32": "icons/icon-32.png",
"48": "icons/icon-48.png",
"64": "icons/icon-64.png",
"96": "icons/icon-96.png",
"128": "icons/icon-128.png"
}
},
"content_scripts": [
{
"matches": [
@ -94,10 +83,10 @@
"run_at": "document_start"
}, {
"matches": [
"*://*.faz.net/*"
"*://*.nahverkehrhamburg.de/*"
],
"js": ["components/faz.js"],
"run_at": "document_end"
"js": ["components/nahverkehrhamburg.js"],
"run_at": "document_idle"
}
]

View File

@ -2,6 +2,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Unpaywall</title>
<meta charset="utf-8">
<link href="popout.css" rel="stylesheet" type="text/css">
</head>