Greasy Fork is available in English.
Stop losing your IQ by reading Musk News on derStandard.at
当前为
// ==UserScript==
// @name StandardUnMusk
// @namespace https://derstandard.at/
// @version 0.4.3
// @description Stop losing your IQ by reading Musk News on derStandard.at
// @author dersansard
// @match *://*.derstandard.at/*
// @grant none
// @license MIT
// ==/UserScript==
(function() {
'use strict';
var articles, art;
articles = document.getElementsByTagName('article');
if (!articles) { return; }
for (const art of articles) {
if(art.innerText.match(/elon musk/i) || art.innerHTML.match(/[\-\/]musks?\-/)) {
console.log(art.innerText);
art.innerHTML =
'<div><figure><picture>' +
'<img src=" https://place-puppy.com/270x151?'+Math.random()+'" title="" alt="Lorem Picsum"/>' +
'</picture></figure>' +
'<header>' +
'<div class="teaser-postingcount">>9000<span>Postings</span></div>' +
'<p class="teaser-kicker">Alles wird gut</p>' +
'<h1 class="teaser-title">Keine Panik</h1>' +
'<p class="teaser-subtitle">Lesen Sie weiter, hier gibt es nichts zu sehen.</p>'
'</header></div>';
}
}
})();