Changeset 17463
- Timestamp:
- 08/12/08 02:33:04 (5 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/javascript/userscripts/deliciousposthotkey.user.js
r7847 r17463 3 3 // @namespace http://codefairy.org/ns/userscripts 4 4 // @include * 5 // @exclude http://del .icio.us/*6 // @version 0. 1.15 // @exclude http://delicious.com/* 6 // @version 0.2 7 7 // ==/UserScript== 8 8 9 9 (function() { 10 10 // settings 11 var keycode = 68; // KeyEvent.DOM_VK_D11 var keycode = 68; // KeyEvent.DOM_VK_D 12 12 13 13 … … 17 17 if (!(e.ctrlKey && e.which == keycode) || ignore.test(e.target.tagName)) return; 18 18 19 open('http://del .icio.us/post?' + param({20 v : 4,19 open('http://delicious.com/save?' + param({ 20 v : 5, 21 21 noui : 1, 22 jump : ' close',22 jump : 'doclose', 23 23 url : location.href, 24 24 title: trim(document.title) 25 }), 'delicious', 'toolbar=0,width= 700,height=400');25 }), 'delicious', 'toolbar=0,width=550,height=550'); 26 26 }, false); 27 27
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)