-
Notifications
You must be signed in to change notification settings - Fork 100
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
Feature request: prevent open-in-new-window #544
Comments
Hello Sean,
can you please elaborate further?
(just by the Subject: is not clear what the problem is)
Thank you!
|
Hi @iamleot as I understand @serussell want to prevent vimb brom opening a new related instance in case a link is clicked which contains something that enforces to open a new window/tab ( I thought that this would be easy, but as I can see we do not have the information about a possible new window request in |
surf browser manage ok mouse click in |
@athrungithub Links with |
@fanglingsu, following the Firefox setting (if we're making up names, having them be similar to other popular implementations seems logical) how about I don't know how hard it would be to still allow user initiated new windows to pass through; it'd be great if Thanks for looking into this. |
Added setting 'prevent-newwindow' to enforce opening links into same window even if they are crafted by `target="_blank"` or using `window.open()`. This option does not change the behaviour for links fired by hinting.
@serussell The |
@fanglingsu Get out! Really? Holy crap, that's amazing! I'll give it a shot tomorrow. Thanks! |
Sorry for the delay, but confirmed working as expected. Awesome work; thanks! |
(sorry; pressed
<Enter>
in the title -- in vimb -- and it submitted the ticket prematurely)I'd like an option that could be enabled to force links to open in the same window. On Mozilla, this is the "expert" option
browser.link.open_newwindow.restriction
. This option would force links (including those triggered by Javascript) to be opened in the same window, rather than opening a new one. Some sites are really bad about opening every link in a new tab (Qwant is one, and a lot of Google areas like account administration overuse this too), and it'd be helpful to be able to disable it. Also, for those of us who are running in privacy mode, where every window is fresh, it'd prevent us from having to log in for every new window that's popped up when we're browsing around in-account.I don't know if Webkit supports this, but if it does, it'd be great if it could be exposed through the vimb configuration options.
The text was updated successfully, but these errors were encountered: