cnBeta: Disable bottom tips

Disable bottom tips.

  1. // ==UserScript==
  2. // @name cnBeta: Disable bottom tips
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description Disable bottom tips.
  6. // @author Al Cheung @cangzhang
  7. // @run-at document-end
  8. // @match *://*.cnbeta.com/*
  9. // @grant none
  10. // ==/UserScript==
  11.  
  12. (function() {
  13. 'use strict';
  14.  
  15. new MutationObserver(function(mutations) {
  16. removeAds();
  17. }).observe(document, {childList: true, subtree: true});
  18.  
  19. function removeAds() {
  20. $('body').children().filter(function() {
  21. var shouldHide = $(this).css('z-index') > 10;
  22. if (shouldHide) {
  23. $(this).remove();
  24. }
  25. });}
  26. })();

QingJ © 2025

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