您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Avoid everything Musk on derStandard.at
当前为
// ==UserScript== // @name StandardUnMusk // @namespace https://derstandard.at/ // @version 0.5 // @description Avoid everything Musk on derStandard.at // @author dersansard // @match *://*.derstandard.at/* // @match *://*.derstandard.de/* // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; var articles, art; var teasers = [ 'Keine Panik', 'Nicht aufregen', 'Intermission', 'Pause zur Mitte der Webseite', 'Wirklich!', 'Es ist nichts passiert' ]; var subtitles = [ 'Hier gibt es nichts zu lesen', 'Bitte scrollen Sie weiter', 'Genießen Sie diese Auszeit mit einem Welpenbild', 'Unterstützen Sie gute Welpenbilder', 'Es gibt keinen guten Feed für Traktorenbilder', 'Können diese Augen lügen?', '(apa) Foto: place-puppy.com, vermutlich nicht Cremer' ]; if (!(articles = document.getElementsByTagName('article'))) return; for (const art of articles) { if(art.innerText.match(/(Elon)? Musk[\.\s,]/) || art.innerHTML.match(/[\-\/]musks?[\-\'\"]/)) { var loopRand = Math.random(); art.innerHTML = '<div><figure><picture>' + '<img src=" https://place-puppy.com/270x151?' + loopRand + '" title="" alt="place-puppy.com"/>' + '</picture></figure>' + '<header>' + '<div class="teaser-postingcount">' + Math.floor(loopRand*9000) + ' <span>Postings</span></div>' + '<p class="teaser-kicker">Alles wird gut</p>' + '<h1 class="teaser-title">' + teasers[Math.floor(loopRand*teasers.length)] + '</h1>' + '<p class="teaser-subtitle">'+ subtitles[Math.floor(Math.random()*subtitles.length)] + '</p>' '</header></div>'; } } })();