Feature request - links open in a new tab
- leosmith
- Brown Belt
- Posts: 1042
- Joined: Thu Sep 29, 2016 10:06 pm
- Location: Seattle
- Languages: Native: English
Advanced: Spanish
Intermediate: French, Japanese, Korean, Mandarin, Portuguese, Russian, Swahili, Tagalog, Thai - Language Log: https://languagecrush.com/forum/t/2093
- x 2462
- Contact:
Feature request - links open in a new tab
This is not a deal breaker, but it would be nice to have.
3 x
https://languagecrush.com/reading - try our free multi-language reading tool
- rdearman
- Site Admin
- Posts: 6903
- Joined: Thu May 14, 2015 4:18 pm
- Location: United Kingdom
- Languages: English (N)
- Language Log: viewtopic.php?f=15&t=1836
- x 21615
- Contact:
Re: Feature request - links open in a new tab
leosmith wrote:This is not a deal breaker, but it would be nice to have.
This actually caused massive wars on the PhpBB developers website with miles of text. Basically, there are a lot of arguments both for and against. The primary one for is allows users to maintain their place on the forum. The main argument against is that it breaks the W3 standards and the user should be allowed to control if they open a new window (tab) and the user should decide if they want to click the link, or right-click the link and allow new windows to open. The other argument against is from a security point of view, but I got tired of reading it all.
The upshot of that discussion was that the developers decided they would strictly follow W3 standards and as of version 3.0 phpBB would no longer automatically open URL's in new windows.
There is an extension which will change the default rules on URL clicking, but it is reported as buggy and only works part of the time. So.... long story short, I'm afraid you're going to have to make a little extra effort and right-click (and/or middle mouse click on Windows) to open in a new window or tab.
7 x
: 17 Italian Paperbacks to Read: 4006 pages
: Read 125 books in 2023
My YouTube Channel
The Autodidactic Podcast
The Lollygagging Podcast
I post on this forum with mobile devices, so excuse short msgs and typos.
: Read 125 books in 2023
My YouTube Channel
The Autodidactic Podcast
The Lollygagging Podcast
I post on this forum with mobile devices, so excuse short msgs and typos.
- leosmith
- Brown Belt
- Posts: 1042
- Joined: Thu Sep 29, 2016 10:06 pm
- Location: Seattle
- Languages: Native: English
Advanced: Spanish
Intermediate: French, Japanese, Korean, Mandarin, Portuguese, Russian, Swahili, Tagalog, Thai - Language Log: https://languagecrush.com/forum/t/2093
- x 2462
- Contact:
Re: Feature request - links open in a new tab
Ah, ok. No worries.
1 x
https://languagecrush.com/reading - try our free multi-language reading tool
-
- Yellow Belt
- Posts: 72
- Joined: Mon Feb 07, 2022 11:45 am
- Languages: en (C1), fr (B2), es (C1), it (B1), pt_br(N)
- x 132
Re: Feature request - links open in a new tab
Ctrl+click or pressing down on your mouse wheel will open any link on a new tab.
3 x
- rdearman
- Site Admin
- Posts: 6903
- Joined: Thu May 14, 2015 4:18 pm
- Location: United Kingdom
- Languages: English (N)
- Language Log: viewtopic.php?f=15&t=1836
- x 21615
- Contact:
Re: Feature request - links open in a new tab
Odair wrote:Ctrl+click or pressing down on your mouse wheel will open any link on a new tab.
On Microsoft Windows and most web-browsers. (This is why I'm careful to caveat advice to people, since I don't know their operating system or web-browser. For all I know, Leosmith could be using Lynx inside a Linux terminal window, or using Emacs on a Mac.)

3 x
: 17 Italian Paperbacks to Read: 4006 pages
: Read 125 books in 2023
My YouTube Channel
The Autodidactic Podcast
The Lollygagging Podcast
I post on this forum with mobile devices, so excuse short msgs and typos.
: Read 125 books in 2023
My YouTube Channel
The Autodidactic Podcast
The Lollygagging Podcast
I post on this forum with mobile devices, so excuse short msgs and typos.
- leosmith
- Brown Belt
- Posts: 1042
- Joined: Thu Sep 29, 2016 10:06 pm
- Location: Seattle
- Languages: Native: English
Advanced: Spanish
Intermediate: French, Japanese, Korean, Mandarin, Portuguese, Russian, Swahili, Tagalog, Thai - Language Log: https://languagecrush.com/forum/t/2093
- x 2462
- Contact:
Re: Feature request - links open in a new tab
I've always just rt clicked.rdearman wrote:Odair wrote:Ctrl+click or pressing down on your mouse wheel will open any link on a new tab.
On Microsoft Windows and most web-browsers. (This is why I'm careful to caveat advice to people, since I don't know their operating system or web-browser. For all I know, Leosmith could be using Lynx inside a Linux terminal window, or using Emacs on a Mac.)
0 x
https://languagecrush.com/reading - try our free multi-language reading tool
-
- Green Belt
- Posts: 375
- Joined: Sun Dec 20, 2015 9:59 pm
- Location: Sweden
- Languages: -
- x 905
- Contact:
Re: Feature request - links open in a new tab
There's probably a setting or generic browser plugin for this but you could use a Tampermonkey script.
I threw this together which allows you to whitelist keywords in URLs such as "#top" to avoid those being opened in a new tab.
When a page on this domain is loaded, it iterates through all the links and adds target="_blank" to them which results in them opening in a new tab/window. It's a new tab for me but I believe it used to be window way back. You would need to have Tampermonkey or Greasemonkey installed as a browser plugin. Maybe not the most efficient way to solve it.
I threw this together which allows you to whitelist keywords in URLs such as "#top" to avoid those being opened in a new tab.
Code: Select all
// ==UserScript==
// @name Open links in a new tab
// @namespace https://forum.language-learners.org
// @version 0.1
// @match https://forum.language-learners.org/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=language-learners.org
// @grant none
// ==/UserScript==
(function() {
'use strict';
const whitelist = [
"posting.php",
"#top",
];
for (const link of document.querySelectorAll("a")) {
if (!whitelist.some(term => link.href.includes(term))) {
link.target = "_blank";
}
}
})();
When a page on this domain is loaded, it iterates through all the links and adds target="_blank" to them which results in them opening in a new tab/window. It's a new tab for me but I believe it used to be window way back. You would need to have Tampermonkey or Greasemonkey installed as a browser plugin. Maybe not the most efficient way to solve it.
2 x
Return to “Technical Support and Feature Requests”
Who is online
Users browsing this forum: No registered users and 1 guest