-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Disallow new window/tab #600
Comments
You can try implementing ILifeSpanHandler and reload pending url into current browser instance
|
Thanks! @dviz |
The |
Hi Alex, public virtual bool OnBeforePopup(IWebBrowser browser, string url, ref int x, ref int y, ref int width, ref int height)
this solution is not working in version 57 |
New one that works with the current stable nuget release 57
|
Hi, I was looking anywhere and tried anything I can but I cant seem to disable or disallow creating new window (or tab).
Like when I click the middle mouse button, or shift+Enter on forms, etc..
I like to disallow that, because my app should only have one IWebBrowser view.
CefSharp is great! I'm loving it ^_^
The text was updated successfully, but these errors were encountered: