ブックマークレット

ブックマークレット

[10] ブックマークレット (bookmarklet) は、 URL として記述した Webページ上の操作の指示や簡易的な Webアプリケーションです。

[11] 利用者が予め javascript: URLdata: URLWebブラウザーブックマークに登録しておき、 必要に応じてそのブックマークを選択することで、実行します。

[35] 多くの一般的なデスクトップブラウザーで利用できます。

ブックマークレットの作り方

[41] Web頁で実行されるような通常の JavaScript のコード (script 要素に書くようなもの) を、 javascript: URL としてWebブラウザーブックマークに登録するだけです。

[42] Web頁JavaScript からできることは何でもできます。 逆に Web頁にできないことはできません。

ブックマークレットの環境悪化

[62] ブックマークレット平成時代中期から後期に世界的にウェブ開発者や上級の利用者等に愛用されていましたが、 徐々に動作環境が悪化して使いづらくなっていきました。

CSP 競合問題

[45] javascript: URLCSP のよる規制の対象となり、 ブックマークレットもその制約下となります。

[56] そのため Content-Security-Policy: HTTPヘッダー<meta http-equiv=Content-Security-Policy> 要素などで CSP policy が指定されていて、スクリプトの読み込みや実行が制限されていると、 ブックマークレットが正常に実行されないことがあります。

[57] CSP によるセキュリティー上の制限を JavaScript から解除することはできないので (できたらセキュリティーホールになってしまいます)、 ブックマークレットだけで対処することは不可能です。

[58] 本来 CSP の適用対象は著者スクリプト (と偽って挿入された不正コード) であって、利用者の行動ではなく、 ブックマークの挙動の詳細はWeb標準規格の範囲外で Webブラウザー事業者の裁量で決められる部分ですから、 少なくても理屈の上では、 ブックマークレットだけ特別に CSP の規制の適用対象外とすることはできます。

[59] しかし各ブラウザーがそのような対策を取っていないのは、 ブックマークレットの需要に対してWebブラウザーの実装が複雑になりすぎてしまうためと思われます。

[60] ウェブ上の解説には HTTPS だと CSP が適用されるという解説がありますが (そして Google検索で上位に出てきますが) HTTPSCSP は直接関係していません。

[61] ちょうど CSP によるブックマークレット不動作が問題になった頃と同時期に、 Mixed Content の規制強化に伴うブックマークレットからのスクリプト読み込みができなくなった問題が起こっていたので、 それが混同されたものでしょうか。

関連

[43] 開発者コンソールJavaScript コード実行と似ていますが、 開発者コンソールは開発用の機能が追加されていたり、 セキュリティー上の制限が緩和されていたりするので、 ブックマークレットの方が機能性は低いです。

[44] WebブラウザーUI から呼び出せる機能を利用者自ら作成できるという点ではブラウザー拡張と似ていますが、 ブラウザー拡張が持つような特権にアクセスすることはブックマークレットにはできません。

Bookmarklet Editor

[92] BEBBookmarklet Editor Bookmarklet に移動しました。

NodeRectViewer

[93] NodeRectViewer の項を参照してください。

SuikaWiki Bookmarklets

[96] SuikaWiki Bookmarklets の項を参照してください。

Google のキャッシュに飛ぶ

ページ内の ID を表示する

[98] javascript:var els=document.querySelectorAll('[id], a[name]');for(var i=0;i<els.length;i++){var el=els[i];var id=el.id||el.name;var anchor=document.createElement('a');anchor.href='#'+encodeURIComponent(id);anchor.className='___id_anchor';anchor.textContent='#'+id;if(el.namespaceURI=="http://www.w3.org/1999/xhtml"){anchor.title=el.localName;if(el.localName.match(/^(?:h[1-6]|td|th|li|dt|dd|html)$/)){el.insertBefore(anchor,el.firstChild);continue;}}else{anchor.title='{'+el.namespaceURI+'}'+el.localName;}el.parentNode.insertBefore(anchor,el);}var style=document.createElement('style');style.textContent='.___id_anchor { display: inline !important; width: auto !important; height: auto !important; margin: 0 !important; border: none !important; padding: 0 !important; background-color: #ffa !important; color: black !important; font-size: 16px !important; font-weight: normal !important; font-family: monospace !important; line-height: 1.0 !important; text-decoration: underline !important }';document.head.appendChild(style);

Goo の辞書

[86] data:text/html;charset=utf-8,%3C!DOCTYPE%20html%3E%0A%3Chtml%20lang=%22en%22%3E%0A%3Chead%3E%0A%3Ctitle%3EDictionary%3C/title%3E%0A%3Cstyle%3E%0A%20%20fieldset%20%7B%0A%20%20%20%20display:%20block;%0A%20%20%20%20position:%20fixed;%0A%20%20%20%20top:%200;%0A%20%20%20%20height:%202em;%0A%20%20%20%20left:%200;%0A%20%20%20%20right:%200;%0A%20%20%20%20overflow:%20auto;%0A%20%20%20%20margin:%200;%0A%20%20%20%20border-style:%20none;%0A%20%20%20%20padding:%200;%0A%20%20%7D%0A%20%20iframe%20%7B%0A%20%20%20%20display:%20block;%0A%20%20%20%20position:%20fixed;%0A%20%20%20%20top:%202em;%0A%20%20%20%20left:%200;%0A%20%20%20%20right:%200;%0A%20%20%20%20bottom:%200;%0A%20%20%20%20margin:%200;%0A%20%20%20%20border-style:%20none;%0A%20%20%20%20padding:%200;%0A%20%20%7D%0A%20%20kbd%20%7B%0A%20%20%20%20display:%20inline;%0A%20%20%20%20margin:%200;%0A%20%20%20%20border-style:%20none;%0A%20%20%20%20padding:%200;%0A%20%20%20%20text-decoration:%20underline;%0A%20%20%7D%0A%20%20input%5Bname=MT%5D%20%7B%0A%20%20%20%20width:%2020em;%0A%20%20%7D%0A%3C/style%3E%0A%3C/head%3E%0A%3Cbody%20onload=%22document.input.MT.focus%20%28%29%22%3E%0A%20%20%3Cform%20action=%22http://dictionary.goo.ne.jp/search.php%22%20method=%22get%22%0A%20%20%20%20%20%20accept-charset=%22euc-jp%22%20target=%22dict%22%20name=%22input%22%3E%0A%20%20%20%20%3Cfieldset%3E%0A%20%20%20%20%20%20%3Cinput%20name=%22MT%22%20type=%22text%22%20accesskey=%22W%22%3E%0A%20%20%20%20%20%20%3Cinput%20name=%22all.x%22%20value=%221%22%20type=%22hidden%22%3E%0A%20%20%20%20%20%20%3Cinput%20name=%22all.y%22%20value=%221%22%20type=%22hidden%22%3E%0A%20%20%20%20%20%20%3Cbutton%20type=%22button%22%20accesskey=%22D%22%20onclick=%27%0A%20%20%20%20%20%20%20%20var%20uri%20=%20form.action%0A%20%20%20%20%20%20%20%20%20%20%20%20+%20%22%3Fall.x=1%26all.y=1%26MT=%22%0A%20%20%20%20%20%20%20%20%20%20%20%20+%20encodeURIComponent%20%28form.MT.value%29;%0A%20%20%20%20%20%20%20%20window.dict.location.href%20=%20uri;%0A%20%20%20%20%20%20%20%20return%20false;%0A%20%20%20%20%20%20%27%3E%3Ckbd%3ED%3C/kbd%3Eictionary%3C/button%3E%0A%20%20%20%20%20%20%3Cbutton%20type=%22button%22%20accesskey=%22P%22%20onclick=%27%0A%20%20%20%20%20%20%20%20var%20uri%20=%20%22http://ja.wikipedia.org/w/index.php%22%0A%20%20%20%20%20%20%20%20%20%20%20%20+%20%22%3Ftitle=Special:Search%26search=%22%0A%20%20%20%20%20%20%20%20%20%20%20%20+%20encodeURIComponent%20%28document.input.MT.value%29;%0A%20%20%20%20%20%20%20%20window.dict.location.href%20=%20uri;%0A%20%20%20%20%20%20%20%20document.input.MT.focus%20%28%29;%0A%20%20%20%20%20%20%27%3EWiki%3Ckbd%3Ep%3C/kbd%3Eedia%3C/button%3E%0A%20%20%20%20%3C/fieldset%3E%0A%20%20%3C/form%3E%0A%20%20%3Ciframe%20name=%22dict%22%20src=%22about:blank%22%3E%3C/iframe%3E%0A%3C/body%3E%0A%3C/html%3E%0A

改訂版。 Wikipedia (本家日本語版) のボタンつき。 (名無しさん 2007-04-21 04:25:58 +00:00)

[91] data:text/html;charset=utf-8,%3C!DOCTYPE%20html%3E%0A%3Chtml%20lang=%22en%22%3E%0A%3Chead%3E%0A%3Ctitle%3EDictionary%3C/title%3E%0A%3Cstyle%3E%0A%20%20fieldset%20%7B%0A%20%20%20%20display:%20block;%0A%20%20%20%20position:%20fixed;%0A%20%20%20%20top:%200;%0A%20%20%20%20height:%202em;%0A%20%20%20%20left:%200;%0A%20%20%20%20right:%200;%0A%20%20%20%20overflow:%20auto;%0A%20%20%20%20margin:%200;%0A%20%20%20%20border-style:%20none;%0A%20%20%20%20padding:%200;%0A%20%20%7D%0A%20%20iframe%20%7B%0A%20%20%20%20display:%20block;%0A%20%20%20%20position:%20fixed;%0A%20%20%20%20top:%202em;%0A%20%20%20%20left:%200;%0A%20%20%20%20right:%200;%0A%20%20%20%20bottom:%200;%0A%20%20%20%20margin:%200;%0A%20%20%20%20border-style:%20none;%0A%20%20%20%20padding:%200;%0A%20%20%7D%0A%20%20kbd%20%7B%0A%20%20%20%20display:%20inline;%0A%20%20%20%20margin:%200;%0A%20%20%20%20border-style:%20none;%0A%20%20%20%20padding:%200;%0A%20%20%20%20text-decoration:%20underline;%0A%20%20%7D%0A%20%20%23word%20%7B%0A%20%20%20%20width:%2020em;%0A%20%20%7D%0A%3C/style%3E%0A%3C/head%3E%0A%3Cbody%20onload=%22document.getElementById%20%28%27word%27%29.focus%20%28%29%22%3E%0A%20%20%3Cform%20action=%22http://www2.alc.co.jp/ejr/index.php%22%20method=%22get%22%0A%20%20%20%20%20%20accept-charset=%22euc-jp%22%20target=%22dict%22%20name=%22input%22%3E%0A%20%20%20%20%3Cfieldset%3E%0A%20%20%20%20%20%20%3Cinput%20id=%22word%22%20name=%22word_in%22%20type=%22text%22%20accesskey=%22W%22%3E%0A%20%20%20%20%20%20%3Cinput%20id=%22hidden1%22%20name=%22word_in2%22%20value=%22%E3%81%8B%E3%81%8D%E3%81%8F%E3%81%91%E3%81%93%22%20type=%22hidden%22%3E%0A%20%20%20%20%20%20%3Cinput%20id=%22hidden2%22%20name=%22word_in3%22%20value=%22PVawEWi72JXCKoa0Je%22%20type=%22hidden%22%3E%0A%20%20%20%20%20%20%3Cbutton%20type=%22button%22%20accesskey=%22D%22%20onclick=%22%0A%20%20%20%20%20%20%20%20form.action%20=%20%27http://www2.alc.co.jp/ejr/index.php%27;%0A%20%20%20%20%20%20%20%20document.getElementById%20%28%27word%27%29.name%20=%20%27word_in%27;%0A%20%20%20%20%20%20%20%20document.getElementById%20%28%27hidden1%27%29.name%20=%20%27word_in2%27;%0A%20%20%20%20%20%20%20%20document.getElementById%20%28%27hidden1%27%29.value%20=%20%27%E3%81%8B%E3%81%8D%E3%81%8F%E3%81%91%E3%81%93%27;%0A%20%20%20%20%20%20%20%20document.getElementById%20%28%27hidden2%27%29.name%20=%20%27word_in3%27;%0A%20%20%20%20%20%20%20%20document.getElementById%20%28%27hidden2%27%29.value%20=%20%27PVawEWi72JXCKoa0Je%27;%0A%20%20%20%20%20%20%20%20form.submit%20%28%29;%0A%20%20%20%20%20%20%20%20document.getElementById%20%28%27word%27%29.focus%20%28%29;%0A%20%20%20%20%20%20%22%3E%3Ckbd%3ED%3C/kbd%3Eictionary%3C/button%3E%0A%20%20%20%20%20%20%3Cbutton%20type=%22button%22%20accesskey=%22G%22%20onclick=%22%0A%20%20%20%20%20%20%20%20form.action%20=%20%27http://dictionary.goo.ne.jp/search.php%27;%0A%20%20%20%20%20%20%20%20document.getElementById%20%28%27word%27%29.name%20=%20%27MT%27;%0A%20%20%20%20%20%20%20%20document.getElementById%20%28%27hidden1%27%29.name%20=%20%27all.x%27;%0A%20%20%20%20%20%20%20%20document.getElementById%20%28%27hidden1%27%29.value%20=%20%271%27;%0A%20%20%20%20%20%20%20%20document.getElementById%20%28%27hidden2%27%29.name%20=%20%27all.y%27;%0A%20%20%20%20%20%20%20%20document.getElementById%20%28%27hidden2%27%29.value%20=%20%271%27;%0A%20%20%20%20%20%20%20%20form.submit%20%28%29;%0A%20%20%20%20%20%20%20%20document.getElementById%20%28%27word%27%29.focus%20%28%29;%0A%20%20%20%20%20%20%22%3E%3Ckbd%3EG%3C/kbd%3Eoo%20Dictionary%3C/button%3E%0A%20%20%20%20%20%20%3Cbutton%20type=%22button%22%20accesskey=%22P%22%20onclick=%27%0A%20%20%20%20%20%20%20%20var%20uri%20=%20%22http://ja.wikipedia.org/w/index.php%22%0A%20%20%20%20%20%20%20%20%20%20%20%20+%20%22%3Ftitle=Special:Search%26search=%22%0A%20%20%20%20%20%20%20%20%20%20%20%20+%20encodeURIComponent%20%28document.getElementById%20%28%22word%22%29.value%29;%0A%20%20%20%20%20%20%20%20window.dict.location.href%20=%20uri;%0A%20%20%20%20%20%20%20%20document.getElementById%20%28%22word%22%29.focus%20%28%29;%0A%20%20%20%20%20%20%27%3EWiki%3Ckbd%3Ep%3C/kbd%3Eedia%3C/button%3E%0A%20%20%20%20%3C/fieldset%3E%0A%20%20%3C/form%3E%0A%20%20%3Ciframe%20name=%22dict%22%20src=%22about:blank%22%3E%3C/iframe%3E%0A%3C/body%3E%0A%3C/html%3E%0A%0A%0A%0A

改訂版

2ch 用のリンク修正

開く窓の指定を消去

スタイルシート再読み込み

[8] 外部スタイルシートに適当な URL query を付けて再読み込みさせます。

javascript:%0A%0AArray.prototype.forEach.call%20%28document.querySelectorAll%20%28%27link%5Brel~%3Dstylesheet%5D%27%29%2C%20function%20%28el%29%20%7B%0A%20%20var%20url%20%3D%20new%20URL%20%28el.href%29%3B%0A%20%20url.search%20%3D%20%22%3Fr%3Dlocal-%22%20%2B%20Math.random%20%28%29%3B%0A%20%20el.href%20%3D%20url%3B%0A%7D%29%3B%0A%0Adocument.querySelectorAll%20%28%27iframe%27%29.forEach%20%28iframe%20%3D%3E%20%7B%0A%20%20try%20%7B%0A%20%20%20%20iframe.contentDocument.querySelectorAll%20%28%27link%5Brel~%3Dstylesheet%5D%27%29.forEach%20%28el%20%3D%3E%20%7B%0A%20%20%20%20%20%20var%20url%20%3D%20new%20URL%20%28el.href%29%3B%0A%20%20%20%20%20%20url.search%20%3D%20%22%3Fr%3Dlocal-%22%20%2B%20Math.random%20%28%29%3B%0A%20%20%20%20%20%20el.href%20%3D%20url%3B%0A%20%20%20%20%7D%29%3B%0A%20%20%7D%20catch%20%28e%29%20%7B%0A%20%20%20%20iframe.contentWindow.postMessage%20%28%22reloadStylesheets%22%2C%20%22*%22%29%3B%0A%20%20%7D%0A%7D%29%3B%0A%0Avoid%20%280%29%3B%0A

特定のスタイル・シートを適用

www.nl.go.kr 引用

[40]

