Changeset 17463

Show
Ignore:
Timestamp:
08/12/08 02:33:04 (5 months ago)
Author:
yoko
Message:

リニューアルに対応

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/javascript/userscripts/deliciousposthotkey.user.js

    r7847 r17463  
    33// @namespace     http://codefairy.org/ns/userscripts 
    44// @include       * 
    5 // @exclude       http://del.icio.us/* 
    6 // @version       0.1.1 
     5// @exclude       http://delicious.com/* 
     6// @version       0.2 
    77// ==/UserScript== 
    88 
    99(function() { 
    1010        // settings 
    11         var keycode = 68; //KeyEvent.DOM_VK_D 
     11        var keycode = 68; // KeyEvent.DOM_VK_D 
    1212 
    1313 
     
    1717                if (!(e.ctrlKey && e.which == keycode) || ignore.test(e.target.tagName)) return; 
    1818 
    19                 open('http://del.icio.us/post?' + param({ 
    20                         v    : 4, 
     19                open('http://delicious.com/save?' + param({ 
     20                        v    : 5, 
    2121                        noui : 1, 
    22                         jump : 'close', 
     22                        jump : 'doclose', 
    2323                        url  : location.href, 
    2424                        title: trim(document.title) 
    25                 }), 'delicious', 'toolbar=0,width=700,height=400'); 
     25                }), 'delicious', 'toolbar=0,width=550,height=550'); 
    2626        }, false); 
    2727