// ==UserScript== // @name First Userscript // @namespace nikyreynolds.com // @version 0.1 // @description read through wikipedia without all the distraction // @author Niky // @match https://en.wikipedia.org/* // @grant none // @require http://code.jquery.com/jquery-latest.js // ==/UserScript== (function() { 'use strict'; // Your code here... var j = jQuery.noConflict(); setInterval (OnOff, 2000); function OnOff() { j('#mw-head, #mw-head-base, #mw-page-base').fadeOut(1000); j('#p-logo').fadeOut(2000); j('table').fadeOut(2200); j('li').fadeOut(2500); j('#toc, .thumbcaption, .thumbinner').fadeOut(3000); j('b').fadeOut(4000); j('h3').fadeOut(4100); j('h2').fadeOut(4200); j('h1').fadeOut(4300); j('a').fadeOut(4500); j('.ul, .portal').fadeOut(5000); } })();