/
916.txt
269 lines (194 loc) · 141 KB
/
916.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
* Bookmarklet Editor
[92] [[BEB]] ― [[Bookmarklet Editor Bookmarklet]] に移動しました。
* NodeRectViewer
[93] [[NodeRectViewer]] の項を参照してください。
* SuikaWiki Bookmarklets
[96] [[SuikaWiki Bookmarklets]] の項を参照してください。
* Google のキャッシュに飛ぶ
- [1] <javascript:if(_content.location.protocol=='http:')%7B_content.location.href='http://www.google.com/search%3Fq=cache:'%2B_content.location.href%7D>
- [2] ソース:
if(_content.location.protocol=='http:'){_content.location.href='http://www.google.com/search?q=cache:'+_content.location.href}
- [3] 問題点: [[URI符号化]]してないので、 URI によってはやばい可能性がある。
- [7] [WEAK[2002-12-15 (日) 15:01]] ''>>3'': >>4 と同じように encodeURIComponent 使えばいい
* ページ内の 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 の辞書
- [38] 半ソース: <data:text/html;charset=euc-jp,%3Cframeset rows="32,*"%3E%3Cframe name="search" src='data:text/html,%3Cform action="http://dictionary.goo.ne.jp/search.php" target="result"%3E%3Cinput name="MT" size="20"/%3E%3Cinput type="image" name="ej" src="http://dictionary.goo.ne.jp/img/submit/s_06.gif" alt="en -> ja"%3E%3Cinput type="image" name="je" src="http://dictionary.goo.ne.jp/img/submit/s_07.gif" alt="ja -> en"%3E%3Cinput type="image" name="jn" src="http://dictionary.goo.ne.jp/img/submit/s_08.gif" alt="ja -> ja"%3E%3C/form%3E'/%3E%3Cframe name="result" src="about:blank"/%3E%3C/frameset%3E>
-- フレームの上を検索欄、下を結果欄にします。
-- 検索結果表示を広告を飛ばした位置までスクロールできれば便利なのだけど。
[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]] (本家日本語版) のボタンつき。
([[名無しさん]] [WEAK[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 用のリンク修正
- [13] (半ソース) <javascript:nch();function nch(){var anchors=document.links;for(var i=0;i<anchors.length;i++){anchors[i].href=anchors[i].href.replace(/^http:\/\/ime\.nu\//,'http://').replace(/^http:\/\/pinktower\.com\//,'http://').replace(/^http:\/\/http:\/\//,'http://');if(anchors[i].href.match(/^mailto:/)){anchors[i].innerHTML+=' ['+decodeURIComponent(anchors[i].href.replace(/^mailto:/,%27%27)).replace(/&/,'&').replace(/%3C/,'<').replace(/%3E/,'%26gt;')+']'}}}>
- [14] >>13 は、 [CODE[ime.nu]] を消して、ついでにリンク先が [[mailto:]]
の場合にその内容を表示します。
- [20] >>18 を組み込んだ改良版。
<javascript:clearTarget('a');nch();function%20nch()%7Bvar%20anchors=document.links;for(var%20i=0;i%3Canchors.length;i++)%7Banchors[i].href=anchors[i].href.replace(/%5Ehttp:%5C/%5C/ime%5C.nu%5C//,'http://').replace(/%5Ehttp:%5C/%5C/pinktower%5C.com%5C//,'http://').replace(/%5Ehttp:%5C/%5C/http:%5C/%5C//,'http://');if(anchors[i].href.match(/%5Emailto:/))%7Banchors[i].innerHTML+='%20['+decodeURIComponent(anchors[i].href.replace(/%5Emailto:/,%27%27)).replace(/&/,'&').replace(/%3C/,'<').replace(/%3E/,'%26gt;')+']'%7D%7D%7Dfunction%20clearTarget(elementType){var%20elements=document.getElementsByTagName(elementType);for(var%20i=0;i%3Celements.length;i++){if(elements[i].getAttribute('target')){elements[i].setAttribute('target',%27%27)}}}>
>>13 に加えて [[a]] 要素の [[target]] 属性を消去。
* 開く窓の指定を消去
- [17] [[a]], [[area]], [[form]] 各要素の [[target]]
属性の値を消去します。
- [18] <javascript:clearTarget('a');clearTarget('form');clearTarget('area');function%20clearTarget(elementType){var%20elements=document.getElementsByTagName(elementType);for(var%20i=0;i%3Celements.length;i++){if(elements[i].getAttribute('target')){elements[i].setAttribute('target',%27%27)}}}>
- [19] [[base]] 要素や [[Window-Target:]] 欄や [[XLink]]
の属性などで指定されていた場合は知りません。
* スタイルシート再読み込み
[8] [[外部スタイルシート]]に適当な [[URL query]] を付けて再読み込みさせます。
[FIG(bookmarklet)[
<javascript:%0A%0AArray.prototype.forEach.call%20%28document.querySelectorAll%20%28%27link%5Brel~%3Dstylesheet%5D%27%29%2C%20function%20%28el%29%20%7B%0Aconsole.log%28el%29%3B%0A%20%20var%20url%20%3D%20new%20URL%20%28el.href%29%3B%0A%20%20url.search%20%3D%20%22%3F%22%20%2B%20Math.random%20%28%29%3B%0A%20%20el.href%20%3D%20url%3B%0A%7D%29%3B%0A%0Avoid%20%280%29%3B%0A>
]FIG]
* 特定のスタイル・シートを適用
- [21] javascript:function%20s(){var%20l=document.createElement('link');l.setAttribute('href','[VAR[スタイル・シートの URI]]');l.setAttribute('rel','stylesheet');document.getElementsByTagName('head')[0].appendChild(l);}s()
適当な URI を指定して下さい。
- [22] >>21 で [CODE(JS)[document.styleSheets]] を使わなかったのは、
[[DOM]]0 だし、 [[XHTML]] で使えないから。
-- 使用例s
--- [25] [[W3C]] の Style Activity の頁のスタイル・シートを代替として追加 (とても長い「URI」なので注意: 読み飛ばす >>26) (半ソース)
[FIG(bookmarklet)[
<javascript:function s(){document.getElementsByTagName('head')[0].innerHTML+='%3Clink rel="alternate stylesheet" title="W3C/Style: Default" href="http://www.w3.org/Style/main.css"%3E%3Clink rel="alternate stylesheet" title="W3C/Style: Default" href="http://www.w3.org/Style/map-ns.css"%3E%3Clink rel="alternate stylesheet" title="W3C/Style: Default" href="http://www.w3.org/Style/map.css" media="all"%3E%3Clink rel="alternate stylesheet" title="W3C/Style: Default" href="http://www.w3.org/Style/banner-k.css"%3E%3Clink rel="alternate stylesheet" title="W3C/Style: Default" href="http://www.w3.org/Style/shadows.css" media="all"%3E%3Clink rel="alternate stylesheet" title="W3C/Style: Without navigation bar" href="http://www.w3.org/Style/main.css"%3E%3Clink rel="alternate stylesheet" title="W3C/Style: Without navigation bar" href="http://www.w3.org/Style/map-ns.css"%3E%3Clink rel="alternate stylesheet" title="W3C/Style: Without navigation bar" href="http://www.w3.org/Style/map.css"%3E%3Clink rel="alternate stylesheet" title="W3C/Style: Without navigation bar" href="http://www.w3.org/Style/banner-none.css"%3E%3Clink rel="alternate stylesheet" title="W3C/Style: Without navigation bar" href="http://www.w3.org/Style/shadows.css"%3E%3Clink rel="alternate stylesheet" title="Oldstyle" href="http://www.w3.org/StyleSheets/Core/Oldstyle"%3E%3Clink rel="alternate stylesheet" title="Modernist" href="http://www.w3.org/StyleSheets/Core/Modernist"%3E%3Clink rel="alternate stylesheet" title="Midnight" href="http://www.w3.org/StyleSheets/Core/Midnight"%3E%3Clink rel="alternate stylesheet" title="Ultramarine" href="http://www.w3.org/StyleSheets/Core/Ultramarine"%3E%3Clink rel="alternate stylesheet" title="Swiss" href="http://www.w3.org/StyleSheets/Core/Swiss"%3E%3Clink rel="alternate stylesheet" title="Chocolate" href="http://www.w3.org/StyleSheets/Core/Chocolate"%3E%3Clink rel="alternate stylesheet" title="Traditional" href="http://www.w3.org/StyleSheets/Core/Traditional"%3E%3Clink rel="alternate stylesheet" title="Steely" href="http://www.w3.org/StyleSheets/Core/Steely"%3E%3Clink rel="alternate stylesheet" title="Forest (by David Baron)" href="http://dbaron.org/style/forest"%3E%3Clink rel="alternate stylesheet" title="Plain (by David Baron)" href="http://dbaron.org/style/plain"%3E%3Clink rel="alternate stylesheet" title="Gold (right) + navbar" href="http://www.w3.org/Style/threepart.css"%3E%3Clink rel="alternate stylesheet" title="Gold (left) + navbar" href="http://www.w3.org/Style/threepart-left.css"%3E%3Clink rel="alternate stylesheet" title="Gold (right)" href="http://www.w3.org/Style/threepart-nobanner.css"%3E%3Clink rel="alternate stylesheet" title="Gold (left)" href="http://www.w3.org/Style/threepart-left-nobanner.css"%3E%3Clink rel="alternate stylesheet" title="Gold (right, fixed) + navbar" href="http://www.w3.org/Style/threepart-f.css"%3E%3Clink rel="alternate stylesheet" title="Gold (left, fixed) + navbar" href="http://www.w3.org/Style/threepart-left-f.css"%3E%3Clink rel="alternate stylesheet" title="Gold (right, fixed)" href="http://www.w3.org/Style/threepart-nobanner-f.css"%3E%3Clink rel="alternate stylesheet" title="Gold (left, fixed)" href="http://www.w3.org/Style/threepart-left-nobanner-f.css"%3E'}s()>
]FIG]
--- [26] W3C [[REC]] スタイル (半ソース)
[FIG(bookmarklet)[
<javascript:function%20s(){var%20l=document.createElement('link');l.setAttribute('href','http://www.w3.org/StyleSheets/TR/W3C-REC');l.setAttribute('rel','stylesheet');document.getElementsByTagName('head')[0].appendChild(l);}s()>
]FIG]
---- 注意: このスタイルを適用しても、当該文書は W3C 勧告にはなりません(藁。
- [27] CSS Laboratory <javascript:function%20s(){var%20l=document.createElement('link');l.setAttribute('href','http://is.vis.ne.jp/styles/css_03/css_03.css');l.setAttribute('rel','stylesheet');document.getElementsByTagName('head')[0].appendChild(l);}s()>
- [28] piro タソ <javascript:function%20s(){var%20l=document.createElement('link');l.setAttribute('href','http://white.sakura.ne.jp/~piro/common/styles/limited/style.css');l.setAttribute('rel','stylesheet');document.getElementsByTagName('head')[0].appendChild(l);}s()>
- [29] ぴんくすとらいぶ <javascript:function%20s(){var%20l=document.createElement('link');l.setAttribute('href','http://www.remus.dti.ne.jp/~a-satomi/common/css/toppage.css');l.setAttribute('rel','stylesheet');document.getElementsByTagName('head')[0].appendChild(l);}s()>
- [30] 闇黒日記 <javascript:function%20s(sURI){var%20l=document.createElement('link');l.setAttribute('href',sURI);l.setAttribute('rel','stylesheet');document.getElementsByTagName('head')[0].appendChild(l)}s('http://members.jcom.home.ne.jp/w3c/tnclass.css');s('http://members.jcom.home.ne.jp/w3c/tnstyle.css')>
- [31] >>27 はあまり汎用性がなさげ。格好良いんだけどなあ
- [32] Personnel <javascript:function%20s(sURI){var%20l=document.createElement('link');l.setAttribute('href',sURI);l.setAttribute('rel','stylesheet');document.getElementsByTagName('head')[0].appendChild(l)}s('http://members.jcom.home.ne.jp/jintrick/style/croix.css')>
- [33] 注意: 調子に載ってスタイル・シートをいっぱい読み込むと Mozilla はみるみる重くなります。もしかするとそのままお亡くなりになるかもしれませんから、ほどほどにしておきましょう。
- [34] >>33 調子に乗らなくても相性? で Mozilla が落ちやすい組み合わせ? があるようです。あんまり使わない方がよさげ。
[[#comment]]
* Bookmarklet URI の記法についてのメモ
[23] ここでは、便宜的に次の用語を使っています。
:ソース:元の [[JavaScript]] のコード
:半ソース:URI のような形態の JavaScript のコード。 [[URI符号化]]のためそのままでは JavaScript として不正なこともある。
:URI:URI の構文に適合するもの。[[間隔]]や二重引用符などは URI 符号化しなければならない。
[24] SuikaWiki は「HTML 表示」モードで URI 文字列を [[a]]
要素とした際に、 [[href]] 属性の値は URI としての正規化を行います。
ですから、原文に半ソースの状態で書いてあった場合、 HTML
の要素の内容は半ソースのままですが、リンク先 URI
は完全な URI になります。
従って、半ソースで書かれていても、 [[UA]] の「URI を複製」
のような機能をつかって完全な URI を取り出すことが可能かもしれません。
[[#comment]]
* License
- [4] この WikiPage 内にある bookmarklet 及び関連 code は、特に注記の無い限り
Public Domain (著作権を主張しない。) とします。
- [5] 特に注記する場合であっても、[[寄稿文のライセンス]]規定にのっとり、最低限
freely distributable (自由に (対価の有無などにかかわらず) 配布可能) として下さい。
- [6] とは言っても、 bookmarklet は [[URI]] であり、また短い code
である故に独特性に欠けることから、その著作物性は疑問であります。
* メモ
- [12] Bookmarklet URI を書くとき、 [CODE(ABNF)["'"]] を2個以上つなげて書くと SuikaWiki
が強調と解釈してしまうから、 [CODE(URI)[%27]] を使う。
- [15] "<" や ">" は URI では使うことが出来ない。無理に書くと SuikaWiki がそこで誤解釈する可能性があるから、 %3C, %3E と書く。
- [16] その他の [[SP]] などの URI に使うことが出来ない文字は、 URI 符号化しておくのが望ましいが、 SuikaWiki が HTML のアンカーに変換する時に自動的に URI 符号化するから、ここに書く時は必ずしも符号化しなくてもいい。
- [36] ''Going My Way: POP辞書用Bookmarklet'' <http://kengo.preston-net.com/archives/000582.shtml>: これおもしろい
- [37] ''Bookmarklet作成時のコツ'' <http://www.teria.com/~koseki/memo/bookmarklets/tips.html>
[39]
''JAVASCRIPT::BOOKMARKLET'' <http://bookmarklet.daa.jp/>
[FIG(bookmarklet)[
[46]
[CITE[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>
[FIGCAPTION[
表示中の文書に追加の [[CSS]] スタイル規則を付け加えてみるための入力欄を出現させます。
([[名無しさん]] [WEAK[2005-06-02 06:57:53 +00:00]])
]FIGCAPTION]
]FIG]
[47]
[CITE[索引の作成]]
<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] [WEAK[2005-06-23 10:45:14 +00:00]])
[48]
リンク先が [CODE(URI)@en[[[javascript]]:]] [[URI]]
で、その中に [CODE(URI)@en['http:[VAR(snip)[...]]']]
という文字列リテラルが含まれている時、
その中身の文字列をリンク先にします。
<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 に小細工しないでほしいですよね。。。
([[名無しさん]] [WEAK[2005-07-31 11:25:24 +00:00]])
[49]
[CITE[slayeroffice | tools | Mouseover DOM Inspector v2.0 Help]] <http://slayeroffice.com/tools/modi/v2.0/modi_help.html>
([[名無しさん]] [WEAK[2005-11-18 12:52:11 +00:00]])
[50]
<javascript:void(document.write(document.body.textContent),document.close())>
内容を [[HTML]] として[[レンダリング]]する
([[名無しさん]] [WEAK[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>
[CODE(HTMLe)@en[[[pre]]]] 内の [[unified diff]]
の色づけ
([[名無しさん]] [WEAK[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>
>>51 の [[Web Applications 1.0]] 用
([[名無しさん]] [WEAK[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]] で開く
([[名無しさん]] [WEAK[2006-11-12 06:03:20 +00:00]])
[54]
>>53 は [[WinIE]] だと [[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>
([[名無しさん]] [WEAK[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>
文書の末尾に定義語 ([CODE(HTMLe)@en[[[dfn]]]]) 一覧を挿入する
([[名無しさん]] [WEAK[2006-12-05 12:06:30 +00:00]])
[64]
[CODE(HTMLe)@en[[[embed]]]] [CODE(HTMLa)@en[[[src]]]]
の一覧 ([CODE(HTMLe)@en[[[a]]]] [CODE(HTMLa)@en[[[href]]]])
を [CODE(HTMLe)@en[[[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>
([[名無しさん]] [WEAK[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>
([[名無しさん]] [WEAK[2007-01-06 11:59:57 +00:00]])
[66]
>>65 [CODE(HTML)@en[[[class]]]] を [CODE(HTMLa)@en[[[class]]]]
名の定義とみなすように。
<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>
([[名無しさん]] [WEAK[2007-01-06 12:11:01 +00:00]])
[67]
>>66 [CODE(HTMLe)@en[[[dd]]]] の[[子孫]] (非[[子]])
の [CODE(HTMLe)@en[[[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>
([[名無しさん]] [WEAK[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>
([[名無しさん]] [WEAK[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>
([[名無しさん]] [WEAK[2007-01-06 15:30:21 +00:00]])
[85]
編集 ([CODE(HTMLe)@en[[[ins]]]] や [CODE(HTMLe)@en[[[del]]]])
の一覧を表示する
<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>
([[名無しさん]] [WEAK[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>
([[名無しさん]] [WEAK[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]]?) にも対応
([[名無しさん]] [WEAK[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] [CITE@en[Fix #301: detail how javascript: return values become response bodies by domenic · Pull Request #1107 · whatwg/html]]
([TIME[2016-04-27 16:45:45 +09:00]] 版)
<https://github.com/whatwg/html/pull/1107>