Removedor Div Modal

Userscript para remoção de elemento

目前為 2024-04-10 提交的版本,檢視 最新版本

此腳本不應該直接安裝,它是一個供其他腳本使用的函式庫。欲使用本函式庫,請在腳本 metadata 寫上: // @require https://update.gf.qytechs.cn/scripts/492176/1358057/Removedor%20Div%20Modal.js

  1. //@version 1.0
  2.  
  3. function checkAndRemoveModal() {
  4. const 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或关注我们的公众号极客氢云获取最新地址