Your extension is not capable to download files from sites X, Y, Z Answer My extension tries always to detect links that are included in the html source of the web pages.
But sometimes this doesn't work well. Many sites don't really like their resources to be mass downloaded because this way the users skip the associated ads. So, in some cases, the URLs are embedded in nonstandard ways or, even worse, the resources are visible on the page as "fake" links, meaning that the real URLs of the resources are generated by the server on the fly, only when the user clicks their name.
One solution to this problem is to use an appropriate userscript designed specifically for the site X. There are some very popular userscript managers around, for example Greasemonkey on Firefox or Tampermonkey on Chrome. If the user knew some javascript he may be able to build for site X a special userscript which facilitates subsequent downloading using Simple Mass Downloader extension. More precisely, my extension can recognize the special attributes data-smd-url and data-smd-name and use them for mass downloading.
Of course, the main problem here is to build the helper userscript. This implies that the knowledgeable user manually analyze the source of the page, and build de appropriate userscript with the aim of embedding into the page via this special attributes the information required for download. Another solution is to find eventually another extension designed specifically for the site X. There are many extensions of this type.
For example one for Google Images downloading, other for SoundCloud etc. There are great chances to find such an extension if the site X is really a very popular one. Question 9. Your extension is not capable to download the full-sized images, but only the thumbnails Answer As for the previous question, it's possible that only the thumbnail links are included in the html source and the full links are obscured using various javascript tricks.
See the previous answer for details and solutions. Question There are too many bugs! You are aware of them? Answer This extension is still in early development, so, unfortunately, bugs are still expected. In the handler for the drop event, your code can access any file dropped by the user from the object offered by the dataTransfer property using DataTransfer.
If your extension needs to save files locally, the idb-file-storage library provides a simple Promise-based wrapper to the IndexedDB API to aid the storage and retrieval of files and blobs. The Store Collected Images example illustrates how to use most of these features. IDBMutableFile is not included, but you can find examples in the idb-file-storage examples along with a number of other examples of the library in action.
The Store Collected Images example lets users add images to a collection using an option on the image context menu. Selected images are collected in a popup and can be saved to a named collection. A toolbar button browserAction opens a navigate collection page, on which the user can view and delete saved images, with a filter option to narrow choices.
See the example in action. The workings of the library can be understood by viewing image-store. First, getFileStorage creates, if it does not exist already, or retrieves the IndexedDB database "stored-images" to the object storedImages. If the image being stored has the same name as one already in the database, it is overwritten. Learn how to manage your files and configure your download settings.
You can access downloads from your current browsing session by clicking on the Downloads button the down arrow on your toolbar. The arrow will appear blue to let you know there are unviewed downloaded files.
The Library displays information for all of your downloaded files unless you've cleared them from your history. Click the Library button and click Downloads from the menu. Click the menu button and click Downloads from the menu.
The Library window will open, showing a list of your downloaded files. Before beginning a download, Firefox will attempt to protect you from potentially malicious or unsafe downloads and will block downloads from insecure connections.
If something is suspected, the download will not begin, but rather:. Potentially malicious downloads are detected using Google Safe Browsing Service.
A red dot will appear on the Download arrow:. Is Firefox Safe? I tested the file in VirusTotal and it was clean. Does Firefox have Incognito Mode? For those security features, you will need a VPN. Can I change the default search engine in Firefox? Click on the menu in the top-right corner of the page and click Options. Click on the Search tab on the right sidebar.
Who owns Firefox?
0コメント