Hide ad at top

Hide the damn ad at the top of slashdot that gets in the way of articles

目前为 2017-02-02 提交的版本。查看 最新版本

  1. // ==UserScript==
  2. // @name Hide ad at top
  3. // @namespace shutupslashdot
  4. // @description Hide the damn ad at the top of slashdot that gets in the way of articles
  5. // @include https://slashdot.org/
  6. // @version 1
  7. // @grant none
  8. // ==/UserScript==
  9.  
  10. var fuckoff = document.getElementsByClassName("adwrap");
  11. var l = fuckoff.length;
  12. for(var i = 0; i < l; i++)
  13. {
  14. var fuck = fuckoff[i];
  15. fuck.hidden = true;
  16. fuck.display = "none";
  17. fuck.height=0;
  18. fuck.width = 0;
  19. }