Block "modal boxes" on website

  • How can I block annoying modal boxes on a website? They are appearing after a random time after entering the registration page and there are also different types of them (e.g. "Do you want to receive Push Notifications", "Complete your profile", ....). It's quite annoying and completely disturbs BAS while working on the site. E.g. the bot is currently entering the email on the registration page, the modal pop up appears and overlays/blocks the complete webpage. So BAS can't type the email address to finish. This shit happens on differents pages and with different modal-/pop up boxes.

    So I need to block those boxes beforehand completely that they can't even appear. Otherwise I have to make a check if one of those boxes is open and manually close them after typing in one of the textfields and also re-type the text if it was interrupted before.

    Thanks for your help.

  • @morpheus93 said in Block "modal boxes" on website:


    U have to know what request loades this modal box. And u can ban this url or part of it in BAS.

  • @olegtut Thank you for your help. I already tried this, but unfortunately the function that opens the modal popup is in one of the main js-files. If I block the complete js file the site stops working.

    Do you know if it is possible to just block or overwrite that specific js function only? So the site keeps working and the popup is blocked...

Log in to reply