diff options
author | ArthurHoaro <arthur@hoa.ro> | 2017-05-25 15:51:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-25 15:51:48 +0200 |
commit | b2e2aa42e288e0becaa95bf9cc3be679743fc98e (patch) | |
tree | 3caa77e913e01ecf621c5d685964616d275754b9 /tpl/vintage/tools.html | |
parent | 81a91579ba8eb7b5a203722baf927a3653b5cb94 (diff) | |
parent | bb8cf6d3620456d5026df667752b793192f44fe1 (diff) | |
download | Shaarli-b2e2aa42e288e0becaa95bf9cc3be679743fc98e.tar.gz Shaarli-b2e2aa42e288e0becaa95bf9cc3be679743fc98e.tar.zst Shaarli-b2e2aa42e288e0becaa95bf9cc3be679743fc98e.zip |
Merge pull request #881 from ArthurHoaro/feature/note-bookmarklet
Add Note bookmarklet #580
Diffstat (limited to 'tpl/vintage/tools.html')
-rw-r--r-- | tpl/vintage/tools.html | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tpl/vintage/tools.html b/tpl/vintage/tools.html index c36aa5b5..69689807 100644 --- a/tpl/vintage/tools.html +++ b/tpl/vintage/tools.html | |||
@@ -39,7 +39,15 @@ | |||
39 | </a><br><br> | 39 | </a><br><br> |
40 | <a class="smallbutton" | 40 | <a class="smallbutton" |
41 | onclick="return alertBookmarklet();" | 41 | onclick="return alertBookmarklet();" |
42 | href="?private=1&post="><b>✚Add Note</b></a> | 42 | href="javascript:( |
43 | function(){ | ||
44 | window.open( | ||
45 | '{$pageabsaddr}?private=1&post='+ | ||
46 | '&description='%20+%20encodeURIComponent(document.getSelection())+ | ||
47 | '&source=bookmarklet','_blank','menubar=no,height=800,width=600,toolbar=no,scrollbars=yes,status=no,dialog=1' | ||
48 | ); | ||
49 | } | ||
50 | )();"><b>✚Add Note</b></a> | ||
43 | <a href="#" onclick="return alertBookmarklet();"> | 51 | <a href="#" onclick="return alertBookmarklet();"> |
44 | <span> | 52 | <span> |
45 | ⇐ Drag this link to your bookmarks toolbar (or right-click it and choose Bookmark This Link....).<br> | 53 | ⇐ Drag this link to your bookmarks toolbar (or right-click it and choose Bookmark This Link....).<br> |