Add the Direct Download link to the page on a UrlFetched event
authorAntonio Ospite <ospite@studenti.unina.it>
Fri, 9 Dec 2011 23:49:56 +0000 (00:49 +0100)
committerAntonio Ospite <ospite@studenti.unina.it>
Sat, 10 Dec 2011 01:18:26 +0000 (02:18 +0100)
commit15eb7fbb4da6258e7fbbc499d342b68463bc132a
tree4dfe75faa2cbbecc339e4545d9be734bb83357fa
parent1b53269ee66fbdba093c562eec82f976d3c0f632
Add the Direct Download link to the page on a UrlFetched event

Calling _add_link() asynchronously will make it easy to add some URL
processing mechanism between _get_URL() and _add_link() in case the URL
we get needs to be processed somehow before being added to the page as
a Direct Download Link.

Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
direct_download_links.user.js