javascript:%0A%28%28%29%20%3D%3E%20%7B%0A%0A%20%20var%20form%20%3D%20document.querySelector%20%28%27%23errorSendForm%27%29%3B%0A%20%20if%20%28!form%29%20return%3B%0A%0A%20%20var%20id%20%3D%20form.querySelector%20%28%27%5Bname%3DcontrolNo%5D%27%29%3B%0A%20%20if%20%28!id%29%20return%3B%0A%20%20id%20%3D%20id.value%3B%0A%0A%20%20var%20title%20%3D%20form.querySelector%20%28%27%5Bname%3DbookTitle%5D%27%29%3B%0A%20%20if%20%28!title%29%20return%3B%0A%20%20title%20%3D%20title.value%3B%0A%0A%20%20var%20author%20%3D%20form.querySelector%20%28%27%5Bname%3Dauthor%5D%27%29%3B%0A%20%20author%20%3D%20author.value%3B%0A%0A%20%20var%20data%20%3D%20%22%5BCITE%5B%22%20%2B%20title%20%2B%20%22%5D%5D%20%28%5B%5B%22%20%2B%20author%20%2B%20%22%5D%5D%29%20%3Chttp%3A%2F%2Fwww.nl.go.kr%2Fnl%2Fsearch%2Fbookdetail%2Fonline.jsp%3Fcontents_id%3D%22%20%2B%20id%20%2B%20%22%3E%20%3Chttp%3A%2F%2Fviewer2.nl.go.kr%3A8080%2Fmain.wviewer%3Fcno%3D%22%20%2B%20id%20%2B%20%22%3E%22%3B%0A%20%20prompt%20%28%22%22%2C%20data%29%3B%0A%7D%29%20%28%29%3B%0A

Bookmarklet URI の記法についてのメモ

[23] ここでは、便宜的に次の用語を使っています。

ソース
元の JavaScript のコード
半ソース
URI のような形態の JavaScript のコード。 URI符号化のためそのままでは JavaScript として不正なこともある。
URI
URI の構文に適合するもの。間隔や二重引用符などは URI 符号化しなければならない。

[24] SuikaWiki は「HTML 表示」モードで URI 文字列を a 要素とした際に、 href 属性の値は URI としての正規化を行います。 ですから、原文に半ソースの状態で書いてあった場合、 HTML の要素の内容は半ソースのままですが、リンク先 URI は完全な URI になります。

従って、半ソースで書かれていても、 UA の「URI を複製」 のような機能をつかって完全な URI を取り出すことが可能かもしれません。

右クリック禁止、コピー禁止の解除

[74] 右クリック禁止コピー妨害が設定されているウェブページで、 それらを解除します。

javascript:%0Avar%20fix%3De%3D%3E%7Be.oncontextmenu%20%3D%20e.oncopy%20%3D%20e.onmousedown%20%3D%20e.onselectstart%20%3D%20e.onmouseup%20%3D%20%28ev%29%20%3D%3E%20ev.stopImmediatePropagation%20%28%29%3B%20e.style.userSelect%20%3D%20%27auto%27%7D%3B%0Afix%28document.body%29%3B%0Adocument.querySelectorAll%28%27body%20%3E%20*%2C%20article%2C%5Bitemprop%3D%22articleBody%22%5D%20%3E%20*%27%29.forEach%28fix%29%0Avoid%280%29%3B%0A%0A%0A

License

メモ

[39] JAVASCRIPT::BOOKMARKLET http://bookmarklet.daa.jp/

[46] StyleEdit javascript:%0A%0Avar%20NS_XHTML1%20%3D%20%27http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%27%3B%0Avar%20NS_XHTML2%20%3D%20%27http%3A%2F%2Fwww.w3.org%2F2002%2F06%2Fxhtml2%2F%27%3B%0A%0Avar%20styleel%20%3D%20document.getElementById%20%28%27STYLEEDIT-TEMP-STYLE%27%29%3B%0Aif%20%28!styleel%29%20%7B%0A%20%20styleel%20%3D%20document.getElementsByTagName%20%28%27head%27%29%5B0%5D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20.appendChild%20%28document.createElementNS%20%28NS_XHTML1%2C%20%27style%27%29%29%3B%0A%20%20styleel.type%20%3D%20%27text%2Fcss%27%3B%0A%20%20styleel.media%20%3D%20%27all%27%3B%0A%20%20styleel.id%20%3D%20%27STYLEEDIT-TEMP-STYLE%27%3B%0A%7D%0A%0Avar%20textareael%20%3D%20document.getElementById%20%28%27STYLEEDIT-TEMP-TEXTAREA%27%29%3B%0Aif%20%28!textareael%29%20%7B%0A%20%20textareael%20%3D%20document.createElementNS%20%28NS_XHTML1%2C%20%27textarea%27%29%3B%0A%20%20textareael.style.width%20%3D%20%27100%25%27%3B%0A%20%20textareael.style.height%20%3D%20%2710em%27%3B%0A%20%20textareael.id%20%3D%20%27STYLEEDIT-TEMP-TEXTAREA%27%3B%0A%20%20textareael.onchange%20%3D%20function%20%28%29%20%7B%0A%20%20%20%20styleel.textContent%20%3D%20this.value%3B%0A%20%20%7D%3B%0A%20%20textareael.value%20%3D%20styleel.textContent%3B%0A%20%20var%20seditsect%20%3D%20document.createElementNS%20%28NS_XHTML1%2C%20%27aside%27%29%3B%0A%20%20seditsect.setAttributeNS%20%28null%2C%20%27style%27%2C%20%22%5C%0A%20%20%20%20display%3A%20block%3B%5C%0A%20%20%20%20position%3A%20fixed%3B%5C%0A%20%20%20%20right%3A%200%3B%5C%0A%20%20%20%20bottom%3A%200%3B%5C%0A%20%20%20%20width%3A%2035%25%3B%5C%0A%20%20%20%20height%3A%2012em%3B%5C%0A%20%20%22%29%3B%0A%20%20var%20h%20%3D%20seditsect.appendChild%20%28document.createElementNS%20%28NS_XHTML2%2C%20%27h%27%29%29%3B%0A%20%20h.textContent%20%3D%20%27Additional%20CSS%20Style%20Rules%27%3B%0A%20%20h.addEventListener%20%28%27dblclick%27%2C%20function%20%28ev%29%20%7B%0A%20%20%20%20seditsect.parentNode.removeChild%20%28seditsect%29%3B%0A%20%20%7D%2C%20false%29%3B%0A%20%20var%20p%20%3D%20seditsect.appendChild%20%28document.createElementNS%20%28NS_XHTML1%2C%20%28%27p%27%29%29%29%3B%0A%20%20p.setAttributeNS%20%28null%2C%20%27class%27%2C%20%27nonpara%27%29%3B%0A%20%20p.style.textIndent%20%3D%20%270%27%3B%0A%20%20p.style.margin%20%3D%20%270%201em%200.5em%200%27%3B%0A%20%20p.style.padding%20%3D%20%270%27%3B%0A%20%20p.appendChild%20%28textareael%29%3B%0A%20%20document.body.appendChild%20%28seditsect%29%3B%0A%7D%0A%0Avoid%20%281%29%3B

表示中の文書に追加の CSS スタイル規則を付け加えてみるための入力欄を出現させます。 (名無しさん 2005-06-02 06:57:53 +00:00)

[47] 索引の作成 javascript:%20function%20make_dfn_index%20()%20%7Bconst%20NS_XHTML1%20=%20'http://www.w3.org/1999/xhtml';%20const%20NS_XHTML2%20=%20'http://www.w3.org/2002/06/xhtml2/';%0A%0Aconst%20NS_IDX%20=%20'http://suika.fam.cx/~wakaba/archive/2005/6/index#';%0A%0A%20%20%20%20%20%20%20%20%20%20var%20getAnonId%20=%20function%20(elNode)%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20var%20docEl%20=%20document.documentElement;%0A%20%20%20%20%20%20%20%20%20%20%20%20var%20seq%20=%20docEl.getAttributeNS%20(NS_IDX,%20'anonId');%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20(!seq)%20%7B%20seq%20=%200%20%7D%20else%20%7B%20seq%20=%20parseInt%20(seq)%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20docEl.setAttributeNS%20(NS_IDX,%20'idx:anonId',%20++seq);%0A%20%20%20%20%20%20%20%20%20%20%20%20return%20'AUTOIDX--ANON'%20+%20seq;%0A%20%20%20%20%20%20%20%20%20%20%7D;%0A%0A%20%20var%20defels%20=%20new%20Array%20();%0A%0A%20%20/*%20nons:span%5B@class=dfn%5D%20*/%0A%20%20var%20spans%20=%20document.getElementsByTagName%20('span');%0A%20%20var%20spansLen%20=%20spans.length;%0A%20%20for%20(var%20i%20=%200;%20i%20%3C%20spansLen;%20i++)%20%7B%0A%20%20%20%20var%20spanel%20=%20spans%5Bi%5D;%0A%20%20%20%20var%20spancls%20=%20spanel.getAttribute%20('class');%0A%20%20%20%20if%20(!spancls%20%7C%7C%20!spancls.match%20(/%5Cbdef%5Cb/))%20%7B%0A%20%20%20%20%20%20continue;%0A%20%20%20%20%7D%0A%20%20%20%20var%20spanid%20=%20spanel.getAttribute%20('id');%0A%20%20%20%20if%20(!spanid)%20%7B%0A%20%20%20%20%20%20spanid%20=%20getAnonId%20(spanel);%0A%20%20%20%20%20%20spanel.setAttribute%20('id',%20spanid);%0A%20%20%20%20%7D%0A%20%20%20%20var%20dfns%20=%20spanel.getElementsByTagName%20('dfn');%0A%20%20%20%20var%20dfnsLen%20=%20dfns.length;%0A%20%20%20%20for%20(var%20j%20=%200;%20j%20%3C%20dfnsLen;%20j++)%20%7B%0A%20%20%20%20%20%20var%20dfnel%20=%20dfns%5Bj%5D;%0A%20%20%20%20%20%20defels.push%20(%7Belement:%20spanel,%20label:%20dfnel,%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20id:%20spanid,%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20title:%20spanel.getAttribute%20('title')%20%7C%7C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20spanel.textContent,%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20key:%20dfnel.textContent.toLowerCase%20()%7D);%0A%20%20%20%20%20%20dfnel.setAttributeNS%20(NS_IDX,%20'idx:indexed',%20'true');%0A%20%20%20%20%7D%0A%20%20%20%20spanel.setAttributeNS%20(NS_IDX,%20'idx:indexed',%20'true');%0A%20%20%7D%0A%0A%20%20/*%20nons:dfn%20*/%0A%20%20var%20dfns%20=%20document.getElementsByTagName%20('dfn');%0A%20%20var%20dfnsLen%20=%20dfns.length;%0A%20%20for%20(var%20i%20=%200;%20i%20%3C%20dfnsLen;%20i++)%20%7B%0A%20%20%20%20var%20dfnel%20=%20dfns%5Bi%5D;%0A%20%20%20%20if%20(dfnel.getAttributeNS%20(NS_IDX,%20'indexed')%20==%20'true')%20%7B%0A%20%20%20%20%20%20continue;%0A%20%20%20%20%7D%0A%20%20%20%20var%20dfnid%20=%20dfnel.getAttribute%20('id');%0A%20%20%20%20if%20(!dfnid)%20%7B%0A%20%20%20%20%20%20dfnid%20=%20getAnonId%20(dfnel);%0A%20%20%20%20%20%20dfnel.setAttribute%20('id',%20dfnid);%0A%20%20%20%20%7D%0A%20%20%20%20defels.push%20(%7Belement:%20dfnel,%20label:%20dfnel,%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20id:%20dfnid,%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20key:%20dfnel.textContent.toLowerCase%20()%7D);%0A%20%20%20%20dfnel.setAttributeNS%20(NS_IDX,%20'idx:indexed',%20'true');%0A%20%20%7D%0A%0A%20%20defels.sort%20(function%20(a,%20b)%20%7B%0A%20%20%20%20if%20(a.key%20==%20b.key)%20%7B%0A%20%20%20%20%20%20return%200;%0A%20%20%20%20%7D%20else%20if%20(a.key%20%3E%20b.key)%20%7B%0A%20%20%20%20%20%20return%201;%0A%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20return%20-1;%0A%20%20%20%20%7D%0A%20%20%7D);%0A%0A%20%20var%20list%20=%20document.createElementNS%20('http://www.w3.org/2002/06/xhtml2/',%20'ul');%20%20%0A%0A%20%20for%20(var%20i%20=%200;%20i%20%3C%20defels.length;%20i++)%20%7B%0A%20%20%20%20var%20dfne%20=%20defels%5Bi%5D.element;%0A%20%20%20%20var%20item%20=%20document.createElementNS%20(NS_XHTML2,%20'li');%0A%20%20%20%20item.textContent%20=%20defels%5Bi%5D.label.textContent;%0A%20%20%20%20item.setAttributeNS%20(null,%20'href',%20'#'%20+%20encodeURIComponent%20(defels%5Bi%5D.id));%0A%20%20%20%20if%20(defels%5Bi%5D.title)%20%7B%0A%20%20%20%20%20%20item.setAttributeNS%20(null,%20'title',%20defels%5Bi%5D.title);%0A%20%20%20%20%7D%0A%20%20%20%20list.appendChild%20(item);%0A%20%20%7D%0A%0A%20%20if%20(list.childNodes.length%20%3E%200)%20%7B%0A%20%20%20%20var%20sect%20=%20document.createElementNS%20(NS_XHTML1,%20'section');%0A%20%20%20%20var%20h%20=%20document.createElementNS%20(NS_XHTML2,%20'h');%0A%20%20%20%20h.textContent%20=%20'%E7%B4%A2%E5%BC%95';%0A%20%20%20%20sect.appendChild%20(h);%0A%20%20%20%20sect.appendChild%20(list);%0A%0A%20%20%20%20document.body.appendChild%20(sect);%20%0A%20%20%7D%0A%0A%7D%20make_dfn_index%20();%0A

(名無しさん [sage] 2005-06-23 10:45:14 +00:00)

[48] リンク先が javascript: URI で、その中に 'http:...' という文字列リテラルが含まれている時、 その中身の文字列をリンク先にします。

javascript:%0A%0Avar%20links%20%3D%20document.links%3B%0Avar%20linksLength%20%3D%20links.length%3B%0A%0Afor%20%28var%20i%20%3D%200%3B%20i%20%3C%20linksLength%3B%20i%2B%2B%29%20%7B%0A%20%20var%20link%20%3D%20links%5Bi%5D%3B%0A%20%20var%20uri%20%3D%20link.href%3B%0A%20%20if%20%28uri.substring%20%280%2C%2011%29%20%3D%3D%20%27javascript%3A%27%29%20%7B%0A%20%20%20%20var%20start%20%3D%20uri.indexOf%20%28%22%27http%3A%22%29%3B%0A%20%20%20%20if%20%28start%20%3E%20-1%29%20%7B%0A%20%20%20%20%20%20uri%20%3D%20uri.substring%20%28start%20%2B%201%29%3B%0A%20%20%20%20%20%20uri%20%3D%20uri.substring%20%280%2C%20uri.indexOf%20%28%22%27%22%29%29%3B%0A%20%20%20%20%20%20link.href%20%3D%20uri%3B%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0A%0Avoid%20%280%29%3B

リンク先 URI に小細工しないでほしいですよね。。。

(名無しさん 2005-07-31 11:25:24 +00:00)

[49] slayeroffice | tools | Mouseover DOM Inspector v2.0 Help http://slayeroffice.com/tools/modi/v2.0/modi_help.html (名無しさん 2005-11-18 12:52:11 +00:00)

[50] javascript:void(document.write(document.body.textContent),document.close())

内容を HTML としてレンダリングする (名無しさん 2006-10-28 11:23:17 +00:00)

[51] javascript:%0A%0Avar%20pres%20%3D%20document.getElementsByTagName%20%28%27pre%27%29%3B%0Avar%20presLength%20%3D%20pres.length%3B%0A%0Afor%20%28var%20i%20%3D%200%3B%20i%20%3C%20presLength%3B%20i%2B%2B%29%20%7B%0A%20%20var%20pre%20%3D%20pres%5Bi%5D%3B%0A%20%20var%20preHTML%20%3D%20pre.innerHTML.replace%0A%20%20%20%20%20%20%28%2F%5E%5C%2B%28.*%29%24%2Fmg%2C%20function%20%28%240%2C%20%241%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20return%20%27%3Cins%20class%3D%22bookmarklet-diff%22%3E%27%20%2B%20%241%20%2B%20%27%3C%2Fins%3E%27%3B%0A%20%20%20%20%20%20%7D%29.replace%0A%20%20%20%20%20%20%28%2F%5E%5C-%28.*%29%24%2Fmg%2C%20function%20%28%240%2C%20%241%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20return%20%27%3Cdel%20class%3D%22bookmarklet-diff%22%3E%27%20%2B%20%241%20%2B%20%27%3C%2Fdel%3E%27%3B%0A%20%20%20%20%20%20%7D%29%3B%0A%20%20pre.innerHTML%20%3D%20preHTML%3B%0A%7D%0A%0Adocument.getElementsByTagName%20%28%27head%27%29%5B0%5D.appendChild%0A%20%20%20%20%28document.createElement%20%28%27style%27%29%29%0A%20%20%20%20.textContent%20%3D%20%27%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%5C%0A%20%20%20%20%20%20%20%20ins.bookmarklet-diff%20%7B%20%20%20%20%20%20%20%20%20%20%20%20%5C%0A%20%20%20%20%20%20%20%20%20%20border-style%3A%20none%3B%20%20%20%20%20%20%20%20%20%20%20%20%20%5C%0A%20%20%20%20%20%20%20%20%20%20text-decoration%3A%20none%3B%20%20%20%20%20%20%20%20%20%20%5C%0A%20%20%20%20%20%20%20%20%20%20background-color%3A%20yellow%3B%20%20%20%20%20%20%20%5C%0A%20%20%20%20%20%20%20%20%7D%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%5C%0A%20%20%20%20%20%20%20%20del.bookmarklet-diff%20%7B%20%20%20%20%20%20%20%20%20%20%20%20%5C%0A%20%20%20%20%20%20%20%20%20%20border-style%3A%20none%3B%20%20%20%20%20%20%20%20%20%20%20%20%20%5C%0A%20%20%20%20%20%20%20%20%20%20text-decoration%3A%20none%3B%20%20%20%20%20%20%20%20%20%20%5C%0A%20%20%20%20%20%20%20%20%20%20background-color%3A%20%23FBB%3B%20%20%20%20%20%20%20%20%20%5C%0A%20%20%20%20%20%20%20%20%7D%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%5C%0A%20%20%20%20%27%3B%0A%0Avoid%20%280%29%3B%0A

