Advertisement
Guest User

MVHider

a guest
Jun 10th, 2018
421
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name         MVHider
  3. // @namespace    MVHider
  4. // @include      *
  5. // @author       HeXaN
  6. // @description  This userscript is meant to hide some assholes.
  7. // ==/UserScript==
  8.  
  9. function addJQuery(callback) {
  10.   var script = document.createElement("script");
  11.   script.setAttribute("src", "//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js");
  12.   script.addEventListener('load', function() {
  13.     var script = document.createElement("script");
  14.     script.textContent = "window.jQ=jQuery.noConflict(true);(" + callback.toString() + ")();";
  15.     document.body.appendChild(script);
  16.   }, false);
  17.   document.body.appendChild(script);
  18. }
  19.  
  20. function main() {
  21.   $('div[data-autor="LadyTenTen"]').toggle();
  22. }
  23.  
  24. addJQuery(main);
Advertisement
RAW Paste Data Copied
Advertisement