You are here

Possible to completely disable downloads in Firefox?

4 posts / 0 new
Last post
Scorp
Offline
Last seen: 11 months 10 hours ago
Joined: 2019-10-04 02:53
Possible to completely disable downloads in Firefox?

So I've been using Firefox Portable version 55.0.2 for quite some time, and I'm very happy, thank you for the work you do.

I'm wondering, is there a way for me to "hack" the browser and completely disable the download box/dialog?

For example, see this picture:

https://www.ghacks.net/wp-content/uploads/2013/07/firefox-download-dialo...

That's the type of download box/dialog I'm talking about. I would like it to never appear, so to completely disable file opening/downloading on a browser.

Is that possible? Maybe by going in the Firefox Portable folder and editing some files or removing some files/folders completely?

Thanks

AlexMail
Offline
Last seen: 1 year 7 months ago
Joined: 2018-05-08 01:35
Kiosk mode

Look for kiosk mode, but you would need to use newer version of Firefox. Another alternative is to use Firefox 60 or newer with Enterprise Policy or GPO.

Scorp
Offline
Last seen: 11 months 10 hours ago
Joined: 2019-10-04 02:53
Hey AlexMail, thanks for the

Hey AlexMail, thanks for the reply.

I can't use a newer version of Firefox. I was really hoping I could hack/edit my current version of Firefox to do it.

I considered many ways of doing it (using a greasemonkey script, hacking firefox in the files, editing something in about:config, using some extension), but it turns out none of that is possible, or at least I couldn't make any of it work.

So I got an Autohotkey script created which will run every 2 hours and go through my browsers and do 2 coordinate clicks on each browser. I will just make sure the download prompts always appear in the exact same position on all the browsers, so that the "Cancel" button is always in the same position on all the browsers. And I will also make sure to position the download prompts in a place where there is nothing that can be clicked behind the Cancel button... because the Autohotkey script will do the coordinated clicks every 2 hours no matter if there are download prompts there or not, and I don't want it clicking on anything it shouldn't when there are no download prompts.

Anyway, so I pretty much solved this. Cheers Smile

gmbudwrench
gmbudwrench's picture
Offline
Last seen: 9 months 1 week ago
Joined: 2007-06-25 05:00
There's this

http://kb.mozillazine.org/User.js_file https://github.com/pyllyukko/user.js/

There is a user.js file at GitHub that locks down alot of options, making it almost optionless. There is also an entry in it that disables downloads, iirc. You could modify that by removing the entries that you don't want. There are two versions, relaxed and hardened.

Log in or register to post comments