pre 内の unified diff の色づけ (名無しさん 2006-11-11 02:56:09 +00:00)

[52] javascript:%0A%0Avar%20pres%20%3D%20document.getElementsByTagName%20%28%27pre%27%29%3B%0Avar%20presLength%20%3D%20pres.length%3B%0A%0Avar%20currentRevision%20%3D%20document.getElementsByName%20%28%27from%27%29%5B0%5D%0A%20%20%20%20.value%3B%0A%0Afor%20%28var%20i%20%3D%200%3B%20i%20%3C%20presLength%3B%20i%2B%2B%29%20%7B%0A%20%20var%20pre%20%3D%20pres%5Bi%5D%3B%0A%20%20var%20preHTML%20%3D%20pre.innerHTML%3B%0A%0A%20%20var%20m%20%3D%20preHTML.match%20%28%2F%5E%5C%2B%5C%2B%5C%2B.%2B%5C%28revision%20%28%5Cd%2B%29%5C%29%2Fm%29%3B%0A%20%20if%20%28m%29%20%7B%0A%20%20%20%20currentRevision%20%3D%20parseInt%20%28m%5B1%5D%29%3B%0A%20%20%7D%0A%0A%20%20preHTML%20%3D%20preHTML.replace%0A%20%20%20%20%20%20%28%2F%5E%5C%2B%28.*%29%24%2Fmg%2C%20function%20%28%240%2C%20%241%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20return%20%27%3Cins%20class%3D%22bookmarklet-diff%22%3E%27%20%2B%20%241%20%2B%20%27%3C%2Fins%3E%27%3B%0A%20%20%20%20%20%20%7D%29.replace%0A%20%20%20%20%20%20%28%2F%5E%5C-%28.*%29%24%2Fmg%2C%20function%20%28%240%2C%20%241%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20return%20%27%3Cdel%20class%3D%22bookmarklet-diff%22%3E%27%20%2B%20%241%20%2B%20%27%3C%2Fdel%3E%27%3B%0A%20%20%20%20%20%20%7D%29%3B%0A%20%20pre.innerHTML%20%3D%20preHTML%3B%0A%7D%0A%0Adocument.getElementsByTagName%20%28%27head%27%29%5B0%5D.appendChild%0A%20%20%20%20%28document.createElement%20%28%27style%27%29%29%0A%20%20%20%20.textContent%20%3D%20%27%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%5C%0A%20%20%20%20%20%20%20%20ins.bookmarklet-diff%20%7B%20%20%20%20%20%20%20%20%20%20%20%20%5C%0A%20%20%20%20%20%20%20%20%20%20border-style%3A%20none%3B%20%20%20%20%20%20%20%20%20%20%20%20%20%5C%0A%20%20%20%20%20%20%20%20%20%20text-decoration%3A%20none%3B%20%20%20%20%20%20%20%20%20%20%5C%0A%20%20%20%20%20%20%20%20%20%20background-color%3A%20yellow%3B%20%20%20%20%20%20%20%5C%0A%20%20%20%20%20%20%20%20%7D%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%5C%0A%20%20%20%20%20%20%20%20del.bookmarklet-diff%20%7B%20%20%20%20%20%20%20%20%20%20%20%20%5C%0A%20%20%20%20%20%20%20%20%20%20border-style%3A%20none%3B%20%20%20%20%20%20%20%20%20%20%20%20%20%5C%0A%20%20%20%20%20%20%20%20%20%20text-decoration%3A%20none%3B%20%20%20%20%20%20%20%20%20%20%5C%0A%20%20%20%20%20%20%20%20%20%20background-color%3A%20%23FBB%3B%20%20%20%20%20%20%20%20%20%5C%0A%20%20%20%20%20%20%20%20%7D%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%5C%0A%20%20%20%20%20%20%20%20pre%20%7B%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%5C%0A%20%20%20%20%20%20%20%20%20%20white-space%3A%20-moz-pre-wrap%3B%20%20%20%20%20%5C%0A%20%20%20%20%20%20%20%20%20%20white-space%3A%20pre-wrap%3B%20%20%20%20%20%20%20%20%20%20%5C%0A%20%20%20%20%20%20%20%20%7D%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%5C%0A%20%20%20%20%27%3B%0A%0Avar%20a%20%3D%20document.body.insertBefore%0A%20%20%20%20%28document.createElement%20%28%27p%27%29%2C%20document.body.firstChild%29%0A%20%20%20%20.appendChild%0A%20%20%20%20%28document.createElement%20%28%27a%27%29%29%3B%0Aa.textContent%20%3D%20%27svn%20diff%20-r%20%27%20%2B%20currentRevision%3B%0Aa.href%20%3D%20%27http%3A%2F%2Fhtml5.org%2Ftools%2Fspecification-diff%3Ffrom%3D%27%0A%20%20%20%20%2B%20currentRevision%20%2B%20%27%26to%3D0%27%3B%0A%0Avoid%20%280%29%3B%0A

>>51Web Applications 1.0 用 (名無しさん 2006-11-11 03:06:31 +00:00)

[53] javascript:%0A%0Awindow.OpenInLiveDOMViewer%20%3D%20function%20%28uri%29%20%7B%0A%20%20var%20xhr%20%3D%20new%20XMLHttpRequest%20%28%29%3B%0A%20%20xhr.open%20%28%22GET%22%2C%20uri%2C%20false%29%3B%0A%20%20xhr.send%20%28null%29%3B%0A%20%20location.href%20%3D%20%0A%20%20%20%20%20%20%27http%3A%2F%2Fsoftware.hixie.ch%2Futilities%2Fjs%2Flive-dom-viewer%2F%3F%27%0A%20%20%20%20%20%20%2B%20encodeURIComponent%20%28xhr.responseText%29%3B%0A%7D%3B%0A%0Avar%20links%20%3D%20%5B%5D%3B%0Avar%20linksLength%20%3D%20document.links.length%3B%0Afor%20%28var%20i%20%3D%200%3B%20i%20%3C%20linksLength%3B%20i%2B%2B%29%20%7B%0A%20%20links%5Bi%5D%20%3D%20document.links%5Bi%5D%3B%0A%7D%0A%0Afor%20%28var%20i%20%3D%200%3B%20i%20%3C%20linksLength%3B%20i%2B%2B%29%20%7B%0A%20%20var%20link%20%3D%20links%5Bi%5D%3B%0A%20%20var%20container%20%3D%20document.createDocumentFragment%20%28%29%3B%0A%20%20container.appendChild%0A%20%20%20%20%20%20%28document.createTextNode%20%28%27%20%5B%27%29%29%3B%0A%20%20var%20a%20%3D%20container.appendChild%0A%20%20%20%20%20%20%28document.createElement%20%28%27a%27%29%29%3B%0A%20%20a.href%20%3D%20link.href%3B%0A%20%20a.appendChild%20%28document.createTextNode%20%28%27Live%20DOM%20Viewer%27%29%29%3B%0A%20%20a.onclick%20%3D%20function%20%28%29%20%7B%0A%20%20%20%20window.OpenInLiveDOMViewer%20%28this.href%29%3B%0A%20%20%20%20return%20false%3B%0A%20%20%7D%3B%0A%20%20container.appendChild%0A%20%20%20%20%20%20%28document.createTextNode%20%28%27%5D%27%29%29%3B%0A%20%20link.parentNode.insertBefore%0A%20%20%20%20%20%20%28container%2C%20link.nextSibling%29%3B%0A%7D%0A%0Avoid%20%280%29%3B%0A

リンク先を Live DOM Viewer で開く (名無しさん 2006-11-12 06:03:20 +00:00)

[54] >>53WinIE だと URI 長杉で動かないので・・・

javascript:%0A%0Avar%20s%20%3D%20document.createElement%20%28%27script%27%29%3B%0As.src%20%3D%20%27http%3A%2F%2Fsuika.fam.cx%2Fwww%2F2006%2Fopen-in-live-dom-viewer.js%27%3B%0A%0Adocument.body.appendChild%20%28s%29%3B%0Avoid%20%280%29%3B (名無しさん 2006-11-12 06:22:32 +00:00)

[55] javascript:%0A%0Avar%20dfns%20%3D%20document.getElementsByTagName%20%28%27dfn%27%29%3B%0Avar%20dfnsLength%20%3D%20dfns.length%3B%0A%0Avar%20lies%20%3D%20%5B%5D%3B%0A%0Afor%20%28var%20i%20%3D%200%3B%20i%20%3C%20dfnsLength%3B%20i%2B%2B%29%20%7B%0A%20%20var%20dfn%20%3D%20dfns%5Bi%5D%3B%0A%20%20var%20dfnContent%20%3D%20document.createDocumentFragment%20%28%29%3B%0A%20%20var%20dfnChildren%20%3D%20dfn.childNodes%3B%0A%20%20var%20dfnChildrenLength%20%3D%20dfnChildren.length%3B%0A%20%20for%20%28var%20j%20%3D%200%3B%20j%20%3C%20dfnChildrenLength%3B%20j%2B%2B%29%20%7B%0A%20%20%20%20dfnContent.appendChild%20%28dfnChildren%5Bj%5D.cloneNode%20%28true%29%29%3B%0A%20%20%7D%0A%20%20var%20dfnId%20%3D%20dfn.id%3B%0A%20%20if%20%28!dfnId%29%20%7B%0A%20%20%20%20document.DefinitionListIndex%2B%2B%3B%0A%20%20%20%20dfn.id%20%3D%20document.DefinitionListIndex%3B%0A%20%20%20%20dfnId%20%3D%20document.DefinitionListIndex%3B%0A%20%20%7D%0A%20%20var%20dfnTitle%20%3D%20dfn.title%3B%0A%0A%20%20var%20a%20%3D%20document.createElement%20%28%27a%27%29%3B%0A%20%20a.appendChild%20%28dfnContent%29%3B%0A%20%20a.href%20%3D%20%27%23%27%20%2B%20dfnId%3B%0A%20%20if%20%28dfnTitle%29%20%7B%0A%20%20%20%20a.title%20%3D%20dfnTitle%3B%0A%20%20%7D%20else%20%7B%0A%20%20%20%20dfnTitle%20%3D%20%27%27%3B%0A%20%20%7D%0A%0A%20%20var%20li%20%3D%20document.createElement%20%28%27li%27%29%3B%0A%20%20li.appendChild%20%28a%29%3B%0A%20%20lies.push%20%28%5Bli%2C%20li.textContent.toLowerCase%20%28%29%2C%0A%20%20%20%20%20%20dfnTitle.toLowerCase%20%28%29%5D%29%3B%0A%7D%0A%0Alies%20%3D%20lies.sort%20%28function%20%28a%2C%20b%29%20%7B%0A%20%20if%20%28a%5B1%5D%20%3C%20b%5B1%5D%29%20%7B%0A%20%20%20%20return%20-1%3B%0A%20%20%7D%20else%20if%20%28a%5B1%5D%20%3E%20b%5B1%5D%29%20%7B%0A%20%20%20%20return%201%3B%0A%20%20%7D%20else%20%7B%0A%20%20%20%20if%20%28a%5B2%5D%20%3C%20b%5B2%5D%29%20%7B%0A%20%20%20%20%20%20return%20-1%3B%0A%20%20%20%20%7D%20else%20if%20%28a%5B2%5D%20%3E%20b%5B2%5D%29%20%7B%0A%20%20%20%20%20%20return%201%3B%0A%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20return%200%3B%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%29%3B%0Avar%20list%20%3D%20document.createElement%20%28%27ul%27%29%3B%0Afor%20%28var%20i%20%3D%200%3B%20i%20%3C%20lies.length%3B%20i%2B%2B%29%20%7B%0A%20%20list.appendChild%20%28lies%5Bi%5D%5B0%5D%29%3B%0A%7D%0A%0Avar%20section%20%3D%20document.createElement%20%28%27section%27%29%3B%0Avar%20sectionHeader%20%3D%20document.createElement%20%28%27h2%27%29%3B%0AsectionHeader.textContent%20%3D%20%27Definitions%27%3B%0AsectionHeader.lang%20%3D%20%27en%27%3B%0Asection.appendChild%20%28sectionHeader%29%3B%0Asection.appendChild%20%28list%29%3B%0Adocument.body.appendChild%20%28section%29%3B%0A%0Avoid%20%280%29%3B%0A

文書の末尾に定義語 (dfn) 一覧を挿入する (名無しさん 2006-12-05 12:06:30 +00:00)

[64] embed src の一覧 (a href) を body 末尾に追加。

javascript:%0A%0Avar%20ul%20%3D%20document.createElement%20%28%27ul%27%29%3B%0A%0Avar%20embeds%20%3D%20document.embeds%3B%0Avar%20embedsLength%20%3D%20embeds.length%3B%0A%0Afor%20%28var%20i%20%3D%200%3B%20i%20%3C%20embedsLength%3B%20i%2B%2B%29%20%7B%0A%20%20var%20embedHref%20%3D%20embeds%5Bi%5D.src%3B%0A%20%20var%20a%20%3D%20document.createElement%20%28%27a%27%29%3B%0A%20%20a.href%20%3D%20embedHref%3B%0A%20%20a.textContent%20%3D%20%27%3C%27%20%2B%20embedHref%20%2B%20%27%3E%27%3B%0A%20%20var%20li%20%3D%20document.createElement%20%28%27li%27%29%3B%0A%20%20li.appendChild%20%28a%29%3B%0A%20%20ul.appendChild%20%28li%29%3B%0A%7D%0A%0Aif%20%28ul.hasChildNodes%20%28%29%29%20%7B%0A%20%20document.body.appendChild%20%28ul%29%3B%0A%7D%0A%0Avoid%20%280%29%3B%0A (名無しさん 2007-01-05 11:47:58 +00:00)

