Aria2 Integration Extension

Please Properly setup Aria2 before using this extension. Features - Replace browser default download manager with Aria2 - Add,…

什么是Aria2 Integration Extension?

Aria2 Integration Extension是由z.l开发的Chrome扩展程序,该扩展的主要功能是“Please Properly setup Aria2 before using this extension. Features - Replace browser default download manager with Aria2 - Add,…”。

扩展截图

screenshot
screenshot
screenshot
screenshot
screenshot

下载Aria2 Integration Extension扩展crx文件

下载Aria2 Integration Extension扩展crx格式的文件,手动将Chrome插件安装到浏览器中,也可以将crx文件分享给朋友,轻松安装Chrome插件。

扩展使用说明

                        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

扩展基本信息

名称 Aria2 Integration Extension Aria2 Integration Extension
ID chehmbmmchaagpilhabnocngnmjllgfi
官方URL https://chromewebstore.google.com/detail/aria2-integration-extensi/chehmbmmchaagpilhabnocngnmjllgfi
简介 Please Properly setup Aria2 before using this extension. Features - Replace browser default download manager with Aria2 - Add,…
文件大小 1.1 MB
安装次数 104
当前版本 0.5.1
更新时间 2024-02-22
上架时间 2021-06-16
评分 5.00/5 共1次评分
开发者 z.l
电子邮箱 [email protected]
付费类型 free
扩展官网 https://github.com/zluo01/aria2-extension
帮助页面URL https://github.com/zluo01/aria2-extension/issues
支持的语言 en-US
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "manifest_version": 3,
    "name": "Aria2 Integration Extension",
    "version": "0.5.1",
    "icons": {
        "48": "logo48.png",
        "128": "logo128.png"
    },
    "permissions": [
        "tabs",
        "contextMenus",
        "notifications",
        "storage",
        "downloads",
        "webRequest",
        "webRequestBlocking"
    ],
    "host_permissions": [
        ""
    ],
    "content_security_policy": {
        "extension_pages": "script-src 'self'; object-src 'self';"
    },
    "background": {
        "service_worker": "background\/index.js",
        "type": "module"
    },
    "commands": {
        "open_detail": {
            "description": "Open AriaNg"
        }
    },
    "action": {
        "default_popup": "index.html",
        "default_title": "Aria2Ex"
    },
    "options_ui": {
        "page": "index.html#\/setting",
        "open_in_tab": true
    },
    "browser_specific_settings": {
        "gecko": {
            "id": "{9e3f5f09-a4c6-43c2-8715-cac81530a5ce}"
        }
    }
}