PM 28.20 Still cannot open external links in same page/tab

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
AndTheWolf
Apollo supporter
Apollo supporter
Posts: 42
Joined: 2012-05-30, 01:19
Location: USA

PM 28.20 Still cannot open external links in same page/tab

Unread post by AndTheWolf » 2018-11-14, 01:58

Starting with PM 28.0 I have been unable to open external links in the same page/tab. I hoped this would be fixed in 28.20, but it was not. Moonchild, will this be fixed in a future release?

New Tobin Paradigm

Re: PM 28.20 Still cannot open external links in same page/tab

Unread post by New Tobin Paradigm » 2018-11-14, 02:37

Did you check your extensions? Why not provide useful troubleshooting info? Why have you waited three months (more like six if you count the unstables) to report this?

Also, there is no such version as "28.20" There is a version 28.2.0, however.
Last edited by New Tobin Paradigm on 2018-11-14, 02:37, edited 2 times in total.

User avatar
satrow
Forum staff
Forum staff
Posts: 1885
Joined: 2011-09-08, 11:27

Re: PM 28.20 Still cannot open external links in same page/tab

Unread post by satrow » 2018-11-14, 09:36

What do you have on your right-click menu?
RtClickImageLinkMenuPM28.2.0.jpg
You do not have the required permissions to view the files attached to this post.

thosrtanner
Lunatic
Lunatic
Posts: 395
Joined: 2014-05-10, 18:19
Location: UK

Re: PM 28.20 Still cannot open external links in same page/tab

Unread post by thosrtanner » 2018-11-14, 11:28

Mine says 'open link here' for reasons i'm not entirely sure about

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35648
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: PM 28.20 Still cannot open external links in same page/tab

Unread post by Moonchild » 2018-11-14, 13:17

I'm sorry but this is by design and will not be changed. External links will always be opened in a new tab or new window, depending on the CLI parameters provided.
The reason is that the browser's structural design simply doesn't allow for a new launch to specify exactly what the target document should be. To implement this would either mean adding an ugly hack or completely rewriting how the browser's launch internals work, neither of which are desirable.

Also, I don't understand why you created a new and duplicate topic while being aware of the original since you have started it and posted there. Please don't.
Like I had to point out to someone on Github today also: unless an issue has been worked on and has been resolved, it will remain present -- these things do not "magically disappear". If it's not in the release notes and isn't something trivial or internal only, you should not expect behavior to have been changed.
Last edited by Moonchild on 2018-11-14, 13:20, edited 2 times in total.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

AndTheWolf
Apollo supporter
Apollo supporter
Posts: 42
Joined: 2012-05-30, 01:19
Location: USA

Re: PM 28.20 Still cannot open external links in same page/tab

Unread post by AndTheWolf » 2018-11-14, 22:45

Actually I have opened this issue a few times. The first time, which you referred to, I did a bad job of describing the problem, so I decided to start over. Then, I had to demonstrate that the problem was real, and not an error on my part. Finally, when someone else was able to reproduce the problem I would again ask if there were any plans to fix this. After which, I heard nothing. So I tried again with the next release. The last time, https://forum.palemoon.org/viewtopic.php?f=3&t=20492&hilit=browser.link.open_newwindow. , I waited two weeks after asking the question the second time, then asked a third time and finally, Moonchild, you replied
I'd like to know if the same issue happens with Basilisk or not. If it doesn't then there's a front-end issue. If it does, it'll be toolkit.
. It took me a while to test this, since I don't use Basilisk, but after installing Basilisk I was able to say that
In Basilisk everything works as documented, so I guess that makes it a front-end issue.
I never got a reply, So when 28.2.0 came out I decided to try again. I apologize, I probably should have just extended the previous thread.

I'm surprised that the structural design of 28.x is that different both from 27.x and from Basilisk, but so be it. Since it is by design you might want to change the source comment for browser.link.open_newwindow.override.external to make it clear that open is same tab is not an option.

digitalaudiorock
Moonbather
Moonbather
Posts: 64
Joined: 2017-08-16, 14:12

Re: PM 28.20 Still cannot open external links in same page/tab

Unread post by digitalaudiorock » 2018-11-29, 20:21

Wow...I just noticed behavior today that really surprised me and I'm interested to understand if it's the same thing being discussed here:

If a page in an application has an anchor tag that expressly has something like target="some-target-name", and that name has already been used as a target tab, does palemoon ignore that and just open a new tab? If so that seems almost stunning to me and would seem to be something that would cause serious problems in some applications? Is that the case?

EDIT to add: I get this behavior in palemoon under Linux and Windows, and not with any other browser as far as I know.

Thanks in advance.
Tom
Last edited by digitalaudiorock on 2018-11-29, 20:22, edited 1 time in total.

User avatar
therube
Board Warrior
Board Warrior
Posts: 1651
Joined: 2018-06-08, 17:02

Re: PM 28.20 Still cannot open external links in same page/tab

Unread post by therube » 2018-11-30, 01:41

Do you have a sample page that exhibits this behavior?

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35648
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: PM 28.20 Still cannot open external links in same page/tab

Unread post by Moonchild » 2018-11-30, 05:48

digitalaudiorock wrote:Wow...I just noticed behavior today that really surprised me and I'm interested to understand if it's the same thing being discussed here:

If a page in an application has an anchor tag that expressly has something like target="some-target-name", and that name has already been used as a target tab, does palemoon ignore that and just open a new tab? If so that seems almost stunning to me and would seem to be something that would cause serious problems in some applications? Is that the case?

