Skip to content

Instantly share code, notes, and snippets.

@noinfo
noinfo / hna_clickbait_killer.user.js
Last active January 26, 2019 13:46
Greasemonkey / Userscript um die Clickbaitigen "Welt" News von hna.de zu löschen. A Greasemonkey / userscript to delete clickbaity syndicated news from hna.de.
// ==UserScript==
// @name hna.de clickbait killer
// @version 9
// @author Fabian Meyer
// @grant none
// @match https://www.hna.de/*
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js
// ==/UserScript==
// Wer möchte kann weitere Inhalte blocken indem die Zeilen die mit jQuery beginnen unterhalb der Themen (sport, tv & kino, netzwelt) einkommentiert werden
console.log(`Deleting clickbait crap (everything from ressort "Welt") from hna.de...`);
function applycss(css){
var head = document.getElementsByTagName('head')[0];
var s = document.createElement('style');
s.setAttribute('type', 'text/css');
s.appendChild(document.createTextNode(css));
head.appendChild(s);
}
applycss(`
body { background: #002b36; color: #839496; }
function applycss(css){
var head = document.getElementsByTagName('head')[0];
var s = document.createElement('style');
s.setAttribute('type', 'text/css');
s.appendChild(document.createTextNode(css));
head.appendChild(s);
}
applycss(`
body
@noinfo
noinfo / rambox_whatsapp_darkmode.js
Created February 18, 2019 10:26
rambox_whatsapp_darkmode.js
function applycss(css){
var head = document.getElementsByTagName('head')[0];
var s = document.createElement('style');
s.setAttribute('type', 'text/css');
s.appendChild(document.createTextNode(css));
head.appendChild(s);
}
applycss(`
header.pane-header
@noinfo
noinfo / free_online_games_and_resources.md
Created March 23, 2020 09:48
Free online games and resources
@noinfo
noinfo / lpone-deeplinking-test.html
Created October 12, 2020 13:35
LP One Deep Linking Test
<html>
<head>
<title>LP One Deep Linking Test</title>
</head>
<body>
<h1>LP One Deep Linking Test</h1>
<ul>
<li><a href="lpone://">lpone - no deep link</a></li>
<li><a href="lpone://shifts">shifts</a></li>
<li><a href="lpone://routeknowledge">routeknowledge</a></li>