A way to turn off a site's preview within the browser? Topic is solved

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
ron_1
Knows the dark side
Knows the dark side
Posts: 3056
Joined: 2012-06-28, 01:20

A way to turn off a site's preview within the browser?

Post by ron_1 » 2025-09-03, 20:14

Operating system: Devuan GNU/Linux 5
Browser version: 33.8.2 GTK 2 SSE2
32-bit or 64-bit browser?: 64-bit
Problem URL: https://www.linux.org/whats-new/

So I didn't put this in Web Compatibility Support because the website works as intended (and that's the problem). :) It's a forum, and when you hover over a link to a thread, a "popup" appears that gives a preview of the thread. I'd like to stop that from happening. Is there something I can adjust in the browser for this? I can't turn it off from the website itself. Thanks.

Untitled.jpg
You do not have the required permissions to view the files attached to this post.

User avatar
Moonchild
Project founder
Project founder
Posts: 38826
Joined: 2011-08-28, 17:27
Location: Sweden

Re: A way to turn off a site's preview within the browser?

Post by Moonchild » 2025-09-03, 20:54

You can set dom.w3c_pointer_events.enabled to false.
Note that this may break functionality on some other websites that you may want.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"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
UCyborg
Astronaut
Astronaut
Posts: 712
Joined: 2019-01-10, 09:37
Location: Slovenia

Re: A way to turn off a site's preview within the browser?

Post by UCyborg » 2025-09-03, 21:08

^^Did you try it on this site specifically? It doesn't seem to change anything. Oh, maybe I need to restart... If effective, wouldn't it also break links being underlined on hover?

User avatar
Moonchild
Project founder
Project founder
Posts: 38826
Joined: 2011-08-28, 17:27
Location: Sweden

Re: A way to turn off a site's preview within the browser?

Post by Moonchild » 2025-09-03, 21:11

I tested it on the site and it effectively removed the pop-ups for me.
No restart required, even.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"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
ron_1
Knows the dark side
Knows the dark side
Posts: 3056
Joined: 2012-06-28, 01:20

Re: A way to turn off a site's preview within the browser?

Post by ron_1 » 2025-09-03, 21:19

Well this is weird. Changing that pref in a clean new profile works, but it does not work in my current profile. I have verified (twice) that the setting to "false" has stuck. So what could be causing this? Can any of my extensions be blocking this fix?

deCDN
Downloads Window
Show My Password
Stay-Open Menu
ThemeTool
uBlock Origin

EDIT
Disabling my extensions didn't help. :?:

User avatar
adoxa
Astronaut
Astronaut
Posts: 580
Joined: 2019-03-16, 13:26
Location: Qld, Aus.

Re: A way to turn off a site's preview within the browser?

Post by adoxa » 2025-09-04, 00:52


User avatar
ron_1
Knows the dark side
Knows the dark side
Posts: 3056
Joined: 2012-06-28, 01:20

Re: A way to turn off a site's preview within the browser?

Post by ron_1 » 2025-09-04, 08:23

adoxa wrote:
2025-09-04, 00:52
You could block www.linux.org/js/xf/tooltip.min.js.
I don't see this in uBo anywhere.
You do not have the required permissions to view the files attached to this post.

User avatar
adoxa
Astronaut
Astronaut
Posts: 580
Joined: 2019-03-16, 13:26
Location: Qld, Aus.

Re: A way to turn off a site's preview within the browser?

Post by adoxa » 2025-09-04, 14:01

Open the Dashboard, select "My filters", enter ||www.linux.org/js/xf/tooltip.min.js, click "Apply changes". (At least, I guess that's what you're supposed to do, I don't use uBo.)

User avatar
ron_1
Knows the dark side
Knows the dark side
Posts: 3056
Joined: 2012-06-28, 01:20

Re: A way to turn off a site's preview within the browser?

Post by ron_1 » 2025-09-04, 20:44

adoxa wrote:
2025-09-04, 14:01
Open the Dashboard, select "My filters", enter ||www.linux.org/js/xf/tooltip.min.js, click "Apply changes". (At least, I guess that's what you're supposed to do, I don't use uBo.)
Followed your instructions, and so far it seems to be working. Thanks a bunch. By the way, how did you find that address for the js tooltip?

I'll wait a few days before I mark this thread as solved.

User avatar
adoxa
Astronaut
Astronaut
Posts: 580
Joined: 2019-03-16, 13:26
Location: Qld, Aus.

Re: A way to turn off a site's preview within the browser?

Post by adoxa » 2025-09-05, 00:50

ron_1 wrote:
2025-09-04, 20:44
By the way, how did you find that address for the js tooltip?
Inspected the element, saw it used a "preview" attribute, searched for that in the debugger, that was the file that used it.