Deluge WebUI remote torrent adder

This script adds a Deluge icon next to torrent and magnet links. Clicking on it adds the torrent to the WebUI without leaving the page.

作者
Adam Rogers
日安装量
0
总安装量
171
评分
1 0 0
版本
1.7.0
创建于
2018-02-12
更新于
2018-02-12
大小
13.1 KB
许可证
暂无
适用于
所有网站

This is an upgrade of "Quickly add torrent files to Deluge 1.2+ WebUI" by "adios_" (from userscripts.org) to work with GreaseMonkey 4 and Deluge WebUI 1.3.

Changelog:

1.7.0 (2018-02-12) :
* Rewrote the xmlHttpRequest call for GreaseMonkey 4 compatibility
* Content-type of request changed to 'application/json'
* Removed scanning for site-specific torrent URLs, leaving only magnet and .torrent links (can be reenabled by uncommenting the appropriate code)
* Code cleanup


Original script v1.6.5 is here:
http://userscripts-mirror.org/scripts/show/79003

Changelog:

1.6.5 (14th jan. 2012) :
* fix : removed an alert() popup
* Some more code cleanup

1.6 (13th jan. 2012) :
* Handles magnet links
* Code refactoring

1.5 (18th oct. 2011) :
* Fix URL parsing for bt-chat.com
* Various bugfixes

1.4 (13th feb. 2011) :
* Add support for HTTPS

1.3 (1st aug. 2010) :
* Properly escape JSON strings

1.2 (13th jun. 2010) :
* Remove hardcoded config values, now use the user-configured ones

1.1 (12th jun. 2010) :
* More torrent links detected
* Cookie support
* Torrent link now properly displays instead of "javascript:;"
* Code cleanup

1.0 (25th nov. 2009) :
* First Version