X-Git-Url: https://git.ao2.it/GM_direct_download_links.git/blobdiff_plain/6f3096e5c94e11a844907a63b27b49f551f92033..1455e0e032945acd03d9384e6015c6d3a476f264:/direct_download_links.user.js diff --git a/direct_download_links.user.js b/direct_download_links.user.js index a5146c4..8421b49 100644 --- a/direct_download_links.user.js +++ b/direct_download_links.user.js @@ -39,12 +39,14 @@ * the regexp starting from a glob line. * - use xpath instead of regexp like in http://a32.me/2009/11/greasemonkey/ * - use jquery, like shown in http://a32.me/2009/11/greasemonkey/ + * - Support the "download" attribute for anchors: + * http://www.whatwg.org/specs/web-apps/current-work/multipage/links.html#downloading-resources */ /* Fields supported by the "site" object. * * Manadatory fields: - * pageURL: the URL of the page we are modifying + * locationRegExp: the regexp describing the URL of the page we are modifying * urlContainer: the element containing the URL to link * urlRegexp: the regular expression for finding the URL, the first * sub-pattern is taken as the URL