Greasy Fork is available in English.

Removedor Div Modal

Userscript para remoção de elemento

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

//@version 1.1

function checkAndRemoveModal() {
  var modal = document.querySelector(".modal-backdrop.fade");
  if (modal) {
    modal.remove();
  }
}

// Call the function initially to check for existing modal
checkAndRemoveModal();

// Set an interval to check and remove the modal every 100 milliseconds (adjustable)
setInterval(checkAndRemoveModal, 100);