[65] XMDP プロファイルから定義されている語の一覧を作成する javascript:%0A%0Avar%20metaNames%20%3D%20document.createElement%20%28%27ul%27%29%3B%0Avar%20linkTypes%20%3D%20document.createElement%20%28%27ul%27%29%3B%0Avar%20classNames%20%3D%20document.createElement%20%28%27ul%27%29%3B%0A%0Afunction%20appendItem%20%28parentList%2C%20itemId%2C%20itemLabel%29%20%7B%0A%20%20var%20li%20%3D%20document.createElement%20%28%27li%27%29%3B%0A%20%20var%20a%20%3D%20document.createElement%20%28%27a%27%29%3B%0A%20%20a.href%20%3D%20%27%23%27%20%2B%20itemId%3B%0A%20%20var%20code%20%3D%20document.createElement%20%28%27code%27%29%3B%0A%20%20code.textContent%20%3D%20itemLabel%3B%0A%20%20a.appendChild%20%28code%29%3B%0A%20%20li.appendChild%20%28a%29%3B%0A%20%20parentList.appendChild%20%28li%29%3B%0A%20%20return%20li%3B%0A%7D%20%2F%2F%20appendItem%0A%0Afunction%20isHTMLElement%20%28el%29%20%7B%0A%20%20return%20%28el.nodeType%20%3D%3D%20el.ELEMENT_NODE%20%26%26%0A%20%20%20%20%20%20%28el.namespaceURI%20%3D%3D%20null%20%7C%7C%0A%20%20%20%20%20%20el.namespaceURI%20%3D%3D%20%27http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%27%29%29%3B%0A%7D%20%2F%2F%20isHTMLElement%0A%0Avar%20dls%20%3D%20document.getElementsByTagName%20%28%27dl%27%29%3B%0Avar%20dlsLength%20%3D%20dls.length%3B%0A%0ADLS%3A%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20dlsLength%3B%20i%2B%2B%29%20%7B%0A%20%20var%20dl%20%3D%20dls%5Bi%5D%3B%0A%20%20var%20dlClassNames%20%3D%20dl.className.split%20%28%2F%5Cs%2B%2F%29%3B%0A%20%20var%20isProfile%20%3D%20false%3B%0A%20%20for%20%28var%20j%20%3D%200%3B%20j%20%3C%20dlClassNames.length%3B%20j%2B%2B%29%20%7B%0A%20%20%20%20if%20%28dlClassNames%5Bj%5D%20%3D%3D%20%27profile%27%29%20%7B%0A%20%20%20%20%20%20isProfile%20%3D%20true%3B%0A%20%20%20%20%20%20break%3B%0A%20%20%20%20%7D%0A%20%20%7D%0A%20%20if%20%28!isProfile%29%20%7B%0A%20%20%20%20continue%20DLS%3B%0A%20%20%7D%0A%0A%20%20var%20lastLI%3B%0A%20%20var%20lastValues%3B%0A%20%20for%20%28var%20j%20%3D%200%3B%20j%20%3C%20dl.childNodes.length%3B%20j%2B%2B%29%20%7B%0A%20%20%20%20var%20el%20%3D%20dl.childNodes%5Bj%5D%3B%0A%20%20%20%20if%20%28isHTMLElement%20%28el%29%29%20%7B%0A%20%20%20%20%20%20var%20elLN%20%3D%20el.localName.toLowerCase%20%28%29%3B%0A%20%20%20%20%20%20if%20%28elLN%20%3D%3D%20%27dt%27%29%20%7B%0A%20%20%20%20%20%20%20%20var%20dtid%20%3D%20el.id%3B%0A%20%20%20%20%20%20%20%20if%20%28dtid%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20var%20dtTC%20%3D%20el.textContent%3B%0A%20%20%20%20%20%20%20%20%20%20if%20%28dtTC%20%3D%3D%20%27rel%27%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20%28lastLI%20%26%26%20lastValues.hasChildNodes%20%28%29%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20lastLI.appendChild%20%28lastValues%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20lastLI%20%3D%20null%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20lastValues%20%3D%20linkTypes%3B%0A%20%20%20%20%20%20%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20%28lastLI%20%26%26%20lastValues.hasChildNodes%20%28%29%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20lastLI.appendChild%20%28lastValues%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20lastLI%20%3D%20appendItem%20%28metaNames%2C%20dtid%2C%20dtTC%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20lastValues%20%3D%20document.createElement%20%28%27ul%27%29%3B%0A%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%7D%20else%20if%20%28elLN%20%3D%3D%20%27dd%27%20%26%26%20lastValues%29%20%7B%0A%20%20%20%20%20%20%20%20for%20%28var%20k%20%3D%200%3B%20k%20%3C%20el.childNodes.length%3B%20k%2B%2B%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20var%20cel%20%3D%20el.childNodes%5Bk%5D%3B%0A%20%20%20%20%20%20%20%20%20%20if%20%28isHTMLElement%20%28cel%29%20%26%26%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20cel.localName.toLowerCase%20%28%29%20%3D%3D%20%27dl%27%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20for%20%28var%20l%20%3D%200%3B%20l%20%3C%20cel.childNodes.length%3B%20l%2B%2B%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20var%20del%20%3D%20cel.childNodes%5Bl%5D%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20if%20%28isHTMLElement%20%28del%29%20%26%26%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20del.localName.toLowerCase%20%28%29%20%3D%3D%20%27dt%27%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20appendItem%20%28lastValues%2C%20del.id%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20del.textContent%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%20%20if%20%28lastLI%20%26%26%20lastValues.hasChildNodes%20%28%29%29%20%7B%0A%20%20%20%20lastLI.appendChild%20%28lastValues%29%3B%0A%20%20%7D%0A%7D%0A%0Avar%20propertiesContainer%20%3D%20document.createElement%20%28%27aside%27%29%3B%0A%0Aif%20%28metaNames.hasChildNodes%20%28%29%29%20%7B%0A%20%20var%20metaSection%20%3D%20document.createElement%20%28%27section%27%29%3B%0A%20%20metaSection.setAttribute%20%28%27style%27%2C%20%27display%3A%20block%3B%27%29%3B%0A%20%20var%20metaH%20%3D%20document.createElement%20%28%27h2%27%29%3B%0A%20%20metaH.appendChild%20%28document.createElement%20%28%27code%27%29%29%0A%20%20%20%20%20%20.textContent%20%3D%20%27meta%27%3B%0A%20%20metaH.appendChild%20%28document.createTextNode%20%28%27%20%27%29%29%3B%0A%20%20metaH.appendChild%20%28document.createElement%20%28%27code%27%29%29%0A%20%20%20%20%20%20.textContent%20%3D%20%27name%27%3B%0A%20%20metaH.appendChild%20%28document.createTextNode%20%28%27s%27%29%29%3B%0A%20%20metaSection.appendChild%20%28metaH%29%3B%0A%20%20metaSection.appendChild%20%28metaNames%29%3B%0A%20%20propertiesContainer.appendChild%20%28metaSection%29%3B%0A%7D%0Aif%20%28linkTypes.hasChildNodes%20%28%29%29%20%7B%0A%20%20var%20linkSection%20%3D%20document.createElement%20%28%27section%27%29%3B%0A%20%20linkSection.setAttribute%20%28%27style%27%2C%20%27display%3A%20block%3B%27%29%3B%0A%20%20var%20linkH%20%3D%20document.createElement%20%28%27h2%27%29%3B%0A%20%20linkH.textContent%20%3D%20%27Link%20Types%27%3B%0A%20%20linkSection.appendChild%20%28linkH%29%3B%0A%20%20linkSection.appendChild%20%28linkTypes%29%3B%0A%20%20propertiesContainer.appendChild%20%28linkSection%29%3B%0A%7D%0Aif%20%28classNames.hasChildNodes%20%28%29%29%20%7B%0A%20%20var%20classSection%3D%20document.createElement%20%28%27section%27%29%3B%0A%20%20classSection.setAttribute%20%28%27style%27%2C%20%27display%3A%20block%3B%27%29%3B%0A%20%20var%20classH%3D%20document.createElement%20%28%27h2%27%29%3B%0A%20%20classH.textContent%20%3D%20%27Class%20Names%27%3B%0A%20%20classSection.appendChild%20%28classH%29%3B%0A%20%20classSection.appendChild%20%28classNames%29%3B%0A%20%20propertiesContainer.appendChild%20%28classSection%29%3B%0A%7D%0A%0Aif%20%28propertiesContainer.hasChildNodes%20%28%29%29%20%7B%0A%20%20propertiesContainer.lang%20%3D%20%27en%27%3B%0A%20%20propertiesContainer.setAttribute%20%28%27style%27%2C%20%27display%3A%20block%27%29%3B%0A%0A%20%20var%20propertiesHeading%20%3D%20document.createElement%20%28%27h1%27%29%3B%0A%20%20propertiesHeading.textContent%0A%20%20%20%20%20%20%3D%20%27Terms%20Defined%20in%20This%20Profile%27%3B%0A%0A%20%20propertiesContainer.insertBefore%0A%20%20%20%20%20%20%28propertiesHeading%2C%20propertiesContainer.firstChild%29%3B%0A%20%20document.body.appendChild%20%28propertiesContainer%29%3B%0A%7D%0A%0Avoid%20%280%29%3B%0A (名無しさん 2007-01-06 11:59:57 +00:00)

[66] >>65 classclass 名の定義とみなすように。

javascript:%0A%0Avar%20metaNames%20%3D%20document.createElement%20%28%27ul%27%29%3B%0Avar%20linkTypes%20%3D%20document.createElement%20%28%27ul%27%29%3B%0Avar%20classNames%20%3D%20document.createElement%20%28%27ul%27%29%3B%0A%0Afunction%20appendItem%20%28parentList%2C%20itemId%2C%20itemLabel%29%20%7B%0A%20%20var%20li%20%3D%20document.createElement%20%28%27li%27%29%3B%0A%20%20var%20a%20%3D%20document.createElement%20%28%27a%27%29%3B%0A%20%20if%20%28itemId%20!%3D%20null%29%20%7B%0A%20%20%20%20a.href%20%3D%20%27%23%27%20%2B%20itemId%3B%0A%20%20%7D%0A%20%20var%20code%20%3D%20document.createElement%20%28%27code%27%29%3B%0A%20%20code.textContent%20%3D%20itemLabel%3B%0A%20%20a.appendChild%20%28code%29%3B%0A%20%20li.appendChild%20%28a%29%3B%0A%20%20parentList.appendChild%20%28li%29%3B%0A%20%20return%20li%3B%0A%7D%20%2F%2F%20appendItem%0A%0Afunction%20isHTMLElement%20%28el%29%20%7B%0A%20%20return%20%28el.nodeType%20%3D%3D%20el.ELEMENT_NODE%20%26%26%0A%20%20%20%20%20%20%28el.namespaceURI%20%3D%3D%20null%20%7C%7C%0A%20%20%20%20%20%20el.namespaceURI%20%3D%3D%20%27http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%27%29%29%3B%0A%7D%20%2F%2F%20isHTMLElement%0A%0Avar%20dls%20%3D%20document.getElementsByTagName%20%28%27dl%27%29%3B%0Avar%20dlsLength%20%3D%20dls.length%3B%0A%0ADLS%3A%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20dlsLength%3B%20i%2B%2B%29%20%7B%0A%20%20var%20dl%20%3D%20dls%5Bi%5D%3B%0A%20%20var%20dlClassNames%20%3D%20dl.className.split%20%28%2F%5Cs%2B%2F%29%3B%0A%20%20var%20isProfile%20%3D%20false%3B%0A%20%20for%20%28var%20j%20%3D%200%3B%20j%20%3C%20dlClassNames.length%3B%20j%2B%2B%29%20%7B%0A%20%20%20%20if%20%28dlClassNames%5Bj%5D%20%3D%3D%20%27profile%27%29%20%7B%0A%20%20%20%20%20%20isProfile%20%3D%20true%3B%0A%20%20%20%20%20%20break%3B%0A%20%20%20%20%7D%0A%20%20%7D%0A%20%20if%20%28!isProfile%29%20%7B%0A%20%20%20%20continue%20DLS%3B%0A%20%20%7D%0A%0A%20%20var%20lastLI%3B%0A%20%20var%20lastValues%3B%0A%20%20for%20%28var%20j%20%3D%200%3B%20j%20%3C%20dl.childNodes.length%3B%20j%2B%2B%29%20%7B%0A%20%20%20%20var%20el%20%3D%20dl.childNodes%5Bj%5D%3B%0A%20%20%20%20if%20%28isHTMLElement%20%28el%29%29%20%7B%0A%20%20%20%20%20%20var%20elLN%20%3D%20el.localName.toLowerCase%20%28%29%3B%0A%20%20%20%20%20%20if%20%28elLN%20%3D%3D%20%27dt%27%29%20%7B%0A%20%20%20%20%20%20%20%20var%20dtTC%20%3D%20el.textContent%3B%0A%20%20%20%20%20%20%20%20if%20%28dtTC%20%3D%3D%20%27rel%27%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20if%20%28lastLI%20%26%26%20lastValues.hasChildNodes%20%28%29%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20lastLI.appendChild%20%28lastValues%29%3B%0A%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20lastLI%20%3D%20null%3B%0A%20%20%20%20%20%20%20%20%20%20lastValues%20%3D%20linkTypes%3B%0A%20%20%20%20%20%20%20%20%7D%20else%20if%20%28dtTC%20%3D%3D%20%27class%27%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20if%20%28lastLI%20%26%26%20lastValues.hasChildNodes%20%28%29%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20lastLI.appendChild%20%28lastValues%29%3B%0A%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20lastLI%20%3D%20null%3B%0A%20%20%20%20%20%20%20%20%20%20lastValues%20%3D%20classNames%3B%0A%20%20%20%20%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20%20%20if%20%28lastLI%20%26%26%20lastValues.hasChildNodes%20%28%29%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20lastLI.appendChild%20%28lastValues%29%3B%0A%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20lastLI%20%3D%20appendItem%20%28metaNames%2C%20el.id%2C%20dtTC%29%3B%0A%20%20%20%20%20%20%20%20%20%20lastValues%20%3D%20document.createElement%20%28%27ul%27%29%3B%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%7D%20else%20if%20%28elLN%20%3D%3D%20%27dd%27%20%26%26%20lastValues%29%20%7B%0A%20%20%20%20%20%20%20%20for%20%28var%20k%20%3D%200%3B%20k%20%3C%20el.childNodes.length%3B%20k%2B%2B%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20var%20cel%20%3D%20el.childNodes%5Bk%5D%3B%0A%20%20%20%20%20%20%20%20%20%20if%20%28isHTMLElement%20%28cel%29%20%26%26%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20cel.localName.toLowerCase%20%28%29%20%3D%3D%20%27dl%27%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20for%20%28var%20l%20%3D%200%3B%20l%20%3C%20cel.childNodes.length%3B%20l%2B%2B%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20var%20del%20%3D%20cel.childNodes%5Bl%5D%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20if%20%28isHTMLElement%20%28del%29%20%26%26%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20del.localName.toLowerCase%20%28%29%20%3D%3D%20%27dt%27%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20appendItem%20%28lastValues%2C%20del.id%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20del.textContent%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%20%20if%20%28lastLI%20%26%26%20lastValues.hasChildNodes%20%28%29%29%20%7B%0A%20%20%20%20lastLI.appendChild%20%28lastValues%29%3B%0A%20%20%7D%0A%7D%0A%0Avar%20propertiesContainer%20%3D%20document.createElement%20%28%27aside%27%29%3B%0A%0Aif%20%28metaNames.hasChildNodes%20%28%29%29%20%7B%0A%20%20var%20metaSection%20%3D%20document.createElement%20%28%27section%27%29%3B%0A%20%20metaSection.setAttribute%20%28%27style%27%2C%20%27display%3A%20block%3B%27%29%3B%0A%20%20var%20metaH%20%3D%20document.createElement%20%28%27h2%27%29%3B%0A%20%20metaH.appendChild%20%28document.createElement%20%28%27code%27%29%29%0A%20%20%20%20%20%20.textContent%20%3D%20%27meta%27%3B%0A%20%20metaH.appendChild%20%28document.createTextNode%20%28%27%20%27%29%29%3B%0A%20%20metaH.appendChild%20%28document.createElement%20%28%27code%27%29%29%0A%20%20%20%20%20%20.textContent%20%3D%20%27name%27%3B%0A%20%20metaH.appendChild%20%28document.createTextNode%20%28%27s%27%29%29%3B%0A%20%20metaSection.appendChild%20%28metaH%29%3B%0A%20%20metaSection.appendChild%20%28metaNames%29%3B%0A%20%20propertiesContainer.appendChild%20%28metaSection%29%3B%0A%7D%0Aif%20%28linkTypes.hasChildNodes%20%28%29%29%20%7B%0A%20%20var%20linkSection%20%3D%20document.createElement%20%28%27section%27%29%3B%0A%20%20linkSection.setAttribute%20%28%27style%27%2C%20%27display%3A%20block%3B%27%29%3B%0A%20%20var%20linkH%20%3D%20document.createElement%20%28%27h2%27%29%3B%0A%20%20linkH.textContent%20%3D%20%27Link%20Types%27%3B%0A%20%20linkSection.appendChild%20%28linkH%29%3B%0A%20%20linkSection.appendChild%20%28linkTypes%29%3B%0A%20%20propertiesContainer.appendChild%20%28linkSection%29%3B%0A%7D%0Aif%20%28classNames.hasChildNodes%20%28%29%29%20%7B%0A%20%20var%20classSection%3D%20document.createElement%20%28%27section%27%29%3B%0A%20%20classSection.setAttribute%20%28%27style%27%2C%20%27display%3A%20block%3B%27%29%3B%0A%20%20var%20classH%3D%20document.createElement%20%28%27h2%27%29%3B%0A%20%20classH.textContent%20%3D%20%27Class%20Names%27%3B%0A%20%20classSection.appendChild%20%28classH%29%3B%0A%20%20classSection.appendChild%20%28classNames%29%3B%0A%20%20propertiesContainer.appendChild%20%28classSection%29%3B%0A%7D%0A%0Aif%20%28propertiesContainer.hasChildNodes%20%28%29%29%20%7B%0A%20%20propertiesContainer.lang%20%3D%20%27en%27%3B%0A%20%20propertiesContainer.setAttribute%20%28%27style%27%2C%20%27display%3A%20block%27%29%3B%0A%0A%20%20var%20propertiesHeading%20%3D%20document.createElement%20%28%27h1%27%29%3B%0A%20%20propertiesHeading.textContent%0A%20%20%20%20%20%20%3D%20%27Terms%20Defined%20in%20This%20Profile%27%3B%0A%0A%20%20propertiesContainer.insertBefore%0A%20%20%20%20%20%20%28propertiesHeading%2C%20propertiesContainer.firstChild%29%3B%0A%20%20document.body.appendChild%20%28propertiesContainer%29%3B%0A%7D%0A%0Avoid%20%280%29%3B%0A

(名無しさん 2007-01-06 12:11:01 +00:00)

[67] >>66 dd子孫 (非) の dl に対応

