This extension allows you to capture and redirect links to your Asus Download Master Application running on your Asus router.…
Asus Download Master Link Handler Extension
This extension allows you to capture and redirect links to your Asus Download Master Application running on your Asus router. Clicking on the icon shows you an options page where you can choose which files/links types to capture (including a custom comma separated list of link prefixes/postfixes).
Note: This is a beta version. I work on this project for fun and when I have free time.
The source code is available here: https://github.com/vicholz/Asus-Download-Master-Link-Handler
Changes in 0.0.3:
- Removed image replacement option. It only worked on some sites and looked weird on most others.
- Cleaned up logic to run onclick instead of onload.
Changes in 0.0.4:
- Added workaround for links on https sites (cannot be opened in iframe). Opens in new tab/window instead). Going to test with xhr later but will probably have to keep it this way
Changes in 0.0.5:
- Switched to XHR, and cleaned up. Workaround for HTTPS sites has to stay as any attempts to open links on the same page that are not HTTP are blocked.
Read more
Note: This is a beta version. I work on this project for fun and when I have free time.
The source code is available here: https://github.com/vicholz/Asus-Download-Master-Link-Handler
Changes in 0.0.3:
- Removed image replacement option. It only worked on some sites and looked weird on most others.
- Cleaned up logic to run onclick instead of onload.
Changes in 0.0.4:
- Added workaround for links on https sites (cannot be opened in iframe). Opens in new tab/window instead). Going to test with xhr later but will probably have to keep it this way
Changes in 0.0.5:
- Switched to XHR, and cleaned up. Workaround for HTTPS sites has to stay as any attempts to open links on the same page that are not HTTP are blocked.
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 2, "name": "Asus Download Master Link Handler", "description": "", "version": "0.0.5", "minimum_chrome_version": "23", "icons": { "16": "assets/icon_16.png", "128": "assets/icon_128.png" }, "permissions": ["storage","activeTab"], "browser_action": { "default_title": "Asus Download Master Link Handler", "default_icon": "assets/icon_128.png", "default_popup": "options.html" }, "options_page": "options.html", "content_scripts": [\t{\t\t"matches": [""], \t\t"js": ["content.js"]\t} ], "web_accessible_resources": ["*.png"]}
Read more