SOLVED: Permanently Block Wikipedia "Preview" Pop-ups?

Discussion of general topics about Mozilla Firefox
Post Reply
scubscub
Posts: 30
Joined: December 5th, 2008, 10:30 am

SOLVED: Permanently Block Wikipedia "Preview" Pop-ups?

Post by scubscub »

Hello, I am trying to figure out how to permanently block the new "page preview" pop-ups that happen every time you mouseover a link. I know how to temporarily turn them off using the little controls on the popups themselves, but this only lasts until the next time I visit wikipedia.

I'm thinking that the browser is the place to do this, through a plug-in or setting perhaps, such as having the browser ignore whatever command the wikipedia page uses to create the pop up; but I don't know what this is.

Any help would be appreciated!

I am using Firefox ESR 52.9 on Xubuntu 16.04.
Last edited by scubscub on August 27th, 2018, 2:18 pm, edited 1 time in total.
User avatar
Frank Lion
Posts: 21178
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom
Contact:

Re: Permanently Block Wikipedia "Preview" Pop-ups?

Post by Frank Lion »

I have a JavaScript toggle button and just turn off JS on Wikipedia - that stops them. Then again, I don't have cookies persisting across sessions.

If your cookies do (if you don't know, then you do) then clicking on the cog symbol at the bottom of any preview and setting them to be Disabled...would be a pretty permanent way to not get them, I reckon.
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)
.
scubscub
Posts: 30
Joined: December 5th, 2008, 10:30 am

Re: Permanently Block Wikipedia "Preview" Pop-ups?

Post by scubscub »

Thank you, that looks like the right track. What would the css be to bllock #mwe-popups-svg?
User avatar
Frank Lion
Posts: 21178
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom
Contact:

Re: Permanently Block Wikipedia "Preview" Pop-ups?

Post by Frank Lion »

scubscub wrote:Thank you, that looks like the right track. What would the css be to bllock #mwe-popups-svg?
I've now edited my original post and reckon you might find this alternative solution better.
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)
.
scubscub
Posts: 30
Joined: December 5th, 2008, 10:30 am

Re: Permanently Block Wikipedia "Preview" Pop-ups?

Post by scubscub »

No, I don't keep cookies. I am looking for a better solution, such as altering the css, which I am atttempting to learn how to do.
User avatar
Frank Lion
Posts: 21178
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom
Contact:

Re: Permanently Block Wikipedia "Preview" Pop-ups?

Post by Frank Lion »

scubscub wrote:I am looking for a better solution, such as altering the css, which I am atttempting to learn how to do.
Read this - http://forums.mozillazine.org/viewtopic ... #p14789746

In the userContent.css, put this code -

Code: Select all

/*Franks Hide Wiki Pops...*/
.mwe-popups {
 visibility: hidden !important;
 }
Save, restart, you're done. They're gone.

Almost zero chance of any other site using that ID, so I haven't complicated it by @-moz wrapping to make it site specific.
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)
.
scubscub
Posts: 30
Joined: December 5th, 2008, 10:30 am

Re: SOLVED: Permanently Block Wikipedia "Preview" Pop-ups?

Post by scubscub »

Thank you Frank, it works like a charm!
User avatar
earther
Posts: 725
Joined: July 18th, 2003, 9:25 pm
Location: not a 'buntard!
Contact:

Re: SOLVED: Permanently Block Wikipedia "Preview" Pop-ups?

Post by earther »

Indeed. Frank nails it once again!
Post Reply