javascript:%0A%0Avar%20metaNames%20%3D%20document.createElement%20%28%27ul%27%29%3B%0Avar%20linkTypes%20%3D%20document.createElement%20%28%27ul%27%29%3B%0Avar%20classNames%20%3D%20document.createElement%20%28%27ul%27%29%3B%0A%0Afunction%20appendItem%20%28parentList%2C%20itemId%2C%20itemLabel%29%20%7B%0A%20%20var%20li%20%3D%20document.createElement%20%28%27li%27%29%3B%0A%20%20var%20a%20%3D%20document.createElement%20%28%27a%27%29%3B%0A%20%20if%20%28itemId%20!%3D%20null%29%20%7B%0A%20%20%20%20a.href%20%3D%20%27%23%27%20%2B%20itemId%3B%0A%20%20%7D%0A%20%20var%20code%20%3D%20document.createElement%20%28%27code%27%29%3B%0A%20%20code.textContent%20%3D%20itemLabel%3B%0A%20%20a.appendChild%20%28code%29%3B%0A%20%20li.appendChild%20%28a%29%3B%0A%20%20parentList.appendChild%20%28li%29%3B%0A%20%20return%20li%3B%0A%7D%20%2F%2F%20appendItem%0A%0Afunction%20isHTMLElement%20%28el%29%20%7B%0A%20%20return%20%28el.nodeType%20%3D%3D%20el.ELEMENT_NODE%20%26%26%0A%20%20%20%20%20%20%28el.namespaceURI%20%3D%3D%20null%20%7C%7C%0A%20%20%20%20%20%20el.namespaceURI%20%3D%3D%20%27http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%27%29%29%3B%0A%7D%20%2F%2F%20isHTMLElement%0A%0Avar%20dls%20%3D%20document.getElementsByTagName%20%28%27dl%27%29%3B%0Avar%20dlsLength%20%3D%20dls.length%3B%0A%0ADLS%3A%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20dlsLength%3B%20i%2B%2B%29%20%7B%0A%20%20var%20dl%20%3D%20dls%5Bi%5D%3B%0A%20%20var%20dlClassNames%20%3D%20dl.className.split%20%28%2F%5Cs%2B%2F%29%3B%0A%20%20var%20isProfile%20%3D%20false%3B%0A%20%20for%20%28var%20j%20%3D%200%3B%20j%20%3C%20dlClassNames.length%3B%20j%2B%2B%29%20%7B%0A%20%20%20%20if%20%28dlClassNames%5Bj%5D%20%3D%3D%20%27profile%27%29%20%7B%0A%20%20%20%20%20%20isProfile%20%3D%20true%3B%0A%20%20%20%20%20%20break%3B%0A%20%20%20%20%7D%0A%20%20%7D%0A%20%20if%20%28!isProfile%29%20%7B%0A%20%20%20%20continue%20DLS%3B%0A%20%20%7D%0A%0A%20%20var%20lastLI%3B%0A%20%20var%20lastValues%3B%0A%20%20for%20%28var%20j%20%3D%200%3B%20j%20%3C%20dl.childNodes.length%3B%20j%2B%2B%29%20%7B%0A%20%20%20%20var%20el%20%3D%20dl.childNodes%5Bj%5D%3B%0A%20%20%20%20if%20%28isHTMLElement%20%28el%29%29%20%7B%0A%20%20%20%20%20%20var%20elLN%20%3D%20el.localName.toLowerCase%20%28%29%3B%0A%20%20%20%20%20%20if%20%28elLN%20%3D%3D%20%27dt%27%29%20%7B%0A%20%20%20%20%20%20%20%20var%20dtTC%20%3D%20el.textContent%3B%0A%20%20%20%20%20%20%20%20if%20%28dtTC%20%3D%3D%20%27rel%27%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20if%20%28lastLI%20%26%26%20lastValues.hasChildNodes%20%28%29%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20lastLI.appendChild%20%28lastValues%29%3B%0A%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20lastLI%20%3D%20null%3B%0A%20%20%20%20%20%20%20%20%20%20lastValues%20%3D%20linkTypes%3B%0A%20%20%20%20%20%20%20%20%7D%20else%20if%20%28dtTC%20%3D%3D%20%27class%27%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20if%20%28lastLI%20%26%26%20lastValues.hasChildNodes%20%28%29%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20lastLI.appendChild%20%28lastValues%29%3B%0A%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20lastLI%20%3D%20null%3B%0A%20%20%20%20%20%20%20%20%20%20lastValues%20%3D%20classNames%3B%0A%20%20%20%20%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20%20%20if%20%28lastLI%20%26%26%20lastValues.hasChildNodes%20%28%29%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20lastLI.appendChild%20%28lastValues%29%3B%0A%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20lastLI%20%3D%20appendItem%20%28metaNames%2C%20el.id%2C%20dtTC%29%3B%0A%20%20%20%20%20%20%20%20%20%20lastValues%20%3D%20document.createElement%20%28%27ul%27%29%3B%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%7D%20else%20if%20%28elLN%20%3D%3D%20%27dd%27%20%26%26%20lastValues%29%20%7B%0A%20%20%20%20%20%20%20%20var%20subdls%20%3D%20el.getElementsByTagName%20%28%27dl%27%29%3B%0A%20%20%20%20%20%20%20%20var%20subdlsLength%20%3D%20subdls.length%3B%0A%20%20%20%20%20%20%20%20for%20%28var%20k%20%3D%200%3B%20k%20%3C%20subdlsLength%3B%20k%2B%2B%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20var%20cel%20%3D%20subdls%5Bk%5D%3B%0A%20%20%20%20%20%20%20%20%20%20for%20%28var%20l%20%3D%200%3B%20l%20%3C%20cel.childNodes.length%3B%20l%2B%2B%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20var%20del%20%3D%20cel.childNodes%5Bl%5D%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20%28isHTMLElement%20%28del%29%20%26%26%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20del.localName.toLowerCase%20%28%29%20%3D%3D%20%27dt%27%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20appendItem%20%28lastValues%2C%20del.id%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20del.textContent%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%20%20if%20%28lastLI%20%26%26%20lastValues.hasChildNodes%20%28%29%29%20%7B%0A%20%20%20%20lastLI.appendChild%20%28lastValues%29%3B%0A%20%20%7D%0A%7D%0A%0Avar%20propertiesContainer%20%3D%20document.createElement%20%28%27aside%27%29%3B%0A%0Aif%20%28metaNames.hasChildNodes%20%28%29%29%20%7B%0A%20%20var%20metaSection%20%3D%20document.createElement%20%28%27section%27%29%3B%0A%20%20metaSection.setAttribute%20%28%27style%27%2C%20%27display%3A%20block%3B%27%29%3B%0A%20%20var%20metaH%20%3D%20document.createElement%20%28%27h2%27%29%3B%0A%20%20metaH.appendChild%20%28document.createElement%20%28%27code%27%29%29%0A%20%20%20%20%20%20.textContent%20%3D%20%27meta%27%3B%0A%20%20metaH.appendChild%20%28document.createTextNode%20%28%27%20%27%29%29%3B%0A%20%20metaH.appendChild%20%28document.createElement%20%28%27code%27%29%29%0A%20%20%20%20%20%20.textContent%20%3D%20%27name%27%3B%0A%20%20metaH.appendChild%20%28document.createTextNode%20%28%27s%27%29%29%3B%0A%20%20metaSection.appendChild%20%28metaH%29%3B%0A%20%20metaSection.appendChild%20%28metaNames%29%3B%0A%20%20propertiesContainer.appendChild%20%28metaSection%29%3B%0A%7D%0Aif%20%28linkTypes.hasChildNodes%20%28%29%29%20%7B%0A%20%20var%20linkSection%20%3D%20document.createElement%20%28%27section%27%29%3B%0A%20%20linkSection.setAttribute%20%28%27style%27%2C%20%27display%3A%20block%3B%27%29%3B%0A%20%20var%20linkH%20%3D%20document.createElement%20%28%27h2%27%29%3B%0A%20%20linkH.textContent%20%3D%20%27Link%20Types%27%3B%0A%20%20linkSection.appendChild%20%28linkH%29%3B%0A%20%20linkSection.appendChild%20%28linkTypes%29%3B%0A%20%20propertiesContainer.appendChild%20%28linkSection%29%3B%0A%7D%0Aif%20%28classNames.hasChildNodes%20%28%29%29%20%7B%0A%20%20var%20classSection%3D%20document.createElement%20%28%27section%27%29%3B%0A%20%20classSection.setAttribute%20%28%27style%27%2C%20%27display%3A%20block%3B%27%29%3B%0A%20%20var%20classH%3D%20document.createElement%20%28%27h2%27%29%3B%0A%20%20classH.textContent%20%3D%20%27Class%20Names%27%3B%0A%20%20classSection.appendChild%20%28classH%29%3B%0A%20%20classSection.appendChild%20%28classNames%29%3B%0A%20%20propertiesContainer.appendChild%20%28classSection%29%3B%0A%7D%0A%0Aif%20%28propertiesContainer.hasChildNodes%20%28%29%29%20%7B%0A%20%20propertiesContainer.lang%20%3D%20%27en%27%3B%0A%20%20propertiesContainer.setAttribute%20%28%27style%27%2C%20%27display%3A%20block%27%29%3B%0A%0A%20%20var%20propertiesHeading%20%3D%20document.createElement%20%28%27h1%27%29%3B%0A%20%20propertiesHeading.textContent%0A%20%20%20%20%20%20%3D%20%27Terms%20Defined%20in%20This%20Profile%27%3B%0A%0A%20%20propertiesContainer.insertBefore%0A%20%20%20%20%20%20%28propertiesHeading%2C%20propertiesContainer.firstChild%29%3B%0A%20%20document.body.appendChild%20%28propertiesContainer%29%3B%0A%7D%0A%0Avoid%20%280%29%3B%0A (名無しさん 2007-01-06 12:32:03 +00:00)

