@cruxxx You can use the "Node.js" module in BAS to do this.
You can use Playwright or Puppeteer.
Personally, I often use Playwright to control external anti-detect browsers.
You can use the keywords I just provided and use AI to help you.
@query said in How to block Pop-Up Ads with BAS:
Is there any way to block Pop-up/Redirect ads in BAS, I'm trying to perform actions on a website but keep getting redirect to ads because the website have a onclick() popup ad.
Thanks
This might work, if not, you will need to remove the JS code on the webpage.

If the JS Code needs to be removed, you can do this by the 'Execute On Every Page Load In Browser' Action in the browser category.