Changeset 29785
- Timestamp:
- 02/09/09 21:51:36 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/javascript/vimperator-plugins/trunk/hatenabookmark_show.js
r29783 r29785 1 1 // Vimperator plugin: "Show Hatena Bookmark Comments" 2 // Last Change: 21-Mar-2008. Jan 20082 // Last Change: Mon Feb 9 21:36:06 2009 3 3 // License: Creative Commons 4 4 // Maintainer: Trapezoid <trapezoid.g@gmail.com> - http://unsigned.g.hatena.ne.jp/Trapezoid … … 30 30 } 31 31 liberator.modules.commands.addUserCommand(["hbinfo"],"show Hatena Bookmark comments", 32 function(arg ){32 function(args){ 33 33 var clipboard = readFromClipboard(); 34 var url = arg .string;35 if( special)34 var url = args.literalArg; 35 if(args.bang) 36 36 url = window.content.document.getSelection() || clipboard; 37 37 showComments(url ? encodeURIComponent(url): liberator.modules.buffer.URL); 38 38 },{ 39 completer: liberator.modules.completion.url, 39 literal: 0, 40 completer: function (context, args) liberator.modules.completion.url(context), 40 41 bang: true 41 42 },
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)