[68] HTML文書から、要素属性、列挙系の属性値の使用頻度の表を作成する javascript:%0A%0Avar%20attrProp%20%3D%20%7B%0A%20%20%27http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%27%3A%20%7B%0A%20%20%20%20%27a%27%3A%20%7B%0A%20%20%20%20%20%20%27accesskey%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27href%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27name%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27onmouseout%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27onmouseover%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27title%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27base%27%3A%20%7B%0A%20%20%20%20%20%20%27href%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27body%27%3A%20%7B%0A%20%20%20%20%20%20%27alink%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27background%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27bgcolor%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27link%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27text%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27vlink%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27div%27%3A%20%7B%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27onclick%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27font%27%3A%20%7B%0A%20%20%20%20%20%20%27color%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27family%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27size%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27form%27%3A%20%7B%0A%20%20%20%20%20%20%27action%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27name%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27onreset%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27onsubmit%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27h1%27%3A%20%7B%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27h2%27%3A%20%7B%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27h3%27%3A%20%7B%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27hr%27%3A%20%7B%0A%20%20%20%20%20%20%27width%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27iframe%27%3A%20%7B%0A%20%20%20%20%20%20%27frameborder%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27height%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27hspace%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27marginheight%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27marginwidth%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27name%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27src%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27vspace%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27width%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27img%27%3A%20%7B%0A%20%20%20%20%20%20%27alt%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27border%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27height%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27hspace%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27src%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27title%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27vspace%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27width%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27input%27%3A%20%7B%0A%20%20%20%20%20%20%27accesskey%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27checked%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27name%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27size%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27src%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27title%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27value%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27label%27%3A%20%7B%0A%20%20%20%20%20%20%27for%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27title%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27li%27%3A%20%7B%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27link%27%3A%20%7B%0A%20%20%20%20%20%20%27href%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27title%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27meta%27%3A%20%7B%0A%20%20%20%20%20%20%27content%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27p%27%3A%20%7B%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27title%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27option%27%3A%20%7B%0A%20%20%20%20%20%20%27selected%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27value%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27script%27%3A%20%7B%0A%20%20%20%20%20%20%27src%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27select%27%3A%20%7B%0A%20%20%20%20%20%20%27name%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%27title%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27span%27%3A%20%7B%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27table%27%3A%20%7B%0A%20%20%20%20%20%20%27bgcolor%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27border%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27cellpadding%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27cellspacing%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27width%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27td%27%3A%20%7B%0A%20%20%20%20%20%20%27bgcolor%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27colspan%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27rowspan%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27width%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27th%27%3A%20%7B%0A%20%20%20%20%20%20%27bgcolor%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27colspan%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27rowspan%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27width%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27textarea%27%3A%20%7B%0A%20%20%20%20%20%20%27cols%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27name%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27rows%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27value%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27ul%27%3A%20%7B%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%3B%0A%0Avar%20isHTMLDocument%0A%20%20%20%20%3D%20%28typeof%20%28document.createElement%20%28%27A%27%29.href%29%0A%20%20%20%20!%3D%20%27undefined%27%29%3B%0A%0Avar%20els%20%3D%20document.getElementsByTagName%20%28%27*%27%29%3B%0Avar%20elsLength%20%3D%20els.length%3B%0A%0Avar%20elements%20%3D%20%7B%7D%3B%0A%0Afor%20%28var%20i%20%3D%200%3B%20i%20%3C%20elsLength%3B%20i%2B%2B%29%20%7B%0A%20%20var%20el%20%3D%20els%5Bi%5D%3B%0A%20%20var%20elNamespaceURI%20%3D%20el.namespaceURI%3B%0A%20%20if%20%28elNamespaceURI%20%3D%3D%20null%29%20%7B%0A%20%20%20%20if%20%28isHTMLDocument%29%20%7B%0A%20%20%20%20%20%20elNamespaceURI%20%3D%20%27http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%27%3B%0A%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20elNamespaceURI%20%3D%20%27%27%3B%0A%20%20%20%20%7D%0A%20%20%7D%0A%20%20var%20elLocalName%20%3D%20el.localName%3B%0A%20%20if%20%28isHTMLDocument%20%26%26%0A%20%20%20%20%20%20elNamespaceURI%20%3D%3D%20%27http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%27%29%20%7B%0A%20%20%20%20elLocalName%20%3D%20elLocalName.toLowerCase%20%28%29%3B%0A%20%20%7D%0A%0A%20%20if%20%28!elements%5BelNamespaceURI%5D%29%20%7B%0A%20%20%20%20elements%5BelNamespaceURI%5D%20%3D%20%7B%7D%3B%0A%20%20%7D%0A%20%20if%20%28elements%5BelNamespaceURI%5D%5BelLocalName%5D%29%20%7B%0A%20%20%20%20elements%5BelNamespaceURI%5D%5BelLocalName%5D.occurence%2B%2B%3B%0A%20%20%7D%20else%20%7B%0A%20%20%20%20elements%5BelNamespaceURI%5D%5BelLocalName%5D%20%3D%20%7B%0A%20%20%20%20%20%20occurence%3A%201%2C%0A%20%20%20%20%20%20attributes%3A%20%7B%7D%0A%20%20%20%20%7D%3B%0A%20%20%7D%0A%20%20var%20elInfo%20%3D%20elements%5BelNamespaceURI%5D%5BelLocalName%5D%3B%0A%0A%20%20var%20elAttributes%20%3D%20el.attributes%3B%0A%20%20for%20%28var%20j%20%3D%200%3B%20j%20%3C%20elAttributes.length%3B%20j%2B%2B%29%20%7B%0A%20%20%20%20var%20attr%20%3D%20elAttributes%5Bj%5D%3B%0A%20%20%20%20var%20attrNamespaceURI%20%3D%20attr.namespaceURI%3B%0A%20%20%20%20var%20attrLocalName%20%3D%20attr.localName%3B%0A%20%20%20%20if%20%28attrNamespaceURI%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20attrNamespaceURI%20%3D%20%27%27%3B%0A%20%20%20%20%20%20if%20%28isHTMLDocument%29%20%7B%0A%20%20%20%20%20%20%20%20attrLocalName%20%3D%20attrLocalName.toLowerCase%20%28%29%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%20%20if%20%28!elInfo.attributes%5BattrNamespaceURI%5D%29%20%7B%0A%20%20%20%20%20%20elInfo.attributes%5BattrNamespaceURI%5D%20%3D%20%7B%7D%3B%0A%20%20%20%20%7D%0A%20%20%20%20if%20%28elInfo.attributes%5BattrNamespaceURI%5D%5BattrLocalName%5D%29%20%7B%0A%20%20%20%20%20%20elInfo.attributes%5BattrNamespaceURI%5D%5BattrLocalName%5D%0A%20%20%20%20%20%20%20%20%20%20.occurence%2B%2B%3B%0A%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20elInfo.attributes%5BattrNamespaceURI%5D%5BattrLocalName%5D%20%3D%20%7B%0A%20%20%20%20%20%20%20%20occurence%3A%201%2C%0A%20%20%20%20%20%20%20%20values%3A%20%7B%7D%0A%20%20%20%20%20%20%7D%3B%0A%20%20%20%20%7D%0A%20%20%20%20attrInfo%20%3D%20elInfo.attributes%5BattrNamespaceURI%5D%0A%20%20%20%20%20%20%20%20%5BattrLocalName%5D%3B%0A%0A%20%20%20%20var%20showValue%20%3D%20true%3B%0A%20%20%20%20if%20%28attrNamespaceURI%20%3D%3D%20%27%27%20%26%26%0A%20%20%20%20%20%20%20%20attrProp%5BelNamespaceURI%5D%20%26%26%0A%20%20%20%20%20%20%20%20attrProp%5BelNamespaceURI%5D%5BelLocalName%5D%20%26%26%0A%20%20%20%20%20%20%20%20attrProp%5BelNamespaceURI%5D%5BelLocalName%5D%5BattrLocalName%5D%29%20%7B%0A%20%20%20%20%20%20showValue%20%3D%20attrProp%5BelNamespaceURI%5D%0A%20%20%20%20%20%20%20%20%20%20%5BelLocalName%5D%5BattrLocalName%5D.showValue%3B%0A%20%20%20%20%7D%0A%0A%20%20%20%20if%20%28showValue%29%20%7B%0A%20%20%20%20%20%20var%20val%20%3D%20attr.value%3B%0A%20%20%20%20%20%20if%20%28attrInfo.values%5Bval%5D%29%20%7B%0A%20%20%20%20%20%20%20%20attrInfo.values%5Bval%5D.occurence%2B%2B%3B%0A%20%20%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20attrInfo.values%5Bval%5D%20%3D%20%7B%0A%20%20%20%20%20%20%20%20%20%20occurence%3A%201%0A%20%20%20%20%20%20%20%20%7D%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0A%0Avar%20ul%20%3D%20document.createElement%20%28%27ul%27%29%3B%0A%0Afor%20%28var%20nsuri%20in%20elements%29%20%7B%0A%20%20var%20lns%20%3D%20%5B%5D%3B%0A%20%20for%20%28var%20ln%20in%20elements%5Bnsuri%5D%29%20%7B%0A%20%20%20%20lns.push%20%28ln%29%3B%0A%20%20%7D%0A%20%20lns%20%3D%20lns.sort%20%28%29%3B%0A%20%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20lns.length%3B%20i%2B%2B%29%20%7B%0A%20%20%20%20var%20ln%20%3D%20lns%5Bi%5D%3B%0A%20%20%20%20var%20elInfo%20%3D%20elements%5Bnsuri%5D%5Bln%5D%3B%0A%20%20%20%20var%20li%20%3D%20document.createElement%20%28%27li%27%29%3B%0A%20%20%20%20li.appendChild%20%28document.createTextNode%20%28%27%7B%27%29%29%3B%0A%20%20%20%20li.appendChild%20%28document.createElement%20%28%27code%27%29%29%0A%20%20%20%20%20%20%20%20.textContent%20%3D%20nsuri%3B%0A%20%20%20%20li.appendChild%20%28document.createTextNode%20%28%27%2C%20%27%29%29%3B%0A%20%20%20%20li.appendChild%20%28document.createElement%20%28%27code%27%29%29%0A%20%20%20%20%20%20%20%20.textContent%20%3D%20ln%3B%0A%20%20%20%20li.appendChild%20%28document.createTextNode%20%28%27%7D%3A%20%27%20%2B%20%0A%20%20%20%20%20%20%20%20elInfo.occurence%29%29%3B%0A%0A%20%20%20%20var%20attrUL%20%3D%20document.createElement%20%28%27ul%27%29%3B%0A%20%20%20%20for%20%28var%20attrNS%20in%20elInfo.attributes%29%20%7B%0A%20%20%20%20%20%20var%20attrLNs%20%3D%20%5B%5D%3B%0A%20%20%20%20%20%20for%20%28var%20attrLN%20in%20elInfo.attributes%5BattrNS%5D%29%20%7B%0A%20%20%20%20%20%20%20%20attrLNs.push%20%28attrLN%29%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20attrLNs%20%3D%20attrLNs.sort%20%28%29%3B%0A%20%20%20%20%20%20for%20%28var%20j%20%3D%200%3B%20j%20%3C%20attrLNs.length%3B%20j%2B%2B%29%20%7B%0A%20%20%20%20%20%20%20%20var%20attrLN%20%3D%20attrLNs%5Bj%5D%3B%0A%20%20%20%20%20%20%20%20var%20attrInfo%20%3D%20elInfo.attributes%5BattrNS%5D%5BattrLN%5D%3B%0A%20%20%20%20%20%20%20%20var%20attrLI%20%3D%20document.createElement%20%28%27li%27%29%3B%0A%20%20%20%20%20%20%20%20attrLI.appendChild%20%28document.createTextNode%20%28%27%7B%27%29%29%3B%0A%20%20%20%20%20%20%20%20attrLI.appendChild%20%28document.createElement%20%28%27code%27%29%29%0A%20%20%20%20%20%20%20%20%20%20%20%20.textContent%20%3D%20attrNS%3B%0A%20%20%20%20%20%20%20%20attrLI.appendChild%20%28document.createTextNode%20%28%27%2C%20%27%29%29%3B%0A%20%20%20%20%20%20%20%20attrLI.appendChild%20%28document.createElement%20%28%27code%27%29%29%0A%20%20%20%20%20%20%20%20%20%20%20%20.textContent%20%3D%20attrLN%3B%0A%20%20%20%20%20%20%20%20attrLI.appendChild%20%28document.createTextNode%20%28%27%7D%3A%20%27%20%2B%20%0A%20%20%20%20%20%20%20%20%20%20%20%20attrInfo.occurence%29%29%3B%0A%0A%20%20%20%20%20%20%20%20var%20valUL%20%3D%20document.createElement%20%28%27ul%27%29%3B%0A%20%20%20%20%20%20%20%20var%20vals%20%3D%20%5B%5D%3B%0A%20%20%20%20%20%20%20%20for%20%28val%20in%20attrInfo.values%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20vals.push%20%28val%29%3B%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20vals%20%3D%20vals.sort%20%28%29%3B%0A%20%20%20%20%20%20%20%20for%20%28var%20k%20%3D%200%3B%20k%20%3C%20vals.length%3B%20k%2B%2B%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20var%20val%20%3D%20vals%5Bk%5D%3B%0A%20%20%20%20%20%20%20%20%20%20var%20valInfo%20%3D%20attrInfo.values%5Bval%5D%3B%0A%20%20%20%20%20%20%20%20%20%20var%20valLI%20%3D%20document.createElement%20%28%27li%27%29%3B%0A%20%20%20%20%20%20%20%20%20%20valLI.appendChild%20%28document.createElement%20%28%27code%27%29%29%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20.textContent%20%3D%20val%3B%0A%20%20%20%20%20%20%20%20%20%20valLI.appendChild%20%28document.createTextNode%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%28%27%3A%20%27%20%2B%20valInfo.occurence%29%29%3B%0A%20%20%20%20%20%20%20%20%20%20valUL.appendChild%20%28valLI%29%3B%0A%20%20%20%20%20%20%20%20%7D%0A%0A%20%20%20%20%20%20%20%20if%20%28valUL.hasChildNodes%20%28%29%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20attrLI.appendChild%20%28valUL%29%3B%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20attrUL.appendChild%20%28attrLI%29%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%0A%20%20%20%20if%20%28attrUL.hasChildNodes%20%28%29%29%20%7B%0A%20%20%20%20%20%20li.appendChild%20%28attrUL%29%3B%0A%20%20%20%20%7D%0A%20%20%20%20ul.appendChild%20%28li%29%3B%0A%20%20%7D%0A%7D%0A%0Adocument.body.appendChild%20%28ul%29%3B%0A%0Avoid%20%280%29%3B%0A (名無しさん 2007-01-06 14:13:43 +00:00)

[69] >>68 対応要素を増やした javascript:%0A%0Avar%20attrProp%20%3D%20%7B%0A%20%20%27http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%27%3A%20%7B%0A%20%20%20%20%27a%27%3A%20%7B%0A%20%20%20%20%20%20%27accesskey%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27href%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27name%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27onclick%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27onmousedown%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27onmouseout%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27onmouseover%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27tabindex%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27title%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27area%27%3A%20%7B%0A%20%20%20%20%20%20%27accesskey%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27alt%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27coords%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27href%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27name%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27nohref%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27onclick%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27onmouseout%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27onmouseover%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27title%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27aside%27%3A%20%7B%0A%20%20%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27base%27%3A%20%7B%0A%20%20%20%20%20%20%27href%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27blockquote%27%3A%20%7B%0A%20%20%20%20%20%20%27cite%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27body%27%3A%20%7B%0A%20%20%20%20%20%20%27alink%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27background%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27bgcolor%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27leftmargin%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27link%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27marginheight%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27marginwidth%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27onload%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27onunload%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27text%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27topmargin%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27vlink%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27code%27%3A%20%7B%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27onclick%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27title%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27dd%27%3A%20%7B%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27onclick%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27title%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27dfn%27%3A%20%7B%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27onclick%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27title%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27div%27%3A%20%7B%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27onclick%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27onmouseover%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27onmouseout%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27width%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27dl%27%3A%20%7B%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27onclick%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27title%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27dt%27%3A%20%7B%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27onclick%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27title%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27em%27%3A%20%7B%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27onclick%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27title%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27embed%27%3A%20%7B%0A%20%20%20%20%20%20%27bgcolor%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27height%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27onclick%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27pluginspage%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27src%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27title%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27width%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27font%27%3A%20%7B%0A%20%20%20%20%20%20%27color%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27face%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27size%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27form%27%3A%20%7B%0A%20%20%20%20%20%20%27action%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27name%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27onreset%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27onsubmit%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27h1%27%3A%20%7B%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27title%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27h2%27%3A%20%7B%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27title%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27h3%27%3A%20%7B%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27title%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27h4%27%3A%20%7B%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27title%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27h5%27%3A%20%7B%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27title%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27h6%27%3A%20%7B%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27title%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27hr%27%3A%20%7B%0A%20%20%20%20%20%20%27noshade%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27size%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27title%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27width%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27iframe%27%3A%20%7B%0A%20%20%20%20%20%20%27border%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27frameborder%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27height%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27hspace%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27marginheight%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27marginwidth%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27name%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27onmouseout%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27onmouseover%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27src%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27vspace%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27width%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27img%27%3A%20%7B%0A%20%20%20%20%20%20%27alt%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27border%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27height%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27hspace%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27name%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27oncontextmenu%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27src%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27title%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27usemap%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27vspace%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27width%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27input%27%3A%20%7B%0A%20%20%20%20%20%20%27accesskey%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27alt%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27border%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27checked%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27height%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27maxlength%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27name%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27onchange%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27onclick%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27onfocus%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27onkeypress%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27size%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27src%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27title%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27value%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27width%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27label%27%3A%20%7B%0A%20%20%20%20%20%20%27for%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27title%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27li%27%3A%20%7B%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27link%27%3A%20%7B%0A%20%20%20%20%20%20%27href%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27title%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27map%27%3A%20%7B%0A%20%20%20%20%20%20%27name%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27title%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27meta%27%3A%20%7B%0A%20%20%20%20%20%20%27content%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27object%27%3A%20%7B%0A%20%20%20%20%20%20%27classid%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27code%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27codebase%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27height%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27width%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27option%27%3A%20%7B%0A%20%20%20%20%20%20%27selected%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27value%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27p%27%3A%20%7B%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27title%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27param%27%3A%20%7B%0A%20%20%20%20%20%20%27name%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27value%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27q%27%3A%20%7B%0A%20%20%20%20%20%20%27cite%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27title%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27script%27%3A%20%7B%0A%20%20%20%20%20%20%27defer%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27src%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27select%27%3A%20%7B%0A%20%20%20%20%20%20%27multiple%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27name%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27onchange%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27size%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27small%27%3A%20%7B%0A%20%20%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27title%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27spacer%27%3A%20%7B%0A%20%20%20%20%20%20%27height%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27width%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27span%27%3A%20%7B%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27title%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%27title%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27table%27%3A%20%7B%0A%20%20%20%20%20%20%27background%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27bgcolor%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27border%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27bordercolor%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27bordercolordark%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27bordercolorlight%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27cellpadding%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27cellspacing%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27height%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27summary%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27width%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27td%27%3A%20%7B%0A%20%20%20%20%20%20%27background%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27bgcolor%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27colspan%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27height%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27nowrap%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27rowspan%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27width%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27textarea%27%3A%20%7B%0A%20%20%20%20%20%20%27cols%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27name%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27onchange%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27rows%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27value%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27th%27%3A%20%7B%0A%20%20%20%20%20%20%27background%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27bgcolor%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27colspan%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27height%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27nowrap%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27rowspan%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27width%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27tr%27%3A%20%7B%0A%20%20%20%20%20%20%27bgcolor%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27height%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27ul%27%3A%20%7B%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%27style%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%27var%27%3A%20%7B%0A%20%20%20%20%20%20%27id%27%3A%20%7B%0A%20%20%20%20%20%20%20%20showValue%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%3B%0A%0Avar%20isHTMLDocument%0A%20%20%20%20%3D%20%28typeof%20%28document.createElement%20%28%27A%27%29.href%29%0A%20%20%20%20!%3D%20%27undefined%27%29%3B%0A%0Avar%20els%20%3D%20document.getElementsByTagName%20%28%27*%27%29%3B%0Avar%20elsLength%20%3D%20els.length%3B%0A%0Avar%20elements%20%3D%20%7B%7D%3B%0A%0Afor%20%28var%20i%20%3D%200%3B%20i%20%3C%20elsLength%3B%20i%2B%2B%29%20%7B%0A%20%20var%20el%20%3D%20els%5Bi%5D%3B%0A%20%20var%20elNamespaceURI%20%3D%20el.namespaceURI%3B%0A%20%20if%20%28elNamespaceURI%20%3D%3D%20null%29%20%7B%0A%20%20%20%20if%20%28isHTMLDocument%29%20%7B%0A%20%20%20%20%20%20elNamespaceURI%20%3D%20%27http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%27%3B%0A%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20elNamespaceURI%20%3D%20%27%27%3B%0A%20%20%20%20%7D%0A%20%20%7D%0A%20%20var%20elLocalName%20%3D%20el.localName%3B%0A%20%20if%20%28isHTMLDocument%20%26%26%0A%20%20%20%20%20%20elNamespaceURI%20%3D%3D%20%27http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%27%29%20%7B%0A%20%20%20%20elLocalName%20%3D%20elLocalName.toLowerCase%20%28%29%3B%0A%20%20%7D%0A%0A%20%20if%20%28!elements%5BelNamespaceURI%5D%29%20%7B%0A%20%20%20%20elements%5BelNamespaceURI%5D%20%3D%20%7B%7D%3B%0A%20%20%7D%0A%20%20if%20%28elements%5BelNamespaceURI%5D%5BelLocalName%5D%29%20%7B%0A%20%20%20%20elements%5BelNamespaceURI%5D%5BelLocalName%5D.occurence%2B%2B%3B%0A%20%20%7D%20else%20%7B%0A%20%20%20%20elements%5BelNamespaceURI%5D%5BelLocalName%5D%20%3D%20%7B%0A%20%20%20%20%20%20occurence%3A%201%2C%0A%20%20%20%20%20%20attributes%3A%20%7B%7D%0A%20%20%20%20%7D%3B%0A%20%20%7D%0A%20%20var%20elInfo%20%3D%20elements%5BelNamespaceURI%5D%5BelLocalName%5D%3B%0A%0A%20%20var%20elAttributes%20%3D%20el.attributes%3B%0A%20%20for%20%28var%20j%20%3D%200%3B%20j%20%3C%20elAttributes.length%3B%20j%2B%2B%29%20%7B%0A%20%20%20%20var%20attr%20%3D%20elAttributes%5Bj%5D%3B%0A%20%20%20%20var%20attrNamespaceURI%20%3D%20attr.namespaceURI%3B%0A%20%20%20%20var%20attrLocalName%20%3D%20attr.localName%3B%0A%20%20%20%20if%20%28attrNamespaceURI%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20attrNamespaceURI%20%3D%20%27%27%3B%0A%20%20%20%20%20%20if%20%28isHTMLDocument%29%20%7B%0A%20%20%20%20%20%20%20%20attrLocalName%20%3D%20attrLocalName.toLowerCase%20%28%29%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%20%20if%20%28!elInfo.attributes%5BattrNamespaceURI%5D%29%20%7B%0A%20%20%20%20%20%20elInfo.attributes%5BattrNamespaceURI%5D%20%3D%20%7B%7D%3B%0A%20%20%20%20%7D%0A%20%20%20%20if%20%28elInfo.attributes%5BattrNamespaceURI%5D%5BattrLocalName%5D%29%20%7B%0A%20%20%20%20%20%20elInfo.attributes%5BattrNamespaceURI%5D%5BattrLocalName%5D%0A%20%20%20%20%20%20%20%20%20%20.occurence%2B%2B%3B%0A%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20elInfo.attributes%5BattrNamespaceURI%5D%5BattrLocalName%5D%20%3D%20%7B%0A%20%20%20%20%20%20%20%20occurence%3A%201%2C%0A%20%20%20%20%20%20%20%20values%3A%20%7B%7D%0A%20%20%20%20%20%20%7D%3B%0A%20%20%20%20%7D%0A%20%20%20%20attrInfo%20%3D%20elInfo.attributes%5BattrNamespaceURI%5D%0A%20%20%20%20%20%20%20%20%5BattrLocalName%5D%3B%0A%0A%20%20%20%20var%20showValue%20%3D%20true%3B%0A%20%20%20%20if%20%28attrNamespaceURI%20%3D%3D%20%27%27%20%26%26%0A%20%20%20%20%20%20%20%20attrProp%5BelNamespaceURI%5D%20%26%26%0A%20%20%20%20%20%20%20%20attrProp%5BelNamespaceURI%5D%5BelLocalName%5D%20%26%26%0A%20%20%20%20%20%20%20%20attrProp%5BelNamespaceURI%5D%5BelLocalName%5D%5BattrLocalName%5D%29%20%7B%0A%20%20%20%20%20%20showValue%20%3D%20attrProp%5BelNamespaceURI%5D%0A%20%20%20%20%20%20%20%20%20%20%5BelLocalName%5D%5BattrLocalName%5D.showValue%3B%0A%20%20%20%20%7D%0A%0A%20%20%20%20if%20%28showValue%29%20%7B%0A%20%20%20%20%20%20var%20val%20%3D%20attr.value%3B%0A%20%20%20%20%20%20if%20%28attrInfo.values%5Bval%5D%29%20%7B%0A%20%20%20%20%20%20%20%20attrInfo.values%5Bval%5D.occurence%2B%2B%3B%0A%20%20%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20attrInfo.values%5Bval%5D%20%3D%20%7B%0A%20%20%20%20%20%20%20%20%20%20occurence%3A%201%0A%20%20%20%20%20%20%20%20%7D%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0A%0Avar%20ul%20%3D%20document.createElement%20%28%27ul%27%29%3B%0A%0Afor%20%28var%20nsuri%20in%20elements%29%20%7B%0A%20%20var%20lns%20%3D%20%5B%5D%3B%0A%20%20for%20%28var%20ln%20in%20elements%5Bnsuri%5D%29%20%7B%0A%20%20%20%20lns.push%20%28ln%29%3B%0A%20%20%7D%0A%20%20lns%20%3D%20lns.sort%20%28%29%3B%0A%20%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20lns.length%3B%20i%2B%2B%29%20%7B%0A%20%20%20%20var%20ln%20%3D%20lns%5Bi%5D%3B%0A%20%20%20%20var%20elInfo%20%3D%20elements%5Bnsuri%5D%5Bln%5D%3B%0A%20%20%20%20var%20li%20%3D%20document.createElement%20%28%27li%27%29%3B%0A%20%20%20%20li.appendChild%20%28document.createTextNode%20%28%27%7B%27%29%29%3B%0A%20%20%20%20li.appendChild%20%28document.createElement%20%28%27code%27%29%29%0A%20%20%20%20%20%20%20%20.textContent%20%3D%20nsuri%3B%0A%20%20%20%20li.appendChild%20%28document.createTextNode%20%28%27%2C%20%27%29%29%3B%0A%20%20%20%20li.appendChild%20%28document.createElement%20%28%27code%27%29%29%0A%20%20%20%20%20%20%20%20.textContent%20%3D%20ln%3B%0A%20%20%20%20li.appendChild%20%28document.createTextNode%20%28%27%7D%3A%20%27%20%2B%20%0A%20%20%20%20%20%20%20%20elInfo.occurence%29%29%3B%0A%0A%20%20%20%20var%20attrUL%20%3D%20document.createElement%20%28%27ul%27%29%3B%0A%20%20%20%20for%20%28var%20attrNS%20in%20elInfo.attributes%29%20%7B%0A%20%20%20%20%20%20var%20attrLNs%20%3D%20%5B%5D%3B%0A%20%20%20%20%20%20for%20%28var%20attrLN%20in%20elInfo.attributes%5BattrNS%5D%29%20%7B%0A%20%20%20%20%20%20%20%20attrLNs.push%20%28attrLN%29%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20attrLNs%20%3D%20attrLNs.sort%20%28%29%3B%0A%20%20%20%20%20%20for%20%28var%20j%20%3D%200%3B%20j%20%3C%20attrLNs.length%3B%20j%2B%2B%29%20%7B%0A%20%20%20%20%20%20%20%20var%20attrLN%20%3D%20attrLNs%5Bj%5D%3B%0A%20%20%20%20%20%20%20%20var%20attrInfo%20%3D%20elInfo.attributes%5BattrNS%5D%5BattrLN%5D%3B%0A%20%20%20%20%20%20%20%20var%20attrLI%20%3D%20document.createElement%20%28%27li%27%29%3B%0A%20%20%20%20%20%20%20%20attrLI.appendChild%20%28document.createTextNode%20%28%27%7B%27%29%29%3B%0A%20%20%20%20%20%20%20%20attrLI.appendChild%20%28document.createElement%20%28%27code%27%29%29%0A%20%20%20%20%20%20%20%20%20%20%20%20.textContent%20%3D%20attrNS%3B%0A%20%20%20%20%20%20%20%20attrLI.appendChild%20%28document.createTextNode%20%28%27%2C%20%27%29%29%3B%0A%20%20%20%20%20%20%20%20attrLI.appendChild%20%28document.createElement%20%28%27code%27%29%29%0A%20%20%20%20%20%20%20%20%20%20%20%20.textContent%20%3D%20attrLN%3B%0A%20%20%20%20%20%20%20%20attrLI.appendChild%20%28document.createTextNode%20%28%27%7D%3A%20%27%20%2B%20%0A%20%20%20%20%20%20%20%20%20%20%20%20attrInfo.occurence%29%29%3B%0A%0A%20%20%20%20%20%20%20%20var%20valUL%20%3D%20document.createElement%20%28%27ul%27%29%3B%0A%20%20%20%20%20%20%20%20var%20vals%20%3D%20%5B%5D%3B%0A%20%20%20%20%20%20%20%20for%20%28val%20in%20attrInfo.values%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20vals.push%20%28val%29%3B%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20vals%20%3D%20vals.sort%20%28%29%3B%0A%20%20%20%20%20%20%20%20for%20%28var%20k%20%3D%200%3B%20k%20%3C%20vals.length%3B%20k%2B%2B%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20var%20val%20%3D%20vals%5Bk%5D%3B%0A%20%20%20%20%20%20%20%20%20%20var%20valInfo%20%3D%20attrInfo.values%5Bval%5D%3B%0A%20%20%20%20%20%20%20%20%20%20var%20valLI%20%3D%20document.createElement%20%28%27li%27%29%3B%0A%20%20%20%20%20%20%20%20%20%20valLI.appendChild%20%28document.createElement%20%28%27code%27%29%29%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20.textContent%20%3D%20val%3B%0A%20%20%20%20%20%20%20%20%20%20valLI.appendChild%20%28document.createTextNode%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%28%27%3A%20%27%20%2B%20valInfo.occurence%29%29%3B%0A%20%20%20%20%20%20%20%20%20%20valUL.appendChild%20%28valLI%29%3B%0A%20%20%20%20%20%20%20%20%7D%0A%0A%20%20%20%20%20%20%20%20if%20%28valUL.hasChildNodes%20%28%29%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20attrLI.appendChild%20%28valUL%29%3B%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20attrUL.appendChild%20%28attrLI%29%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%0A%20%20%20%20if%20%28attrUL.hasChildNodes%20%28%29%29%20%7B%0A%20%20%20%20%20%20li.appendChild%20%28attrUL%29%3B%0A%20%20%20%20%7D%0A%20%20%20%20ul.appendChild%20%28li%29%3B%0A%20%20%7D%0A%7D%0A%0Avar%20aside%20%3D%20document.createElement%20%28%27aside%27%29%3B%0Aaside.lang%20%3D%20%27en%27%3B%0Aaside.setAttribute%20%28%27style%27%2C%20%27display%3A%20block%3B%20%5C%0A%20%20%20%20padding%3A%201em%3B%5C%0A%20%20%20%20background%3A%20Window%3B%5C%0A%20%20%20%20color%3A%20WindowText%3B%5C%0A%20%20%20%20text-align%3A%20left%3B%5C%0A%20%20%20%20font-size%3A%20-moz-initial%27%29%3B%0Avar%20h%20%3D%20document.createElement%20%28%27h1%27%29%3B%0Ah.textContent%20%3D%20%27Elements%20in%20This%20Document%27%3B%0Aaside.appendChild%20%28h%29%3B%0Aaside.appendChild%20%28ul%29%3B%0Adocument.body.appendChild%20%28aside%29%3B%0A%0Avoid%20%280%29%3B%0A (名無しさん 2007-01-06 15:30:21 +00:00)

