Middle click loads last closed 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!
User avatar
lashkevi
Moonbather
Moonbather
Posts: 73
Joined: 2018-05-12, 22:51

Middle click loads last closed tab

Unread post by lashkevi » 2022-05-27, 21:17

Clicking with middle mouse button off a link loads the last closed tab contents into the current tab. It is very annoying, because if you try to open a link in a new tab and accidentally miss the link, you get something you don't need at all. Is it possible to change this behavior?

OS: Linux 64bit (OpenSUSE15.3)
Browser version: Currently 31.0.0 (GTK2), but I observed it in previous versions.

User avatar
andyprough
Astronaut
Astronaut
Posts: 701
Joined: 2020-05-31, 04:33

Re: Middle click loads last closed tab

Unread post by andyprough » 2022-05-27, 21:54

lashkevi wrote:
2022-05-27, 21:17
Clicking with middle mouse button off a link loads the last closed tab contents into the current tab. It is very annoying, because if you try to open a link in a new tab and accidentally miss the link, you get something you don't need at all. Is it possible to change this behavior?

OS: Linux 64bit (OpenSUSE15.3)
Browser version: Currently 31.0.0 (GTK2), but I observed it in previous versions.
Mine does not do anything at all unless I manage to hit the link, in which case it opens the link in a new tab as expected. Do you have any Tab extensions enabled possibly?

User avatar
lashkevi
Moonbather
Moonbather
Posts: 73
Joined: 2018-05-12, 22:51

Re: Middle click loads last closed tab

Unread post by lashkevi » 2022-05-27, 22:43

TabMixPlus, but I haven't find any option like this there.

User avatar
andyprough
Astronaut
Astronaut
Posts: 701
Joined: 2020-05-31, 04:33

Re: Middle click loads last closed tab

Unread post by andyprough » 2022-05-27, 23:07

lashkevi wrote:
2022-05-27, 22:43
TabMixPlus, but I haven't find any option like this there.
Maybe try disabling TabMixPlus and restarting the browser to see if you are still getting this behavior?


patrick-g
Hobby Astronomer
Hobby Astronomer
Posts: 21
Joined: 2020-12-23, 10:49

Re: Middle click loads last closed tab

Unread post by patrick-g » 2022-05-28, 09:59

Hi,
The important words in the OP post are :
OS: Linux 64bit (OpenSUSE15.3)

In Linux, middle-click pastes the primary X-selection.
If it happens to be a valid link, PM opens that link.
AFAICT PM is doing so since I'm using it, years ago.
I agree that it's somehow annoying ! :)
FYI, I just verified, FF91 ESR doesn't do that.

User avatar
andyprough
Astronaut
Astronaut
Posts: 701
Joined: 2020-05-31, 04:33

Re: Middle click loads last closed tab

Unread post by andyprough » 2022-05-28, 11:51

patrick-g wrote:
2022-05-28, 09:59
Hi,
The important words in the OP post are :
OS: Linux 64bit (OpenSUSE15.3)

In Linux, middle-click pastes the primary X-selection.
If it happens to be a valid link, PM opens that link.
AFAICT PM is doing so since I'm using it, years ago.
I agree that it's somehow annoying ! :)
FYI, I just verified, FF91 ESR doesn't do that.
Oh you are right, once I copy a link on my Linux system then middle-clicking in Pale Moon causes that link to open immediately. Looks like this mystery is probably solved.

User avatar
lashkevi
Moonbather
Moonbather
Posts: 73
Joined: 2018-05-12, 22:51

Re: Middle click loads last closed tab

Unread post by lashkevi » 2022-05-28, 15:01

back2themoon wrote:
2022-05-28, 08:17
I assume you didn't look here first?

https://tabmixplus.org/support/viewpage ... e-clicking
For me both are set to "Do nothing".

User avatar
lashkevi
Moonbather
Moonbather
Posts: 73
Joined: 2018-05-12, 22:51

Re: Middle click loads last closed tab

Unread post by lashkevi » 2022-05-28, 15:09

patrick-g wrote:
2022-05-28, 09:59
Hi,
The important words in the OP post are :
OS: Linux 64bit (OpenSUSE15.3)

In Linux, middle-click pastes the primary X-selection.
If it happens to be a valid link, PM opens that link.
AFAICT PM is doing so since I'm using it, years ago.
I agree that it's somehow annoying ! :)
FYI, I just verified, FF91 ESR doesn't do that.
It seems that you are right. If I copy an address to the clipboard by highlighting it with the mouse, it is loaded when I middle click on a page off a link. Otherwise not. It explains why the Zoom tabs reload so often in this way. Because Zoom copies its page address to the clipboard, when opening a conference.

User avatar
Ander
Newbie
Newbie
Posts: 3
Joined: 2018-07-14, 00:11

Re: Middle click loads last closed tab

Unread post by Ander » 2022-05-31, 01:15

about:config -> middlemouse.contentLoadURL -> false

this fixed it for me. i'm not sure which extension is responsible for it

User avatar
andyprough
Astronaut
Astronaut
Posts: 701
Joined: 2020-05-31, 04:33

Re: Middle click loads last closed tab

Unread post by andyprough » 2022-05-31, 01:21

Ander wrote:
2022-05-31, 01:15
about:config -> middlemouse.contentLoadURL -> false

this fixed it for me. i'm not sure which extension is responsible for it
Yes, you are right. I don't have any tab extensions and that works for me.

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

Re: Middle click loads last closed tab

Unread post by Moonchild » 2022-05-31, 09:46

middlemouse.contentLoadURL isn't provided by an extension, it's a core preference.
On Windows/Mac it defaults to false, on Linux, it defaults to true because of historical preferences for UNIXes with the primary buffer.
"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
lashkevi
Moonbather
Moonbather
Posts: 73
Joined: 2018-05-12, 22:51

Re: Middle click loads last closed tab

Unread post by lashkevi » 2022-05-31, 18:38

Ander wrote:
2022-05-31, 01:15
about:config -> middlemouse.contentLoadURL -> false

this fixed it for me. i'm not sure which extension is responsible for it
Thank you very much. It works for me too.

Locked