Ubiquityコマンドを公開する

説明

Ubiquityコマンドを公開するにはmetaタグのrel属性にcommand、href属性にスクリプトファイルのURL、name属性に名前を指定します。

サンプルコード [実行]

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=shift_jis">
<link rel="commands" href="http://dummy.js" name="お試し">
<title>Sample</title>
</head>
<body>
<h1>Sample</h1>
<p>
FirefoxのエクステンションのUbiquityコマンドを登録します(ダミーなのでエラーが出ます)。
</p>
</body>
</html>