[85] 編集 (insdel) の一覧を表示する javascript:%0A%0Avar%20list%20%3D%20document.createElement%20%28%27ol%27%29%3B%0Avar%20nextId%20%3D%200%3B%0A%0Avar%20els%20%3D%20document.getElementsByTagName%20%28%27*%27%29%3B%0Avar%20elsLength%20%3D%20els.length%3B%0Afor%20%28var%20i%20%3D%200%3B%20i%20%3C%20elsLength%3B%20i%2B%2B%29%20%7B%0A%20%20var%20el%20%3D%20els%5Bi%5D%3B%0A%20%20if%20%28el.namespaceURI%20%3D%3D%20null%20%7C%7C%0A%20%20%20%20%20%20el.namespaceURI%20%3D%3D%20%27http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%27%29%20%7B%0A%20%20%20%20var%20ln%20%3D%20el.localName.toLowerCase%20%28%29%3B%0A%20%20%20%20if%20%28ln%20%3D%3D%20%27ins%27%29%20%7B%0A%20%20%20%20%20%20addLink%20%28el%2C%20%27insert%27%29%3B%0A%20%20%20%20%7D%20else%20if%20%28ln%20%3D%3D%20%27del%27%29%20%7B%0A%20%20%20%20%20%20addLink%20%28el%2C%20%27delete%27%29%3B%0A%20%20%20%20%7D%20else%20if%20%28ln%20%3D%3D%20%27span%27%29%20%7B%0A%20%20%20%20%20%20var%20cls%20%3D%20el.className%3B%0A%20%20%20%20%20%20if%20%28cls%20%3D%3D%20%27diff-new%27%29%20%7B%0A%20%20%20%20%20%20%20%20addLink%20%28el%2C%20%27insert%27%29%3B%0A%20%20%20%20%20%20%7D%20else%20if%20%28cls%20%3D%3D%20%27diff-chg%27%29%20%7B%0A%20%20%20%20%20%20%20%20addLink%20%28el%2C%20%27modify%27%29%3B%0A%20%20%20%20%20%20%7D%20else%20if%20%28cls%20%3D%3D%20%27diff-old%27%29%20%7B%0A%20%20%20%20%20%20%20%20addLink%20%28el%2C%20%27delete%27%29%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0A%0Afunction%20addLink%20%28el%2C%20action%29%20%7B%0A%20%20var%20id%20%3D%20el.id%3B%0A%20%20if%20%28!id%29%20%7B%0A%20%20%20%20id%20%3D%20el.id%20%3D%20%27-edit-list-item-%27%20%2B%20nextId%2B%2B%3B%0A%20%20%7D%0A%20%20%0A%20%20var%20li%20%3D%20document.createElement%20%28%27li%27%29%3B%0A%20%20var%20a%20%3D%20document.createElement%20%28%27a%27%29%3B%0A%20%20a.textContent%20%3D%20el.textContent%3B%0A%20%20a.href%20%3D%20%27%23%27%20%2B%20id%3B%0A%20%20li.className%20%3D%20%27-edit-list-item-%27%20%2B%20action%3B%0A%20%20li.appendChild%20%28a%29%3B%0A%20%20list.appendChild%20%28li%29%3B%0A%7D%0A%0Aif%20%28list.hasChildNodes%20%28%29%29%20%7B%0A%20%20list.className%20%3D%20%27-edit-list%27%3B%0A%20%20var%20style%20%3D%20document.createElement%20%28%27style%27%29%3B%0A%20%20style.textContent%20%3D%20%27%20%5C%0A%20%20%20%20.%5C%5C-edit-list%20%7B%20%5C%0A%20%20%20%20%20%20position%3A%20fixed%3B%20%5C%0A%20%20%20%20%20%20top%3A%200%3B%20%5C%0A%20%20%20%20%20%20height%3A%2050%25%3B%20%5C%0A%20%20%20%20%20%20right%3A%200%3B%20%5C%0A%20%20%20%20%20%20width%3A%2015em%3B%20%5C%0A%20%20%20%20%20%20max-width%3A%2040%25%3B%20%5C%0A%20%20%20%20%20%20margin%3A%200%3B%20%5C%0A%20%20%20%20%20%20border%3A%20outset%20thin%20blue%3B%20%5C%0A%20%20%20%20%20%20padding%3A%200.2em%3B%20%5C%0A%20%20%20%20%20%20background-color%3A%20white%3B%20%5C%0A%20%20%20%20%20%20color%3A%20black%3B%20%5C%0A%20%20%20%20%20%20overflow%3A%20auto%3B%20%5C%0A%20%20%20%20%7D%20%5C%0A%20%20%20%20.%5C%5C-edit-list%20%3E%20li%20%7B%20%5C%0A%20%20%20%20%20%20display%3A%20block%3B%20%5C%0A%20%20%20%20%20%20list-style-type%3A%20none%3B%20%5C%0A%20%20%20%20%20%20margin%3A%200%3B%20%5C%0A%20%20%20%20%20%20border-style%3A%20none%3B%20%5C%0A%20%20%20%20%20%20padding%3A%200.1em%3B%20%5C%0A%20%20%20%20%20%20max-height%3A%201.5em%3B%20%5C%0A%20%20%20%20%20%20line-height%3A%201.5em%3B%20%5C%0A%20%20%20%20%20%20overflow%3A%20hidden%3B%20%5C%0A%20%20%20%20%7D%20%5C%0A%20%20%20%20.%5C%5C-edit-list%20%3E%20li%20%3E%20a%20%7B%20%5C%0A%20%20%20%20%20%20display%3A%20block%3B%20%5C%0A%20%20%20%20%20%20margin%3A%200%3B%20%5C%0A%20%20%20%20%20%20border-style%3A%20none%3B%20%5C%0A%20%20%20%20%20%20padding%3A%200%3B%20%5C%0A%20%20%20%20%20%20text-decoration%3A%20none%3B%20%5C%0A%20%20%20%20%7D%20%5C%0A%20%20%20%20.%5C%5C-edit-list%20%3E%20li%20%3E%20a%3Alink%2C%20%5C%0A%20%20%20%20.%5C%5C-edit-list%20%3E%20li%20%3E%20a%3Avisited%20%7B%20%5C%0A%20%20%20%20%20%20background-color%3A%20inherit%3B%20%5C%0A%20%20%20%20%20%20color%3A%20inherit%3B%20%5C%0A%20%20%20%20%7D%20%5C%0A%20%20%20%20.%5C%5C-edit-list-item-insert%20%7B%20%5C%0A%20%20%20%20%20%20background-color%3A%20yellow%3B%20%5C%0A%20%20%20%20%20%20color%3A%20black%3B%20%5C%0A%20%20%20%20%20%20text-decoration%3A%20underline%3B%20%5C%0A%20%20%20%20%7D%20%5C%0A%20%20%20%20.%5C%5C-edit-list-item-modify%20%7B%20%5C%0A%20%20%20%20%20%20background-color%3A%20lime%3B%20%5C%0A%20%20%20%20%20%20color%3A%20black%3B%20%5C%0A%20%20%20%20%7D%20%5C%0A%20%20%20%20.%5C%5C-edit-list-item-delete%20%7B%20%5C%0A%20%20%20%20%20%20background-color%3A%20%23FBB%3B%20%5C%0A%20%20%20%20%20%20color%3A%20black%3B%20%5C%0A%20%20%20%20%20%20text-decoration%3A%20line-through%3B%20%5C%0A%20%20%20%20%7D%20%5C%0A%20%20%27%3B%0A%20%20list.appendChild%20%28style%29%3B%0A%20%20document.body.appendChild%20%28list%29%3B%0A%7D%0Avoid%20%280%29%3B%0A

(名無しさん 2007-04-19 12:21:50 +00:00)

[87] text/plain で表示している文書を右端で折り返す

javascript:%0A%0Adocument.getElementsByTagName%20%28%27pre%27%29%5B0%5D%0A.style.whiteSpace%20%3D%20%27-moz-pre-wrap%27%3B%0A%0Avoid%20%280%29%3B%0A (名無しさん 2007-05-02 09:04:10 +00:00)

