Removedor Div Modal

Userscript para remoção de elemento

此脚本不应直接安装,它是一个供其他脚本使用的外部库。如果您需要使用该库,请在脚本元属性加入:// @require https://update.gf.qytechs.cn/scripts/492176/1359451/Removedor%20Div%20Modal.js

  1. //@version 1.1
  2.  
  3. function checkAndRemoveModal() {
  4. var modal = document.querySelector(".modal-backdrop.fade");
  5. if (modal) {
  6. modal.remove();
  7. }
  8. }
  9.  
  10. // Call the function initially to check for existing modal
  11. checkAndRemoveModal();
  12.  
  13. // Set an interval to check and remove the modal every 100 milliseconds (adjustable)
  14. setInterval(checkAndRemoveModal, 100);

QingJ © 2025

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