Skip to content

Instantly share code, notes, and snippets.

@michamilz
Last active August 29, 2021 18:59
Show Gist options
  • Save michamilz/6c9c115606c64a4136ee4581d964fa46 to your computer and use it in GitHub Desktop.
Save michamilz/6c9c115606c64a4136ee4581d964fa46 to your computer and use it in GitHub Desktop.
Userscript zum Lesen von SVZ+, Prignitzer+ und NNN+ Artikeln
// ==UserScript==
// @name SHZ+, SVZ+, NNN+, Prignitzer+
// @homepage https://gist.github.com/michamilz/6c9c115606c64a4136ee4581d964fa46
// @namespace http://tampermonkey.net/
// @version 0.6.42
// @description SHZ+, SVZ+, NNN+, Prignitzer+ Artikel ohne Registrierung lesen
// @author Micha Milz & Murdoc Bates & Mr. Ronald
// @match https://www.svz.de/*
// @match https://www.nnn.de/*
// @match https://www.prignitzer.de/*
// @match https://www.shz.de/*
// @grant none
// @run-at document-idle
// @updateURL https://github.com/michamilz/lokalplus/raw/master/lokalplus.user.js
// ==/UserScript==
// BITTE besuche das Repo unter https://github.com/michamilz/lokalplus
(function() {
'use strict';
if($("#premium-container").length > 0) {
content = $("<h2>~~~ Update verfügbar ~~~</h2><p>Du benutzt ein Skript, um die vollständigen Artikel auf dieser Seite ohne eine Anmeldung lesen zu können. Von diesem Skript gibt es <a href='https://github.com/michamilz/lokalplus'>eine neue Version</a>.</p><h2>~~~</h2>");
content.insertAfter('#article-wrapper .article > .center-content-mobile');
$("#premium-container").css('margin-top', '75px');
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment