commandBookmarklet

Description
convert bookmarklets to commandsブックマークレットをコマンドにする
Latest version
0.6.6
Author
halt feits
License

for 2.2
http://coderepos.org/share/browser/lang/javascript/vimperator-plugins/branches/2.2/commandBookmarklet.js
for 2.1
http://coderepos.org/share/browser/lang/javascript/vimperator-plugins/branches/2.1/commandBookmarklet.js
for 2.0
http://coderepos.org/share/browser/lang/javascript/vimperator-plugins/branches/2.0/commandBookmarklet.js
for 1.2
not supported
for Nightly
http://coderepos.org/share/browser/lang/javascript/vimperator-plugins/trunk/commandBookmarklet.js

SYNOPSIS

This plugin automatically converts bookmarklets to valid commands for Vimperator.

COMMAND

Nothing built-in command, but each bookmarklets convert to commands that start with "bml".

EXAMPLE

"Hatena-Bookmark" -> bmlhatena-bookmark

GLOBAL VARIABLES

command_bookmarklet_prefix
This variable determines the prefix of a command name.
command_bookmarklet_use_sandbox
When this variable is 1, execute the script of bookmarklets in Sandbox.
If you use NoScript addon, probably you should enable this option.

KNOWN ISSUES

When title has non-ASCII characters, it converts to unaccountable command.
You should rewrite title of bookmarklet to ASCII characters, to escape this issue.

SYNOPSIS

このプラグインはブックマークレットを Vimperator で実行可能なコマンドに自動的に変換します。

COMMAND

固有のコマンドはありませんが、それぞれのブックマークレットは "bml" ではじまるコマンドに変換されます。

EXAMPLE

"Hatena-Bookmark" -> bmlhatena-bookmark

GLOBAL VARIABLES

command_bookmarklet_prefix
コマンドの先頭に付加される文字列を規定します。
デフォルトは "bml"
command_bookmarklet_use_sandbox
1 の時、ブックマークレットのスクリプトを sandbox で実行します。
NoScript アドオンをつかっている場合は、このオプションを有効にする必要があるでしょう。

KNOWN ISSUES

タイトルに ASCII 文字以外が含まれている場合、わけのわからないコマンドになります。
この問題を避けるためにブックマークレットのタイトルを ASCII 文字のみに書き換えることをおすすめします。
back to index