- Mar 22, 2013
- 8,731
- 10,288
I do a bit of botting, and sometimes my bots visit "rude" websites. These rude websites basically forcibly pop up a download dialog box when you visit them, like this:
Here is an example. If you visit this link, you'll get a download popup like that - https://myaddictive.com/musiques/tiboy-shalla.html?fiche=3044
So I was sure that Firefox had a native way of fully disabling downloads. I wanted to fully and completely disable these either by using about:config or an extension. But to my surprise there is no way to do it, and the only plugin that can do it basically allows me to set up a password for downloads, and then instead of getting the download box I get the password box. But I don't want to get any box. I want these popups to not appear at all ever, or at least to get automatically closed/cancelled whenever they appear.
This looks like something Greasemonkey could handle. But I'm not good with javascript, and there's not much help out there on Google for my specific need.
Can anyone make me a little Greasemonkey script that will auto close any such popup whenever it appears? @t-machine
Thanks

Here is an example. If you visit this link, you'll get a download popup like that - https://myaddictive.com/musiques/tiboy-shalla.html?fiche=3044
So I was sure that Firefox had a native way of fully disabling downloads. I wanted to fully and completely disable these either by using about:config or an extension. But to my surprise there is no way to do it, and the only plugin that can do it basically allows me to set up a password for downloads, and then instead of getting the download box I get the password box. But I don't want to get any box. I want these popups to not appear at all ever, or at least to get automatically closed/cancelled whenever they appear.
This looks like something Greasemonkey could handle. But I'm not good with javascript, and there's not much help out there on Google for my specific need.
Can anyone make me a little Greasemonkey script that will auto close any such popup whenever it appears? @t-machine
Thanks