QupZilla / qupzilla

Cross-platform Qt web browser
http://www.qupzilla.com
GNU General Public License v3.0
1.12k stars 348 forks source link

Feature Request: Force links to always open in a new tab #2230

Open DMcCunney opened 7 years ago

DMcCunney commented 7 years ago

Under Firefox, I use the Tab Mix Plus extension, which gives fine grained tab control. One ability is to specify that various things, like bookmarks, history, and embedded links on pages always open in a new tab when clicked. I'd like to have that as a default in QupZilla without having to explicitly select Open in a New Tab for the right click menu, since I almost always want things to open in new tabs.

>Dennis

ghost commented 7 years ago

It's default behaviour here as well –with just middle click!

And if you middle click (not the link) but the "Open link in new tab" in the contextual (right click) menu then it opens in in the fore- or back-ground tab depending on your preference in Preferences>Tabs>Tabs behaviour.

DMcCunney commented 7 years ago

@AcarBurak Unfortunately, that doesn't work here. I have a Logitech mouse, and have it programmed via the Logitech driver so middle-button does a double-click. That overrides QupZilla's default middle-button behavior. (I use the programmed behavior in too many places to turn it off for the benefit of QupZilla.)

Nice to know it's there and I simply missed it, however, so thanks for the info

>Dennis.

nowrep commented 7 years ago

You can use simple userscript that will rewrite all links on page to have target="_blank"