javascript - How to use js to prevent Firefox from popping up the download box when downloading attachments!
typecho
typecho 2017-06-14 10:53:05
0
1
824

1. Click the download link and let it download directly, otherwise the user chooses the save path! Functions similar to Google Chrome!

typecho
typecho

Following the voice in heart.

reply all (1)
滿天的星座

Your crx is a chrome extension, not Firefox (I think Firefox’s is xpi), so it’s natural not to recognize it. In addition, choosing the save location is a built-in function of the browser:

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!