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

@ -1,6 +1,6 @@
# unpaywall [![Mozilla Add-on](https://img.shields.io/amo/v/unpaywall-germany?style=flat-square&logo=mozilla-firefox)](https://addons.mozilla.org/firefox/addon/unpaywall-germany/?src=external-github-shield-downloads)
Read articles locked behind paywalls of over 40 german local newspapers.
Read articles locked behind paywalls of over 40 german local newspapers.
This extension is provided for educational purposes only. I strongly encourage you to subscribe to your favourite newspaper and support local journalism.
@ -34,20 +34,21 @@ This extension is provided for educational purposes only. I strongly encourage y
* [Peiner Allgemeine](https://www.paz-online.de/)
* [Schaumburger Nachrichten](https://www.sn-online.de/)
* [Allgemeine Zeitung](https://www.allgemeine-zeitung.de/)
* [Burgstädter Zeitung](https://www.buerstaedter-zeitung.de/)
* [Echo Online](https://www.echo-online.de/)
* [Mittelhessen.de](https://www.mittelhessen.de/)
* [Giessener Anzeiger](https://www.giessener-anzeiger.de/)
* [Hochheimer Zeitung](https://www.hochheimer-zeitung.de/)
* [Hofheimer Zeitung](https://www.hofheimer-zeitung.de/)
* [Wiesbadener Kurier](https://www.wiesbadener-kurier.de/)
* [Kreis-Anzeiger](https://www.kreis-anzeiger.de/)
* [Lampertheimer Zeitung](https://www.lampertheimer-zeitung.de/)
* [Lauterbacher Anzeiger](https://www.lauterbacher-anzeiger.de/)
* [Main-Spitze](https://www.main-spitze.de/)
* [Oberhessische Zeitung](https://www.oberhessische-zeitung.de/)
* [Usinger Anzeiger](https://www.usinger-anzeiger.de/)
* [Burgstädter Zeitung](https://www.buerstaedter-zeitung.de/)
* [Echo Online](https://www.echo-online.de/)
* [Mittelhessen.de](https://www.mittelhessen.de/)
* [Giessener Anzeiger](https://www.giessener-anzeiger.de/)
* [Hochheimer Zeitung](https://www.hochheimer-zeitung.de/)
* [Hofheimer Zeitung](https://www.hofheimer-zeitung.de/)
* [Wiesbadener Kurier](https://www.wiesbadener-kurier.de/)
* [Kreis-Anzeiger](https://www.kreis-anzeiger.de/)
* [Lampertheimer Zeitung](https://www.lampertheimer-zeitung.de/)
* [Lauterbacher Anzeiger](https://www.lauterbacher-anzeiger.de/)
* [Main-Spitze](https://www.main-spitze.de/)
* [Oberhessische Zeitung](https://www.oberhessische-zeitung.de/)
* [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.",
@ -15,17 +15,6 @@
"96": "icons/icon-96.png",
"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": [
{
@ -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>