Advertisement
Guest User

Untitled

a guest
Dec 8th, 2020
341
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name         fuck derstandard.at
  3. // @namespace    http://tampermonkey.net/
  4. // @version      0.1
  5. // @description  try to take over the world!
  6. // @author       You
  7. // @match        https://www.derstandard.at/*
  8. // @grant        none
  9. // ==/UserScript==
  10.  
  11. (function() {
  12.     'use strict';
  13.  
  14.      const magic = ()=>{
  15.         document.querySelectorAll(`.widget pur-widget, .site-footer, .supporter-widget-styling-strong, ad-container, .native-ad, .story-tool,[data-type="supplemental"], #piano-supporter-inline-container, .story-recommended, footer, #forumdisclaimer, [style="text-align: center; line-height: 1em; font-size: 0.7em; opacity: 0.1;"]`)
  16.             .forEach(x=>x.remove());
  17.          setTimeout(magic, 1000);
  18.      };
  19.  
  20.     magic();
  21.  
  22. })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement