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
prevent the user from creating new tabs or closing them and how to create tab groups #834
Comments
and how to create tab groups? |
Please add a valid generated by check-issue |
cdp doesn't have api to pin tabs or create tab groups |
you can listen some Events to prevent user create new tab go browser.EachEvents(
// listen targetCreated Events
func () {
// 1.get current pages num
// 2.if num > maxPageNum then close the new target
},
) |
@ysmood https://stackoverflow.com/a/60174894 can this be replicated in GoLang? |
#830 (comment) You can override variables like this with Rod, I am forcing the page to be visible in this comment. Maybe something similar can be done on forcing window's open tab behavior |
hi, can I prevent the user from creating new tabs or closing them, if not, how can I pin tabs?
The text was updated successfully, but these errors were encountered: