Provide browser services such as downloading files using the Python webbrowser library and specially constructed URLs. The webRequest api from Web Extensions is used to generate an onErrorOccurred event in a background script. The script then reads the URL and extracts on or more download requests encoded in the URL. It then does the requests. Two types of download services are provided; conventional and masked. A masked download is done by first doing a normal page request and then, after the page has completed downloading, a conventional download request is made. The second download is done from the local cache effectively masking the download from the server.
Native messaging is not used since it is very difficult to debug and it runs the Python program in its own process. With the URL method, download requests can be done from the console. Downloads can also be done from the location bar.
This addon is not registered with Mozilla and needs to loaded as a temporary
addon
Features
- Use Web Extensions API to access browser services by using a simple URL based interface.
- Uses the standard Python webbrowser library.