dstu

remove baidu ads

  1. // ==UserScript==
  2. // @name dstu
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.0
  5. // @description remove baidu ads
  6. // @author babybing666
  7. // @match https://d.stulip.org
  8. // @grant none
  9. // ==/UserScript==
  10. var timeout = 1000;
  11. (function() {
  12. 'use strict';
  13. var currentURL = window.location.href;
  14. var dstu = /dstu/;
  15. var stulip = /stulip/;
  16. if (stulip.test(currentURL)){
  17. setTimeout(function () {
  18. document.getElementById("cate").remove();
  19. document.getElementById("coolsite").remove();
  20. document.getElementById("keywords").remove();
  21. document.getElementById("banner").remove();
  22. document.querySelector('#notice').remove();
  23. console.log("removed");
  24. }, timeout);
  25. }
  26. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址