This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to prevent Firefox opens a website if the mouse pointer is some time idle on top of it

more options

When I open certain sites, Firefox (unlike Chrome or Edge) opens some of the links inside simply because I leave the mouse pointer stalled over it - even by accident. I want to disable this feature, but so far nothing helps. An example is for instance www.nieuwsblad.be (or any other news site). Even if you don't understand Dutch, some articles show an indicator - see the image below - that marks there's a video that will start playing. If I leave the mouse pointer by accident on such page, it will be opened even if I don't click! I only want pages to open when I click on the link, not because the mouse pointer was for some time parked over it. Anybody an idea how to disable this very annoying behavior?

When I open certain sites, Firefox (unlike Chrome or Edge) opens some of the links inside simply because I leave the mouse pointer stalled over it - even by accident. I want to disable this feature, but so far nothing helps. An example is for instance www.nieuwsblad.be (or any other news site). Even if you don't understand Dutch, some articles show an indicator - see the image below - that marks there's a video that will start playing. If I leave the mouse pointer by accident on such page, it will be opened even if I don't click! I only want pages to open when I click on the link, not because the mouse pointer was for some time parked over it. Anybody an idea how to disable this very annoying behavior?
Priloženi snimci ekrana

All Replies (2)

more options

Start Firefox in Safe Mode {web link}

A small dialog should appear. Click Start In Safe Mode (not Refresh). Is the problem still there?

more options

It's hard to test because sometimes the autoplay block stops it from happening, and other times it just seems to stop for no reason...

The ones with the play button run a script on the mouseenter event that plays the preview and eventually navigates the page. These are very difficult to remove individually. One possible strategy is to create a global event handler for the entire article that intercepts and discards mouseenter events so that no other event handler in the page can receive them.

For example:

document.body.addEventListener('mouseenter', function(e){
  e.stopPropagation();
}, true);


I'm not sure that works; the scripts in the article do not behave inconsistently, so failure to play could be due to other reasons.

Izmjenjeno od strane jscher2000 - Support Volunteer