Aria2 Integration Extension

★★★★★
★★★★★
96 users
<
>
Bubble Inside Out 2: Think Positive 3-Step Glow Boost Routine
★★★★★
★★★★★
Valve Steam Deck 256GB Handheld System - Black
★★★★★
★★★★★
First Alert Brk SC-9120B Hardwired Smoke and Carbon Monoxide Alarm with Battery
★★★★★
★★★★★
DryConn Wire Connectors Aqua (6-Pack| Model #62316
★★★★★
★★★★★
DMC Stranded Cotton Embroidery Thread 453 - per Skein
★★★★★
★★★★★
Powerade Ice Storm 50cl
★★★★★
★★★★★

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("<SOME-QUERY-SELECTOR>");
            return matches.src;
        }
    } catch (error) {
        console.error(error);
    }
})();
```

<p>
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.
</p>

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/Ar iaNg
- https://github.com/sonnyp/aria 2.js/
- https://github.com/RossWang/Ar ia2-Integration
Related