[88] >>85 javascript:%0A%0Avar%20list%20%3D%20document.createElement%20%28%27ol%27%29%3B%0Avar%20nextId%20%3D%200%3B%0A%0Avar%20els%20%3D%20document.getElementsByTagName%20%28%27*%27%29%3B%0Avar%20elsLength%20%3D%20els.length%3B%0Afor%20%28var%20i%20%3D%200%3B%20i%20%3C%20elsLength%3B%20i%2B%2B%29%20%7B%0A%20%20var%20el%20%3D%20els%5Bi%5D%3B%0A%20%20if%20%28el.namespaceURI%20%3D%3D%20null%20%7C%7C%0A%20%20%20%20%20%20el.namespaceURI%20%3D%3D%20%27http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%27%29%20%7B%0A%20%20%20%20var%20ln%20%3D%20el.localName.toLowerCase%20%28%29%3B%0A%20%20%20%20if%20%28ln%20%3D%3D%20%27ins%27%29%20%7B%0A%20%20%20%20%20%20addLink%20%28el%2C%20%27insert%27%29%3B%0A%20%20%20%20%7D%20else%20if%20%28ln%20%3D%3D%20%27del%27%29%20%7B%0A%20%20%20%20%20%20addLink%20%28el%2C%20%27delete%27%29%3B%0A%20%20%20%20%7D%20else%20if%20%28ln%20%3D%3D%20%27span%27%20%7C%7C%20ln%20%3D%3D%20%27div%27%20%7C%7C%20ln%20%3D%3D%20%27td%27%29%20%7B%0A%20%20%20%20%20%20var%20cls%20%3D%20el.className%3B%0A%20%20%20%20%20%20if%20%28cls%20%3D%3D%20%27diff-new%27%20%7C%7C%20cls%20%3D%3D%20%27diff-add%27%29%20%7B%0A%20%20%20%20%20%20%20%20addLink%20%28el%2C%20%27insert%27%29%3B%0A%20%20%20%20%20%20%7D%20else%20if%20%28cls%20%3D%3D%20%27diff-chg%27%29%20%7B%0A%20%20%20%20%20%20%20%20addLink%20%28el%2C%20%27modify%27%29%3B%0A%20%20%20%20%20%20%7D%20else%20if%20%28cls%20%3D%3D%20%27diff-old%27%20%7C%7C%20cls%20%3D%3D%20%27diff-del%27%29%20%7B%0A%20%20%20%20%20%20%20%20addLink%20%28el%2C%20%27delete%27%29%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0A%0Afunction%20addLink%20%28el%2C%20action%29%20%7B%0A%20%20var%20id%20%3D%20el.id%3B%0A%20%20if%20%28!id%29%20%7B%0A%20%20%20%20id%20%3D%20el.id%20%3D%20%27-edit-list-item-%27%20%2B%20nextId%2B%2B%3B%0A%20%20%7D%0A%20%20%0A%20%20var%20li%20%3D%20document.createElement%20%28%27li%27%29%3B%0A%20%20var%20a%20%3D%20document.createElement%20%28%27a%27%29%3B%0A%20%20a.textContent%20%3D%20el.textContent%3B%0A%20%20a.href%20%3D%20%27%23%27%20%2B%20id%3B%0A%20%20li.className%20%3D%20%27-edit-list-item-%27%20%2B%20action%3B%0A%20%20li.appendChild%20%28a%29%3B%0A%20%20list.appendChild%20%28li%29%3B%0A%7D%0A%0Aif%20%28list.hasChildNodes%20%28%29%29%20%7B%0A%20%20list.className%20%3D%20%27-edit-list%27%3B%0A%20%20var%20style%20%3D%20document.createElement%20%28%27style%27%29%3B%0A%20%20style.textContent%20%3D%20%27%20%5C%0A%20%20%20%20.%5C%5C-edit-list%20%7B%20%5C%0A%20%20%20%20%20%20position%3A%20fixed%3B%20%5C%0A%20%20%20%20%20%20top%3A%200%3B%20%5C%0A%20%20%20%20%20%20height%3A%2050%25%3B%20%5C%0A%20%20%20%20%20%20right%3A%200%3B%20%5C%0A%20%20%20%20%20%20width%3A%2015em%3B%20%5C%0A%20%20%20%20%20%20max-width%3A%2040%25%3B%20%5C%0A%20%20%20%20%20%20margin%3A%200%3B%20%5C%0A%20%20%20%20%20%20border%3A%20outset%20thin%20blue%3B%20%5C%0A%20%20%20%20%20%20padding%3A%200.2em%3B%20%5C%0A%20%20%20%20%20%20background-color%3A%20white%3B%20%5C%0A%20%20%20%20%20%20color%3A%20black%3B%20%5C%0A%20%20%20%20%20%20overflow%3A%20auto%3B%20%5C%0A%20%20%20%20%7D%20%5C%0A%20%20%20%20.%5C%5C-edit-list%20%3E%20li%20%7B%20%5C%0A%20%20%20%20%20%20display%3A%20block%3B%20%5C%0A%20%20%20%20%20%20list-style-type%3A%20none%3B%20%5C%0A%20%20%20%20%20%20margin%3A%200%3B%20%5C%0A%20%20%20%20%20%20border-style%3A%20none%3B%20%5C%0A%20%20%20%20%20%20padding%3A%200.1em%3B%20%5C%0A%20%20%20%20%20%20max-height%3A%201.5em%3B%20%5C%0A%20%20%20%20%20%20line-height%3A%201.5em%3B%20%5C%0A%20%20%20%20%20%20overflow%3A%20hidden%3B%20%5C%0A%20%20%20%20%7D%20%5C%0A%20%20%20%20.%5C%5C-edit-list%20%3E%20li%20%3E%20a%20%7B%20%5C%0A%20%20%20%20%20%20display%3A%20block%3B%20%5C%0A%20%20%20%20%20%20margin%3A%200%3B%20%5C%0A%20%20%20%20%20%20border-style%3A%20none%3B%20%5C%0A%20%20%20%20%20%20padding%3A%200%3B%20%5C%0A%20%20%20%20%20%20text-decoration%3A%20none%3B%20%5C%0A%20%20%20%20%7D%20%5C%0A%20%20%20%20.%5C%5C-edit-list%20%3E%20li%20%3E%20a%3Alink%2C%20%5C%0A%20%20%20%20.%5C%5C-edit-list%20%3E%20li%20%3E%20a%3Avisited%20%7B%20%5C%0A%20%20%20%20%20%20background-color%3A%20inherit%3B%20%5C%0A%20%20%20%20%20%20color%3A%20inherit%3B%20%5C%0A%20%20%20%20%7D%20%5C%0A%20%20%20%20.%5C%5C-edit-list-item-insert%20%7B%20%5C%0A%20%20%20%20%20%20background-color%3A%20yellow%3B%20%5C%0A%20%20%20%20%20%20color%3A%20black%3B%20%5C%0A%20%20%20%20%20%20text-decoration%3A%20underline%3B%20%5C%0A%20%20%20%20%7D%20%5C%0A%20%20%20%20.%5C%5C-edit-list-item-modify%20%7B%20%5C%0A%20%20%20%20%20%20background-color%3A%20lime%3B%20%5C%0A%20%20%20%20%20%20color%3A%20black%3B%20%5C%0A%20%20%20%20%7D%20%5C%0A%20%20%20%20.%5C%5C-edit-list-item-delete%20%7B%20%5C%0A%20%20%20%20%20%20background-color%3A%20%23FBB%3B%20%5C%0A%20%20%20%20%20%20color%3A%20black%3B%20%5C%0A%20%20%20%20%20%20text-decoration%3A%20line-through%3B%20%5C%0A%20%20%20%20%7D%20%5C%0A%20%20%27%3B%0A%20%20list.appendChild%20%28style%29%3B%0A%20%20document.body.appendChild%20%28list%29%3B%0A%7D%0Avoid%20%280%29%3B%0A%0A

XForms 1.1 の diff (XMLspec?) にも対応 (名無しさん 2007-05-12 14:15:21 +00:00)

[97] NicoCache

javascript:%0A%0Aif%20%28!self.SAMI%29%20self.SAMI%20%3D%20%7B%7D%3B%0Aif%20%28!SAMI.onLoadFunctions%29%20SAMI.onLoadFunctions%20%3D%20%5B%5D%3B%0A%0ASAMI.onLoadFunctions.push%20%28function%20%28%29%20%7B%0A%20%20SAMI.Script.loadScripts%20%28new%20SAMI.List%20%28%5B%0A%20%20%20%20%27http%3A%2F%2Fsuika.fam.cx%2Fwww%2Fnicocache%2Fbookmarklets%2Fnicocache.js%3F%27%20%2B%20new%20Date%20%28%29%0A%20%20%5D%29%2C%20function%20%28%29%20%7B%0A%20%20%20%20var%20ControlBox%20%3D%20new%20SAMI.Class%20%28function%20%28%29%20%7B%0A%20%20%20%20%20%20var%20article%20%3D%20document.createElement%20%28%27article%27%29%3B%0A%20%20%20%20%20%20article.innerHTML%20%3D%20%27%3Cp%20style%3Dfloat%3Aright%3E%3Cbutton%20type%3Dbutton%20class%3Dnc-close%3E%C3%97%3C%2Fbutton%3E%3Cp%3E%3Coutput%20class%3Dnc-video-title%3E%3C%2Foutput%3E%3Cp%3E%3Coutput%20class%3Dnc-original-cache-directory%3E%3C%2Foutput%3E%3Cp%20style%3Dtext-align%3Aright%3E-%3E%20%3Cselect%20class%3Dnc-cache-directories%20style%3D%22min-width%3A%2010em%22%3E%3C%2Fselect%3E%20%3Cbutton%20type%3Dbutton%20class%3Dnc-cache-directory-change%3EChange%3C%2Fbutton%3E%3Cp%20class%3Dnc-high-status%3E%3Cp%20class%3Dnc-low-status%3E%27%3B%0A%20%20%20%20%20%20article.setAttribute%20%28%27style%27%2C%20%27position%3A%20fixed%3B%20display%3A%20block%3B%20top%3A%202em%3B%20left%3A%201em%3B%20width%3A%2020em%3B%20background-color%3A%20white%3B%20color%3A%20black%3B%20border%3A%20outset%20gray%204px%3B%20z-index%3A%2010000%27%29%3B%0A%20%20%20%20%20%20document.body.appendChild%20%28article%29%3B%0A%20%20%20%20%20%20this.element%20%3D%20article%3B%0A%0A%20%20%20%20%20%20this.getElements%20%28%27nc-close%27%29.list%5B0%5D.onclick%20%3D%20function%20%28%29%20%7B%0A%20%20%20%20%20%20%20%20article.parentNode.removeChild%20%28article%29%3B%0A%20%20%20%20%20%20%7D%3B%20%2F%2F%20onclick%0A%20%20%20%20%7D%2C%20%7B%0A%20%20%20%20%20%20getElements%3A%20function%20%28key%29%20%7B%0A%20%20%20%20%20%20%20%20return%20SAMI.Node.getElementsByClassName%20%28this.element%2C%20key%29%3B%0A%20%20%20%20%20%20%7D%2C%20%2F%2F%20getElements%0A%0A%20%20%20%20%20%20setVideoTitle%3A%20function%20%28v%29%20%7B%0A%20%20%20%20%20%20%20%20this.getElements%20%28%27nc-video-title%27%29.list%5B0%5D.textContent%20%3D%20v%3B%0A%20%20%20%20%20%20%7D%2C%20%2F%2F%20setVideoTitle%0A%20%20%20%20%20%20setOriginalCacheDirectory%3A%20function%20%28v%29%20%7B%0A%20%20%20%20%20%20%20%20this.getElements%20%28%27nc-original-cache-directory%27%29.list%5B0%5D.textContent%20%3D%20v%3B%0A%20%20%20%20%20%20%7D%2C%20%2F%2F%20setOriginalCacheDirectory%0A%20%20%20%20%20%20setCacheDirectories%3A%20function%20%28l%29%20%7B%0A%20%20%20%20%20%20%20%20var%20select%20%3D%20this.getElements%20%28%27nc-cache-directories%27%29.list%5B0%5D%3B%0A%20%20%20%20%20%20%20%20select.innerHTML%20%3D%20%27%27%3B%0A%20%20%20%20%20%20%20%20l.forEach%20%28function%20%28dir%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20var%20opt%20%3D%20document.createElement%20%28%27option%27%29%3B%0A%20%20%20%20%20%20%20%20%20%20opt.textContent%20%3D%20dir%3B%0A%20%20%20%20%20%20%20%20%20%20if%20%28dir%20%3D%3D%20%27%27%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20opt.label%20%3D%20%27%28root%29%27%3B%0A%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20select.appendChild%20%28opt%29%3B%0A%20%20%20%20%20%20%20%20%7D%29%3B%0A%0A%20%20%20%20%20%20%20%20var%20self%20%3D%20this%3B%0A%20%20%20%20%20%20%20%20this.getElements%20%28%27nc-cache-directory-change%27%29.list%5B0%5D.onclick%20%3D%20function%20%28%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20self.changeDirectory%20%28%29%3B%0A%20%20%20%20%20%20%20%20%7D%3B%0A%20%20%20%20%20%20%7D%2C%20%2F%2F%20setCacheDirectories%0A%0A%20%20%20%20%20%20setHighStatus%3A%20function%20%28v%29%20%7B%0A%20%20%20%20%20%20%20%20this.getElements%20%28%27nc-high-status%27%29.list%5B0%5D.textContent%20%3D%20%27High%3A%20%27%20%2B%20v%3B%0A%20%20%20%20%20%20%7D%2C%20%2F%2F%20setHighStatus%0A%20%20%20%20%20%20setLowStatus%3A%20function%20%28v%29%20%7B%0A%20%20%20%20%20%20%20%20this.getElements%20%28%27nc-low-status%27%29.list%5B0%5D.textContent%20%3D%20%27Low%3A%20%27%20%2B%20v%3B%0A%20%20%20%20%20%20%7D%2C%20%2F%2F%20setLowStatus%0A%0A%20%20%20%20%20%20clearHighStatus%3A%20function%20%28%29%20%7B%0A%20%20%20%20%20%20%20%20this.setHighStatus%20%28%27%27%29%3B%0A%20%20%20%20%20%20%7D%2C%20%2F%2F%20clearHighStatus%0A%20%20%20%20%20%20clearLowStatus%3A%20function%20%28%29%20%7B%0A%20%20%20%20%20%20%20%20this.setLowStatus%20%28%27%27%29%3B%0A%20%20%20%20%20%20%7D%2C%20%2F%2F%20setLowStatus%0A%0A%20%20%20%20%20%20changeDirectory%3A%20function%20%28%29%20%7B%0A%20%20%20%20%20%20%20%20var%20newValue%20%3D%20this.getElements%20%28%27nc-cache-directories%27%29.list%5B0%5D.value%3B%0A%20%20%20%20%20%20%20%20this.onchangedirectory%20%28newValue%29%3B%0A%20%20%20%20%20%20%7D%20%2F%2F%20changeDirectory%0A%20%20%20%20%7D%29%3B%0A%0A%20%20%20%20var%20box%20%3D%20new%20ControlBox%3B%0A%0A%20%20%20%20var%20p%20%3D%20new%20NicoCache.Page%20%28document%29%3B%0A%20%20%20%20var%20id%20%3D%20p.getId%20%28%29%3B%0A%20%20%20%20if%20%28id%29%20%7B%0A%20%20%20%20%20%20var%20v%20%3D%20new%20NicoCache.Video%20%28id%29%3B%0A%20%20%20%20%20%20v.withTitle%20%28function%20%28title%29%20%7B%0A%20%20%20%20%20%20%20%20box.setVideoTitle%20%28title%29%3B%0A%20%20%20%20%20%20%7D%29%3B%0A%20%20%20%20%20%20v.withDirectory%20%28function%20%28dir%29%20%7B%0A%20%20%20%20%20%20%20%20box.setOriginalCacheDirectory%20%28dir%29%3B%0A%20%20%20%20%20%20%7D%29%3B%0A%0A%20%20%20%20%20%20box.onchangedirectory%20%3D%20function%20%28d%29%20%7B%0A%20%20%20%20%20%20%20%20box.clearLowStatus%20%28%29%3B%0A%20%20%20%20%20%20%20%20box.clearHighStatus%20%28%29%3B%0A%20%20%20%20%20%20%20%20v.setDirectory%20%28d%2C%20function%20%28isLow%2C%20res%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20if%20%28isLow%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20box.setLowStatus%20%28res%29%3B%0A%20%20%20%20%20%20%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20box.setHighStatus%20%28res%29%3B%0A%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%7D%29%3B%0A%20%20%20%20%20%20%7D%3B%20%2F%2F%20onchangedirectory%0A%20%20%20%20%7D%0A%20%20%20%20NicoCache.withDirList%20%28function%20%28dirs%29%20%7B%0A%20%20%20%20%20%20box.setCacheDirectories%20%28dirs%29%3B%0A%20%20%20%20%7D%29%3B%0A%20%20%7D%29%3B%0A%7D%29%3B%0A%0Avar%20script%20%3D%20document.createElement%20%28%27script%27%29%3B%0Ascript.src%20%3D%20%27http%3A%2F%2Fsuika.fam.cx%2Fwww%2Fjs%2Fsami%2Fscript%2Fsami-core.js%27%3B%0Adocument.body.appendChild%20%28script%29%3B%0A%0Avoid%20%280%29%3B%0A

[9] Fix #301: detail how javascript: return values become response bodies by domenic · Pull Request #1107 · whatwg/html ( 版) https://github.com/whatwg/html/pull/1107