Please Properly setup Aria2 before using this extension.
Features
- Replace browser default download manager with Aria2
- Add,…
Please Properly setup Aria2 before using this extension.
Features
- Replace browser default download manager with Aria2
- Add, start, pause and stop jobs in extension tab
- Trigger download with right click context menu
- Allow more operations with integrated AriaNg
- Custom configuration allows instance other than default aria2 domains & ports
- Third party scripts support, allow user to add scripts using integrated editor. (Remove since 0.5.0)
## Scripts
>This feature is removed after **0.5.0** due to manifest 3 does not allow arbitrary code execution per [guideline](https://developer.chrome.com/docs/extensions/develop/migrate/improve-security).
The new script extension allows user to download certain resources on websites without going into page source manually.
### Example
```
(async function (url) {
'use strict';
try {
const res = await fetch(url);
if (res.ok) {
const data = await res.text();
const parser = new DOMParser();
const doc = parser.parseFromString(data, "text/html");
const matches = doc.querySelector("
");
return matches.src;
}
} catch (error) {
console.error(error);
}
})();
```
With the input url as a parameter, user should be able to implement scripts utilize xPath or query selector to find out media sources or batch images on define domains
and download all automatically in batch.
Submit Issues
Please submit issues if you encounter any problems here (https://github.com/zluo01/aria2-extension/issues)
Reference
- https://github.com/aria2/aria2
- https://github.com/mayswind/AriaNg
- https://github.com/sonnyp/aria2.js/
- https://github.com/RossWang/Aria2-Integration