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);