ulixee / hero

The web browser built for scraping
MIT License
647 stars 32 forks source link

Change website permissions #273

Open NN-Binary opened 3 weeks ago

NN-Binary commented 3 weeks ago

I would like to change permissions (for example allow popups) for a specific website (or all websites), example.org.

blakebyrnes commented 2 weeks ago

I think you need to use a plugin right now and then Browser.setPermission (https://chromedevtools.github.io/devtools-protocol/tot/Browser/#method-setPermission). If you do this, please share the code. Probably should be an integrated api or at least public plugin that people can use if they need this.