From ca6cfbc09afa37b5f618e481aadf9ed2aafc2fd4 Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Sun, 12 Feb 2012 11:15:36 +0100 Subject: [PATCH] Add a note about the "download" attribute for anchors HTML specifies an attribute to suggest to the client the filename to use when saving to the local filesystem, something like "Content-disposition: attachment; filename" but per HTML element, which sounds good, see: http://www.whatwg.org/specs/web-apps/current-work/multipage/links.html#downloading-resources This would be an interesting feature for DDL, but browser support is very limited as for now. Signed-off-by: Antonio Ospite --- direct_download_links.user.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/direct_download_links.user.js b/direct_download_links.user.js index a5146c4..e1f17f3 100644 --- a/direct_download_links.user.js +++ b/direct_download_links.user.js @@ -39,6 +39,8 @@ * 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. -- 2.1.4