We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά κατάχρησης».

Μάθετε περισσότερα

How can I block pop ups using config:about?

more options

I'm looking for a way to block all pop ups (in my case the upload file dialog) using the config:about. I've tried: dom.disable_open_during_load:false privacy.popups.plicy:2

But they don't seem to block the upload file dialog, when I use view page info-->permissions-->open pop up windows-->block then the pop up is blocked.

thanks.

I'm looking for a way to block all pop ups (in my case the upload file dialog) using the config:about. I've tried: dom.disable_open_during_load:false privacy.popups.plicy:2 But they don't seem to block the upload file dialog, when I use view page info-->permissions-->open pop up windows-->block then the pop up is blocked. thanks.

Όλες οι απαντήσεις (1)

more options

I think you mean about:config, right?

Setting dom.disable_open_during_load to false actually disables the popup blocker, so go ahead and reset that to the default. Or just check the box in Options > Content.

If you look at dom.popup_allowed_events you will see that Firefox allows popups for certain actions it assumes are user generated. If you are finding that sites are tricking Firefox by displaying popups without a user action, you can clear this list of some or all of its items. Then in theory you should see many fewer popups. However, I haven't tested it myself.