EDIT to add: I get this behavior in palemoon under Linux and Windows, and not with any other browser as far as I know.

Thanks in advance.
Tom
If other browsers direct you to an already-opened tab at the url with reference, then we are the only ones doing it correctly. Anchors should only work on the same document, never across documents.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

illiad
Fanatic
Fanatic
Posts: 222
Joined: 2016-05-15, 13:04

Re: PM 28.20 Still cannot open external links in same page/tab

Unread post by illiad » 2018-12-01, 18:59

pardon me, but grammar fails sometimes.... or maybe my UK one is different... :?

"open external links in the same page/tab" does that mean the same as "open links from other applications" as in tabmix plus?

I have also seen some 'dubious' website that manipulates page opening - (I quite often open many pages in background for reading later) they force this page to the front!!
VM 300Mbs in london england :lol: :coffee: on Intel Core I7 3GHz on Gigabyte X58a.
PM 32.4.1(64bit) on win7(64bit) sp1 - does ytoobe better than FF!! 8-) :lol: :P
Got 24Gig, Nvidia GTX 1060 :D dont need 4k - not rich, not gamer, newer GPUs only for $$$ peeps
:eh: useragentstring(com) :problem: FF 115.3.1 :angel: :P

User avatar
Tomaso
Board Warrior
Board Warrior
Posts: 1622
Joined: 2015-07-23, 16:09
Location: Norway

Re: PM 28.20 Still cannot open external links in same page/tab

Unread post by Tomaso » 2018-12-01, 20:10

In relation to opening links, Mozilla is working on a new security feature (rel=noopener for target=_blank):
https://www.ghacks.net/2018/11/30/firef ... get_blank/

When completed, is this something that should be implemented in Pale Moon?

yami_

Re: PM 28.20 Still cannot open external links in same page/tab

Unread post by yami_ » 2018-12-01, 20:32

This could probably be implemented as an add-on.

illiad
Fanatic
Fanatic
Posts: 222
Joined: 2016-05-15, 13:04

Re: PM 28.20 Still cannot open external links in same page/tab

Unread post by illiad » 2018-12-05, 12:18

https://addons.palemoon.org/addon/tab-mix-plus/ (click that, page opens, overwriting this page...:) ) what you want??
('force to open' is NOT ticked)

Image
also full help
http://tabmixplus.org/support/viewtopic.php?t=3
Last edited by illiad on 2018-12-05, 18:17, edited 4 times in total.
VM 300Mbs in london england :lol: :coffee: on Intel Core I7 3GHz on Gigabyte X58a.
PM 32.4.1(64bit) on win7(64bit) sp1 - does ytoobe better than FF!! 8-) :lol: :P
Got 24Gig, Nvidia GTX 1060 :D dont need 4k - not rich, not gamer, newer GPUs only for $$$ peeps
:eh: useragentstring(com) :problem: FF 115.3.1 :angel: :P

business_user

Re: PM 28.20 Still cannot open external links in same page/tab

Unread post by business_user » 2019-02-10, 12:24

This is a very serious usability flaw in the browser. After spending several hours manually setting up bookmarks and other configuration tasks, now I find out that this flaw is "by design". No other browser that I can think of has this design defect. It's just poor tab management to be continuously opening new tabs. For someone who works with a lot of links stored in an external program or spreadsheet, this design flaw results in the user having to continuously refocus their attention to a different tab and close tabs before they get out-of-hand. There should at least be some type of over-ride in the configuration settings.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35648
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: PM 28.20 Still cannot open external links in same page/tab

Unread post by Moonchild » 2019-02-10, 15:13

business_user wrote:This is a very serious usability flaw in the browser.
"This" being... what exactly?
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

profdlp

Re: PM 28.20 Still cannot open external links in same page/tab

Unread post by profdlp » 2019-02-13, 02:25

I'll let business_user speak for himself, but I find this to be a serious usability flaw as well. (And yes, I have a thread open on this subject, but the response directed me here.)

I'm on a number of forums and sometimes get a dozen or more "topic updated" email notices. To have every single one open a new tab or new window is kludgy to say the least.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35648
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: PM 28.20 Still cannot open external links in same page/tab

Unread post by Moonchild » 2019-02-13, 04:23

Sorry for not understanding the exact issue until now.
Filed Issue #971 (UXP)
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

AndTheWolf
Apollo supporter
Apollo supporter
Posts: 42
Joined: 2012-05-30, 01:19
Location: USA

Re: PM 28.20 Still cannot open external links in same page/tab

Unread post by AndTheWolf » 2019-02-20, 20:26

I don't think this has been fixed in 28.4.0, although the release notes say "Added a potential fix for external links not opening in the current window/tab (untested)". I still cannot make external links open in the current window/tab no matter what setting I use with browser.link.open_newwindow.override.external.

Moonchild, does the code in 28.4.0 require some other means to get external links to open in the same tab?

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35648
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: PM 28.20 Still cannot open external links in same page/tab

Unread post by Moonchild » 2019-02-21, 10:03

It should have fixed it but I guess it's back to the drawing board if it didn't.
If anyone has ideas of the cause or time to research it, please comment on the github issue.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
therube
Board Warrior
Board Warrior
Posts: 1651
Joined: 2018-06-08, 17:02

Re: PM 28.20 Still cannot open external links in same page/tab

Unread post by therube » 2019-02-22, 01:54

On the chance that browser.link.open_newwindow (in addition to browser.link.open_newwindow.override.external) may have played some part in this, I checked combinations of both Prefs, but in no case would external links open in the same tab - only in a new tab or window.