New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to disable new windows button #1434
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there and way to prevent users from opening new windows and new tabs?
i'm using below code:
// Setting up browser options
allocOpts := append(
chromedp.DefaultExecAllocatorOptions[:],
chromedp.Flag("headless", false),
chromedp.Flag("enable-automation", false),
chromedp.Flag("hide-scrollbars", false),
chromedp.Flag("mute-audio", false),
chromedp.Flag("disable-infobars", true),
chromedp.Flag("window-size", "1280,800"),
)
how can i edit browser option to disable access to new tabs / windows / History / Downloads
thanks,
The text was updated successfully, but these errors were encountered: