-
Notifications
You must be signed in to change notification settings - Fork 4
/
725.txt
197 lines (134 loc) · 256 KB
/
725.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
* SuikaWiki への URL 投稿ブックマークレット
** 最新版
[FIG(bookmarklet)[
<javascript:%0A%0Afunction%20swEscape%20%28s%29%20%7B%0A%20return%20s.replace%20%28%2F%5C%5B%2Fg%2C%20%22%27%27%27%5B%27%27%27%22%29.replace%20%28%2F%5C%5D%2Fg%2C%20%22%27%27%27%5D%27%27%27%22%29%3B%0A%7D%20%2F%2F%20swEscape%0A%0Afunction%20setTimeZoneToUTC%20%28d%29%20%7B%0A%20d.setUTCFullYear%20%28d.getFullYear%20%28%29%2C%20d.getMonth%20%28%29%2C%20d.getDate%20%28%29%29%3B%0A%20d.setUTCHours%20%28d.getHours%20%28%29%2C%20d.getMinutes%20%28%29%2C%20d.getSeconds%20%28%29%29%3B%0A%20return%20d%3B%0A%7D%20%2F%2F%20setTimeZoneToUTC%0A%0Avar%20documentLanguage%20%3D%20null%3B%0Avar%20documentAuthor%20%3D%20null%3B%0Afunction%20scanMeta%20%28%29%20%7B%0A%20var%20metas%20%3D%20document.getElementsByTagName%20%28%27meta%27%29%3B%0A%20var%20metasLength%20%3D%20metas.length%3B%0A%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20metasLength%3B%20i%2B%2B%29%20%7B%0A%20var%20meta%20%3D%20metas%5Bi%5D%3B%0A%20var%20metaFieldName%20%3D%20meta.httpEquiv.toLowerCase%20%28%29%3B%0A%20if%20%28metaFieldName%20%3D%3D%20%27content-language%27%29%20%7B%0A%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20documentLanguage%20%3D%20meta.content.split%20%28%2F%5Cs*%2C%5Cs*%2F%29%5B0%5D%3B%0A%20%7D%0A%20%7D%0A%0A%20var%20metaName%20%3D%20meta.name.toLowerCase%20%28%29%3B%0A%20if%20%28metaName%20%3D%3D%20%27author%27%29%20%7B%0A%20if%20%28documentAuthor%20%3D%3D%20null%29%20%7B%0A%20documentAuthor%20%3D%20meta.content%3B%0A%20%7D%0A%20%7D%20else%20if%20%28metaName%20%3D%3D%20%27ms.locale%27%29%20%7B%0A%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20documentLanguage%20%3D%20meta.content%3B%0A%20%7D%0A%20%7D%0A%20%7D%0A%7D%20%2F%2F%20scanMeta%0A%0Afunction%20getElementLanguage%20%28el%29%20%7B%0A%20var%20xmlNS%20%3D%20%27http%3A%2F%2Fwww.w3.org%2FXML%2F1998%2Fnamespace%27%3B%0A%20while%20%28el%20!%3D%20null%29%20%7B%0A%20if%20%28el.nodeType%20%3D%3D%20el.ELEMENT_NODE%29%20%7B%0A%20if%20%28el.hasAttributeNS%20%28xmlNS%2C%20%27lang%27%29%29%20%7B%0A%20return%20el.getAttributeNS%20%28xmlNS%2C%20%27lang%27%29%3B%0A%20%7D%20else%20if%20%28%28el.namespaceURI%20%3D%3D%20null%20%7C%7C%0A%20el.namespaceURI%20%3D%3D%20%27http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%27%29%20%26%26%0A%20el.hasAttributeNS%20%28null%2C%20%27lang%27%29%29%20%7B%0A%20return%20el.getAttributeNS%20%28null%2C%20%27lang%27%29%3B%0A%20%7D%0A%20%7D%0A%20el%20%3D%20el.parentNode%3B%0A%20%7D%0A%0A%20%2F*%20NOTE%3A%20%7CContent-Language%7C%20is%20not%20supported%0A%20since%20DOM%20provides%20no%20access%20to%20HTTP%0A%20header%20fields.%20*%2F%0A%20return%20documentLanguage%20!%3D%20null%20%3F%20documentLanguage%20%3A%20%27%27%3B%0A%7D%20%2F%2F%20getElementLanguage%0A%0Afunction%20getSelectedText%20%28%29%20%7B%0A%20%20var%20sel%20%3D%20window.getSelection%20%28%29%3B%0A%20%20return%20sel.toString%20%28%29%3B%0A%7D%20%2F%2F%20getSelectedText%0A%0AscanMeta%20%28%29%3B%0A%0Avar%20locationHost%3B%0Atry%20%7B%0A%20locationHost%20%3D%20location.host%3B%0A%7D%20catch%20%28e%29%20%7B%0A%20locationHost%20%3D%20null%3B%0A%7D%0A%0Avar%20title%20%3D%20document.title%3B%0Avar%20titleLang%20%3D%20%27%27%3B%0Avar%20lm%20%3D%20document.lastModified%3B%0Aif%20%28locationHost%20%3D%3D%20%27permalink.gmane.org%27%29%20%7B%0A%20var%20h2El%20%3D%20document.getElementsByTagName%20%28%27h2%27%29%5B0%5D%3B%0A%20if%20%28h2El%29%20%7B%0A%20title%20%3D%20swEscape%20%28h2El.textContent%29%3B%0A%20titleLang%20%3D%20getElementLanguage%20%28h2El%29%3B%0A%20%7D%0A%7D%0Aif%20%28locationHost%20%3D%3D%20%27html5.org%27%29%20%7B%0A%20var%20logEl%20%3D%20document.getElementById%20%28%27log%27%29%3B%0A%20if%20%28logEl%29%20%7B%0A%20var%20rows%20%3D%20logEl.rows%3B%0A%20if%20%28rows.length%20%3D%3D%202%29%20%7B%0A%20var%20row%20%3D%20rows%5B1%5D%3B%0A%20var%20revCell%20%3D%20row.cells%5B0%5D%3B%0A%20if%20%28revCell%29%20%7B%0A%20var%20rev%20%3D%20parseInt%20%28revCell.textContent%29%3B%0A%20if%20%28rev%29%20%7B%0A%20var%20titleCell%20%3D%20row.cells%5B2%5D%3B%0A%20if%20%28titleCell%29%20%7B%0A%20title%20%3D%20%27Web%20Applications%201.0%20r%27%20%2B%20rev%20%2B%20%27%20%27%20%2B%20swEscape%20%28titleCell.textContent%29%3B%0A%20titleLang%20%3D%20getElementLanguage%20%28titleCell%29%3B%0A%20var%20m%20%3D%20row.cells%5B3%5D.textContent.match%20%28%2F%5E%28%5B0-9%5D%7B4%7D%29-%28%5B0-9%5D%7B2%7D%29-%28%5B0-9%5D%7B2%7D%29%5Cs%2B%28%5B0-9%5D%7B2%7D%29%3A%28%5B0-9%5D%7B2%7D%29%24%2F%29%3B%0A%20if%20%28m%29%20lm%20%3D%20setTimeZoneToUTC%20%28new%20Date%20%28m%5B1%5D%2C%20m%5B2%5D%20-%201%2C%20m%5B3%5D%2C%20m%5B4%5D%2C%20m%5B5%5D%29%29%3B%0A%20%7D%0A%20%7D%0A%20%7D%0A%20%7D%0A%20%7D%0A%7D%0Aif%20%28title%20%3D%3D%20null%20%7C%7C%20title%20%3D%3D%20%27%27%20%7C%7C%0A%20locationHost%20%3D%3D%20%27lists.w3.org%27%29%20%7B%0A%20var%20h1El%20%3D%20document.getElementsByTagName%20%28%27h1%27%29%5B0%5D%3B%0A%20H1EL%3A%20%7B%0A%20if%20%28h1El%29%20%7B%0A%20break%20H1EL%3B%0A%20%7D%0A%20var%20fonts%20%3D%20document.getElementsByTagName%20%28%27font%27%29%3B%0A%20fontsLength%20%3D%20fonts.length%3B%0A%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20fontsLength%3B%20i%2B%2B%29%20%7B%0A%20var%20font%20%3D%20fonts%5Bi%5D%3B%0A%20if%20%28font.size%20%3D%3D%20%277%27%20%7C%7C%20font.size%20%3D%3D%20%27%2B4%27%29%20%7B%0A%20h1El%20%3D%20font%3B%0A%20break%20H1EL%3B%0A%20%7D%0A%20%7D%0A%20%7D%20%2F%2F%20H1EL%0A%20if%20%28h1El%29%20%7B%0A%20title%20%3D%20swEscape%20%28h1El.textContent%29%3B%0A%20titleLang%20%3D%20getElementLanguage%20%28h1El%29%3B%0A%20%7D%20else%20%7B%0A%20title%20%3D%20title%20%3D%3D%20null%20%3F%20%27%27%20%3A%20title%3B%0A%20%7D%0A%7D%20else%20%7B%0A%20title%20%3D%20swEscape%20%28title%29%3B%0A%20var%20titleEl%20%3D%20document.getElementsByTagName%20%28%27title%27%29%5B0%5D%3B%0A%20if%20%28titleEl%29%20%7B%0A%20titleLang%20%3D%20getElementLanguage%20%28titleEl%29%3B%0A%20%7D%0A%7D%0Aif%20%28titleLang%20!%3D%20%27%27%29%20%7B%0A%20titleLang%20%3D%20%27%40%27%20%2B%20titleLang%3B%0A%7D%0A%0Aif%20%28locationHost%20%3D%3D%20%27permalink.gmane.org%27%29%20%7B%0A%20var%20o1El%20%3D%20document.getElementById%20%28%27o1%27%29%3B%0A%20if%20%28o1El%29%20%7B%0A%20var%20o1Prop%20%3D%20%7B%7D%3B%0A%20o1El.textContent.split%20%28%22%5Cn%22%29.forEach%20%28function%20%28s%29%20%7B%0A%20var%20nv%20%3D%20s.split%20%28%27%3A%20%27%2C%202%29%3B%0A%20if%20%28nv%5B1%5D%29%20%7B%0A%20o1Prop%5Bnv%5B0%5D.toLowerCase%20%28%29%5D%20%3D%20nv%5B1%5D%3B%0A%20%7D%20else%20%7B%0A%20if%20%28!o1Prop.from%29%20%7B%0A%20o1Prop.from%20%3D%20s%3B%0A%20%7D%20else%20if%20%28!o1Prop.date%29%20%7B%0A%20o1Prop.date%20%3D%20s%3B%0A%20%7D%0A%20%7D%0A%20%7D%29%3B%0A%20if%20%28o1Prop.from%29%20%7B%0A%20documentAuthor%20%3D%20o1Prop.from.replace%20%28%2F%5Cs*%3C%5B%5E%3C%3E%5D%2B%3Cat%3E%5B%5E%3C%3E%5D%2B%3E%5Cs*%24%2F%2C%20%27%27%29%3B%0A%20%7D%0A%20if%20%28o1Prop.date%29%20%7B%0A%20var%20m%3B%0A%20if%20%28m%20%3D%20o1Prop.date.match%20%28%2F%5E%28%5Cd%2B%29-%28%5Cd%2B%29-%28%5Cd%2B%29%5Cs%2B%28%5Cd%2B%29%3A%28%5Cd%2B%29%3A%28%5Cd%2B%29%5Cs%2BGMT%24%2F%29%29%20%7B%0A%20lm%20%3D%20setTimeZoneToUTC%20%28new%20Date%20%28m%5B1%5D%2C%20m%5B2%5D%20-%201%2C%20m%5B3%5D%2C%20m%5B4%5D%2C%20m%5B5%5D%2C%20m%5B6%5D%29%29%3B%0A%20%7D%0A%20%7D%0A%20%7D%0A%7D%20else%20if%20%28locationHost%20%3D%3D%20%27lists.w3.org%27%29%20%7B%0A%20if%20%28documentAuthor%20!%3D%20null%29%20%7B%0A%20documentAuthor%0A%20%3D%20documentAuthor.replace%20%28%2F%5Cs%2B%5C%28%5B%5E%28%29%5D%2B%5C%29%24%2F%2C%20%27%27%29%3B%0A%20%7D%0A%20var%20dateEl%20%3D%20document.getElementById%20%28%27date%27%29%3B%0A%20if%20%28dateEl%29%20%7B%0A%20var%20m%20%3D%20dateEl.textContent%0A%20.replace%20%28%2F%5EDate%3A%5Cs%2B%2F%2C%20%27%27%29%3B%0A%20lm%20%3D%20new%20Date%20%28m%29%3B%0A%20%7D%0A%7D%20else%20if%20%28locationHost%20%3D%3D%20%27listserv.heanet.ie%27%29%20%7B%0A%20var%20docText%20%3D%20document.documentElement.textContent%3B%0A%20var%20m%3B%0A%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbSubject%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20title%20%3D%20swEscape%20%28m%5B1%5D%29%3B%0A%20titleLang%20%3D%20%27%40en%27%3B%0A%20%7D%0A%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbFrom%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20var%20documentAuthor%20%3D%20m%5B1%5D%3B%0A%20if%20%28m%20%3D%20documentAuthor.match%0A%20%28%2F%5E%5C%5Blog%20in%20to%20unmask%5C%5D%5Cs*%5C%28%28%5B%5E%28%29%5D%2B%29%5C%29%24%2F%29%29%20%7B%0A%20documentAuthor%20%3D%20m%5B1%5D%3B%0A%20%7D%20else%20%7B%0A%20documentAuthor%20%3D%20documentAuthor.replace%0A%20%28%2F%5Cs*%3C%5C%5Blog%20in%20to%20unmask%5C%5D%3E%2F%2C%20%27%27%29%0A%20.replace%20%28%2F%22%2Fg%2C%20%27%27%29%0A%20.replace%20%28%2F%5C%5Blog%20in%20to%20unmask%5C%5D%2F%2C%20%27%27%29%3B%0A%20%7D%0A%20if%20%28!documentAuthor%29%20documentAuthor%20%3D%20null%3B%0A%20%7D%0A%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbDate%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20if%20%28m%20%3D%20m%5B1%5D.match%20%28%2F%5E%5BA-Za-z%5D%2B%2C%20%28%5Cd%2B%29%20%28%5CS%2B%29%20%28%5Cd%2B%20%5Cd%2B%3A%5Cd%2B%3A%5Cd%2B%20E%5BSD%5DT%29%24%2F%29%29%20%7B%0A%20lm%20%3D%20new%20Date%20%28m%5B2%5D%20%2B%20%27%20%27%20%2B%20m%5B1%5D%20%2B%20%27%2C%20%27%20%2B%20m%5B3%5D%29%3B%0A%20%7D%0A%20%7D%0A%7D%0Aif%20%28lm%20!%3D%20null%20%26%26%20lm%20!%3D%20%27%27%29%20%7B%0A%20lm%20%3D%20new%20Date%20%28lm%29%3B%0A%7D%20else%20%7B%0A%20lm%20%3D%20null%3B%0A%7D%0Aif%20%28lm%20!%3D%20null%29%20%7B%0A%20var%20tzo%20%3D%20lm.getTimezoneOffset%20%28%29%3B%0A%20lm%20%3D%20%27%5BTIME%5B%27%20%2B%20lm.getFullYear%20%28%29%20%2B%20%27-%27%0A%20%2B%20%28%270%27%20%2B%20%28lm.getMonth%20%28%29%20%2B%201%29%29.substr%20%28-2%2C%202%29%20%2B%20%27-%27%0A%20%2B%20%28%270%27%20%2B%20lm.getDate%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%2B%20%28%270%27%20%2B%20lm.getHours%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%2B%20%28%270%27%20%2B%20lm.getMinutes%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%2B%20%28%270%27%20%2B%20lm.getSeconds%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%2B%20%28tzo%20%3E%200%20%3F%20%27-%27%20%3A%20%27%2B%27%29%0A%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%2F%2060%29%29.substr%20%28-2%2C%202%29%0A%20%2B%20%27%3A%27%0A%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%25%2060%29%29.substr%20%28-2%2C%202%29%0A%20%2B%20%27%5D%5D%27%3B%0A%7D%0A%0Avar%20credit%20%3D%20%27%27%3B%0Aif%20%28documentAuthor%20!%3D%20null%29%20%7B%0A%20credit%20%3D%20%27%5B%5B%27%20%2B%20swEscape%20%28documentAuthor%29%20%2B%20%27%5D%5D%20%E8%91%97%27%3B%0A%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20credit%20%2B%3D%20%27%2C%20%27%20%2B%20lm%20%2B%20%27%20%E7%89%88%27%3B%0A%20%7D%0A%7D%20else%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20credit%20%3D%20lm%20%2B%20%27%20%E7%89%88%27%3B%0A%7D%0A%0Avar%20uri%20%3D%20location.href%3B%0A%0Avar%20postURL%20%3D%20%27https%3A%2F%2Fwiki.suikawiki.org%2Fposturl%3Furl%3D%27%20%2B%20encodeURIComponent%20%28uri%29%20%2B%20%27%26title%3D%27%20%2B%20encodeURIComponent%20%28title%29%20%2B%20%27%26title-lang%3D%27%20%2B%20encodeURIComponent%20%28titleLang.replace%28%2F%5C%40%2F%2C%20%27%27%29%29%20%2B%20%27%26credit%3D%27%20%2B%20encodeURIComponent%20%28credit%29%20%2B%20%27%26quote%3D%27%20%2B%20encodeURIComponent%20%28swEscape%20%28getSelectedText%20%28%29%29%29%3B%0A%0Aif%20%28location.protocol%20%3D%3D%20%27http%3A%27%20%26%26%20document.contentType%20%3D%3D%3D%20%27text%2Fhtml%27%29%20%7B%0A%20%20var%20form%20%3D%20document.createElement%20%28%27div%27%29%3B%0A%20%20form.lang%20%3D%20%27en%27%3B%0A%20%20form.innerHTML%20%3D%20%27%3Cbutton%20onclick%3D%22this.parentNode.parentNode.removeChild%20%28this.parentNode%29%22%3EClose%3C%2Fbutton%3E%3Cbr%3E%3Ciframe%20src%3D%22%22%20style%3D%22width%3A100%25%3B%20height%3A%2020em%22%3E%3C%2Fiframe%3E%27%3B%0A%20%20form.lastChild.src%20%3D%20postURL%3B%0A%20%20form.lastChild.focus%20%28%29%3B%0A%20%20form.setAttribute%28%27style%27%2C%20%27display%3A%20block%3B%20position%3A%20fixed%3B%20top%3A%201em%3B%20left%3A%201em%3B%20width%3A%2040em%3B%20min-height%3A%2020em%3B%20background%3A%20white%3B%20color%3A%20black%3B%20border%3A%20gray%201px%20solid%3B%20text-indent%3A%201.5%3B%20z-index%3A%2010000000%27%29%3B%0A%20%20document.body.appendChild%20%28form%29%3B%0A%7D%20else%20%7B%0A%20%20window.open%20%28postURL%29%3B%0A%7D%0A%0Avoid%20%280%29%3B>
]FIG]
** 旧版
[FIG(bookmarklet)[
[1] <javascript:%0A%0Afunction%20swEscape%20%28s%29%20%7B%0A%20return%20s.replace%20%28%2F%5C%5B%2Fg%2C%20%22%27%27%27%5B%27%27%27%22%29.replace%20%28%2F%5C%5D%2Fg%2C%20%22%27%27%27%5D%27%27%27%22%29%3B%0A%7D%20%2F%2F%20swEscape%0A%0Afunction%20setTimeZoneToUTC%20%28d%29%20%7B%0A%20d.setUTCFullYear%20%28d.getFullYear%20%28%29%2C%20d.getMonth%20%28%29%2C%20d.getDate%20%28%29%29%3B%0A%20d.setUTCHours%20%28d.getHours%20%28%29%2C%20d.getMinutes%20%28%29%2C%20d.getSeconds%20%28%29%29%3B%0A%20return%20d%3B%0A%7D%20%2F%2F%20setTimeZoneToUTC%0A%0Avar%20documentLanguage%20%3D%20null%3B%0Avar%20documentAuthor%20%3D%20null%3B%0Afunction%20scanMeta%20%28%29%20%7B%0A%20var%20metas%20%3D%20document.getElementsByTagName%20%28%27meta%27%29%3B%0A%20var%20metasLength%20%3D%20metas.length%3B%0A%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20metasLength%3B%20i%2B%2B%29%20%7B%0A%20var%20meta%20%3D%20metas%5Bi%5D%3B%0A%20var%20metaFieldName%20%3D%20meta.httpEquiv.toLowerCase%20%28%29%3B%0A%20if%20%28metaFieldName%20%3D%3D%20%27content-language%27%29%20%7B%0A%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20documentLanguage%20%3D%20meta.content.split%20%28%2F%5Cs*%2C%5Cs*%2F%29%5B0%5D%3B%0A%20%7D%0A%20%7D%0A%0A%20var%20metaName%20%3D%20meta.name.toLowerCase%20%28%29%3B%0A%20if%20%28metaName%20%3D%3D%20%27author%27%29%20%7B%0A%20if%20%28documentAuthor%20%3D%3D%20null%29%20%7B%0A%20documentAuthor%20%3D%20meta.content%3B%0A%20%7D%0A%20%7D%20else%20if%20%28metaName%20%3D%3D%20%27ms.locale%27%29%20%7B%0A%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20documentLanguage%20%3D%20meta.content%3B%0A%20%7D%0A%20%7D%0A%20%7D%0A%7D%20%2F%2F%20scanMeta%0A%0Afunction%20getElementLanguage%20%28el%29%20%7B%0A%20var%20xmlNS%20%3D%20%27http%3A%2F%2Fwww.w3.org%2FXML%2F1998%2Fnamespace%27%3B%0A%20while%20%28el%20!%3D%20null%29%20%7B%0A%20if%20%28el.nodeType%20%3D%3D%20el.ELEMENT_NODE%29%20%7B%0A%20if%20%28el.hasAttributeNS%20%28xmlNS%2C%20%27lang%27%29%29%20%7B%0A%20return%20el.getAttributeNS%20%28xmlNS%2C%20%27lang%27%29%3B%0A%20%7D%20else%20if%20%28%28el.namespaceURI%20%3D%3D%20null%20%7C%7C%0A%20el.namespaceURI%20%3D%3D%20%27http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%27%29%20%26%26%0A%20el.hasAttributeNS%20%28null%2C%20%27lang%27%29%29%20%7B%0A%20return%20el.getAttributeNS%20%28null%2C%20%27lang%27%29%3B%0A%20%7D%0A%20%7D%0A%20el%20%3D%20el.parentNode%3B%0A%20%7D%0A%0A%20%2F*%20NOTE%3A%20%7CContent-Language%7C%20is%20not%20supported%0A%20since%20DOM%20provides%20no%20access%20to%20HTTP%0A%20header%20fields.%20*%2F%0A%20return%20documentLanguage%20!%3D%20null%20%3F%20documentLanguage%20%3A%20%27%27%3B%0A%7D%20%2F%2F%20getElementLanguage%0A%0Afunction%20getSelectedText%20%28%29%20%7B%0A%20%20var%20sel%20%3D%20window.getSelection%20%28%29%3B%0A%20%20return%20sel.toString%20%28%29%3B%0A%7D%20%2F%2F%20getSelectedText%0A%0AscanMeta%20%28%29%3B%0A%0Avar%20locationHost%3B%0Atry%20%7B%0A%20locationHost%20%3D%20location.host%3B%0A%7D%20catch%20%28e%29%20%7B%0A%20locationHost%20%3D%20null%3B%0A%7D%0A%0Avar%20title%20%3D%20document.title%3B%0Avar%20titleLang%20%3D%20%27%27%3B%0Avar%20lm%20%3D%20document.lastModified%3B%0Aif%20%28locationHost%20%3D%3D%20%27permalink.gmane.org%27%29%20%7B%0A%20var%20h2El%20%3D%20document.getElementsByTagName%20%28%27h2%27%29%5B0%5D%3B%0A%20if%20%28h2El%29%20%7B%0A%20title%20%3D%20swEscape%20%28h2El.textContent%29%3B%0A%20titleLang%20%3D%20getElementLanguage%20%28h2El%29%3B%0A%20%7D%0A%7D%0Aif%20%28locationHost%20%3D%3D%20%27html5.org%27%29%20%7B%0A%20var%20logEl%20%3D%20document.getElementById%20%28%27log%27%29%3B%0A%20if%20%28logEl%29%20%7B%0A%20var%20rows%20%3D%20logEl.rows%3B%0A%20if%20%28rows.length%20%3D%3D%202%29%20%7B%0A%20var%20row%20%3D%20rows%5B1%5D%3B%0A%20var%20revCell%20%3D%20row.cells%5B0%5D%3B%0A%20if%20%28revCell%29%20%7B%0A%20var%20rev%20%3D%20parseInt%20%28revCell.textContent%29%3B%0A%20if%20%28rev%29%20%7B%0A%20var%20titleCell%20%3D%20row.cells%5B2%5D%3B%0A%20if%20%28titleCell%29%20%7B%0A%20title%20%3D%20%27Web%20Applications%201.0%20r%27%20%2B%20rev%20%2B%20%27%20%27%20%2B%20swEscape%20%28titleCell.textContent%29%3B%0A%20titleLang%20%3D%20getElementLanguage%20%28titleCell%29%3B%0A%20var%20m%20%3D%20row.cells%5B3%5D.textContent.match%20%28%2F%5E%28%5B0-9%5D%7B4%7D%29-%28%5B0-9%5D%7B2%7D%29-%28%5B0-9%5D%7B2%7D%29%5Cs%2B%28%5B0-9%5D%7B2%7D%29%3A%28%5B0-9%5D%7B2%7D%29%24%2F%29%3B%0A%20if%20%28m%29%20lm%20%3D%20setTimeZoneToUTC%20%28new%20Date%20%28m%5B1%5D%2C%20m%5B2%5D%20-%201%2C%20m%5B3%5D%2C%20m%5B4%5D%2C%20m%5B5%5D%29%29%3B%0A%20%7D%0A%20%7D%0A%20%7D%0A%20%7D%0A%20%7D%0A%7D%0Aif%20%28title%20%3D%3D%20null%20%7C%7C%20title%20%3D%3D%20%27%27%20%7C%7C%0A%20locationHost%20%3D%3D%20%27lists.w3.org%27%29%20%7B%0A%20var%20h1El%20%3D%20document.getElementsByTagName%20%28%27h1%27%29%5B0%5D%3B%0A%20H1EL%3A%20%7B%0A%20if%20%28h1El%29%20%7B%0A%20break%20H1EL%3B%0A%20%7D%0A%20var%20fonts%20%3D%20document.getElementsByTagName%20%28%27font%27%29%3B%0A%20fontsLength%20%3D%20fonts.length%3B%0A%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20fontsLength%3B%20i%2B%2B%29%20%7B%0A%20var%20font%20%3D%20fonts%5Bi%5D%3B%0A%20if%20%28font.size%20%3D%3D%20%277%27%20%7C%7C%20font.size%20%3D%3D%20%27%2B4%27%29%20%7B%0A%20h1El%20%3D%20font%3B%0A%20break%20H1EL%3B%0A%20%7D%0A%20%7D%0A%20%7D%20%2F%2F%20H1EL%0A%20if%20%28h1El%29%20%7B%0A%20title%20%3D%20swEscape%20%28h1El.textContent%29%3B%0A%20titleLang%20%3D%20getElementLanguage%20%28h1El%29%3B%0A%20%7D%20else%20%7B%0A%20title%20%3D%20title%20%3D%3D%20null%20%3F%20%27%27%20%3A%20title%3B%0A%20%7D%0A%7D%20else%20%7B%0A%20title%20%3D%20swEscape%20%28title%29%3B%0A%20var%20titleEl%20%3D%20document.getElementsByTagName%20%28%27title%27%29%5B0%5D%3B%0A%20if%20%28titleEl%29%20%7B%0A%20titleLang%20%3D%20getElementLanguage%20%28titleEl%29%3B%0A%20%7D%0A%7D%0Aif%20%28titleLang%20!%3D%20%27%27%29%20%7B%0A%20titleLang%20%3D%20%27%40%27%20%2B%20titleLang%3B%0A%7D%0A%0Aif%20%28locationHost%20%3D%3D%20%27permalink.gmane.org%27%29%20%7B%0A%20var%20o1El%20%3D%20document.getElementById%20%28%27o1%27%29%3B%0A%20if%20%28o1El%29%20%7B%0A%20var%20o1Prop%20%3D%20%7B%7D%3B%0A%20o1El.textContent.split%20%28%22%5Cn%22%29.forEach%20%28function%20%28s%29%20%7B%0A%20var%20nv%20%3D%20s.split%20%28%27%3A%20%27%2C%202%29%3B%0A%20if%20%28nv%5B1%5D%29%20%7B%0A%20o1Prop%5Bnv%5B0%5D.toLowerCase%20%28%29%5D%20%3D%20nv%5B1%5D%3B%0A%20%7D%20else%20%7B%0A%20if%20%28!o1Prop.from%29%20%7B%0A%20o1Prop.from%20%3D%20s%3B%0A%20%7D%20else%20if%20%28!o1Prop.date%29%20%7B%0A%20o1Prop.date%20%3D%20s%3B%0A%20%7D%0A%20%7D%0A%20%7D%29%3B%0A%20if%20%28o1Prop.from%29%20%7B%0A%20documentAuthor%20%3D%20o1Prop.from.replace%20%28%2F%5Cs*%3C%5B%5E%3C%3E%5D%2B%3Cat%3E%5B%5E%3C%3E%5D%2B%3E%5Cs*%24%2F%2C%20%27%27%29%3B%0A%20%7D%0A%20if%20%28o1Prop.date%29%20%7B%0A%20var%20m%3B%0A%20if%20%28m%20%3D%20o1Prop.date.match%20%28%2F%5E%28%5Cd%2B%29-%28%5Cd%2B%29-%28%5Cd%2B%29%5Cs%2B%28%5Cd%2B%29%3A%28%5Cd%2B%29%3A%28%5Cd%2B%29%5Cs%2BGMT%24%2F%29%29%20%7B%0A%20lm%20%3D%20setTimeZoneToUTC%20%28new%20Date%20%28m%5B1%5D%2C%20m%5B2%5D%20-%201%2C%20m%5B3%5D%2C%20m%5B4%5D%2C%20m%5B5%5D%2C%20m%5B6%5D%29%29%3B%0A%20%7D%0A%20%7D%0A%20%7D%0A%7D%20else%20if%20%28locationHost%20%3D%3D%20%27lists.w3.org%27%29%20%7B%0A%20if%20%28documentAuthor%20!%3D%20null%29%20%7B%0A%20documentAuthor%0A%20%3D%20documentAuthor.replace%20%28%2F%5Cs%2B%5C%28%5B%5E%28%29%5D%2B%5C%29%24%2F%2C%20%27%27%29%3B%0A%20%7D%0A%20var%20dateEl%20%3D%20document.getElementById%20%28%27date%27%29%3B%0A%20if%20%28dateEl%29%20%7B%0A%20var%20m%20%3D%20dateEl.textContent%0A%20.replace%20%28%2F%5EDate%3A%5Cs%2B%2F%2C%20%27%27%29%3B%0A%20lm%20%3D%20new%20Date%20%28m%29%3B%0A%20%7D%0A%7D%20else%20if%20%28locationHost%20%3D%3D%20%27listserv.heanet.ie%27%29%20%7B%0A%20var%20docText%20%3D%20document.documentElement.textContent%3B%0A%20var%20m%3B%0A%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbSubject%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20title%20%3D%20swEscape%20%28m%5B1%5D%29%3B%0A%20titleLang%20%3D%20%27%40en%27%3B%0A%20%7D%0A%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbFrom%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20var%20documentAuthor%20%3D%20m%5B1%5D%3B%0A%20if%20%28m%20%3D%20documentAuthor.match%0A%20%28%2F%5E%5C%5Blog%20in%20to%20unmask%5C%5D%5Cs*%5C%28%28%5B%5E%28%29%5D%2B%29%5C%29%24%2F%29%29%20%7B%0A%20documentAuthor%20%3D%20m%5B1%5D%3B%0A%20%7D%20else%20%7B%0A%20documentAuthor%20%3D%20documentAuthor.replace%0A%20%28%2F%5Cs*%3C%5C%5Blog%20in%20to%20unmask%5C%5D%3E%2F%2C%20%27%27%29%0A%20.replace%20%28%2F%22%2Fg%2C%20%27%27%29%0A%20.replace%20%28%2F%5C%5Blog%20in%20to%20unmask%5C%5D%2F%2C%20%27%27%29%3B%0A%20%7D%0A%20if%20%28!documentAuthor%29%20documentAuthor%20%3D%20null%3B%0A%20%7D%0A%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbDate%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20if%20%28m%20%3D%20m%5B1%5D.match%20%28%2F%5E%5BA-Za-z%5D%2B%2C%20%28%5Cd%2B%29%20%28%5CS%2B%29%20%28%5Cd%2B%20%5Cd%2B%3A%5Cd%2B%3A%5Cd%2B%20E%5BSD%5DT%29%24%2F%29%29%20%7B%0A%20lm%20%3D%20new%20Date%20%28m%5B2%5D%20%2B%20%27%20%27%20%2B%20m%5B1%5D%20%2B%20%27%2C%20%27%20%2B%20m%5B3%5D%29%3B%0A%20%7D%0A%20%7D%0A%7D%0Aif%20%28lm%20!%3D%20null%20%26%26%20lm%20!%3D%20%27%27%29%20%7B%0A%20lm%20%3D%20new%20Date%20%28lm%29%3B%0A%7D%20else%20%7B%0A%20lm%20%3D%20null%3B%0A%7D%0Aif%20%28lm%20!%3D%20null%29%20%7B%0A%20var%20tzo%20%3D%20lm.getTimezoneOffset%20%28%29%3B%0A%20lm%20%3D%20%27%5BTIME%5B%27%20%2B%20lm.getFullYear%20%28%29%20%2B%20%27-%27%0A%20%2B%20%28%270%27%20%2B%20%28lm.getMonth%20%28%29%20%2B%201%29%29.substr%20%28-2%2C%202%29%20%2B%20%27-%27%0A%20%2B%20%28%270%27%20%2B%20lm.getDate%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%2B%20%28%270%27%20%2B%20lm.getHours%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%2B%20%28%270%27%20%2B%20lm.getMinutes%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%2B%20%28%270%27%20%2B%20lm.getSeconds%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%2B%20%28tzo%20%3E%200%20%3F%20%27-%27%20%3A%20%27%2B%27%29%0A%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%2F%2060%29%29.substr%20%28-2%2C%202%29%0A%20%2B%20%27%3A%27%0A%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%25%2060%29%29.substr%20%28-2%2C%202%29%0A%20%2B%20%27%5D%5D%27%3B%0A%7D%0A%0Avar%20credit%20%3D%20%27%27%3B%0Aif%20%28documentAuthor%20!%3D%20null%29%20%7B%0A%20credit%20%3D%20%27%5B%5B%27%20%2B%20swEscape%20%28documentAuthor%29%20%2B%20%27%5D%5D%20%E8%91%97%27%3B%0A%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20credit%20%2B%3D%20%27%2C%20%27%20%2B%20lm%20%2B%20%27%20%E7%89%88%27%3B%0A%20%7D%0A%7D%20else%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20credit%20%3D%20lm%20%2B%20%27%20%E7%89%88%27%3B%0A%7D%0A%0Avar%20uri%20%3D%20location.href%3B%0A%0Avar%20postURL%20%3D%20%27http%3A%2F%2Fwiki.suikawiki.org%2Fposturl%3Furl%3D%27%20%2B%20encodeURIComponent%20%28uri%29%20%2B%20%27%26title%3D%27%20%2B%20encodeURIComponent%20%28title%29%20%2B%20%27%26title-lang%3D%27%20%2B%20encodeURIComponent%20%28titleLang.replace%28%2F%5C%40%2F%2C%20%27%27%29%29%20%2B%20%27%26credit%3D%27%20%2B%20encodeURIComponent%20%28credit%29%20%2B%20%27%26quote%3D%27%20%2B%20encodeURIComponent%20%28swEscape%20%28getSelectedText%20%28%29%29%29%3B%0A%0Aif%20%28location.protocol%20%3D%3D%20%27http%3A%27%29%20%7B%0A%20%20var%20form%20%3D%20document.createElement%20%28%27div%27%29%3B%0A%20%20form.lang%20%3D%20%27en%27%3B%0A%20%20form.innerHTML%20%3D%20%27%3Cbutton%20onclick%3D%22this.parentNode.parentNode.removeChild%20%28this.parentNode%29%22%3EClose%3C%2Fbutton%3E%3Cbr%3E%3Ciframe%20src%3D%22%22%20style%3D%22width%3A100%25%3B%20height%3A%2020em%22%3E%3C%2Fiframe%3E%27%3B%0A%20%20form.lastChild.src%20%3D%20postURL%3B%0A%20%20form.lastChild.focus%20%28%29%3B%0A%20%20form.setAttribute%28%27style%27%2C%20%27display%3A%20block%3B%20position%3A%20fixed%3B%20top%3A%201em%3B%20left%3A%201em%3B%20width%3A%2040em%3B%20min-height%3A%2020em%3B%20background%3A%20white%3B%20color%3A%20black%3B%20border%3A%20gray%201px%20solid%3B%20text-indent%3A%201.5%3B%20z-index%3A%2010000000%27%29%3B%0A%20%20document.body.appendChild%20%28form%29%3B%0A%7D%20else%20%7B%0A%20%20window.open%20%28postURL%29%3B%0A%7D%0A%0Avoid%20%280%29%3B> [TIME[2015-01-18T06:54:50.600Z]]
]FIG]
[FIG(bookmarklet)[
[105] <javascript:%0A%0Afunction%20swEscape%20%28s%29%20%7B%0A%20return%20s.replace%20%28%2F%5C%5B%2F%2C%20%22%27%27%27%5B%27%27%27%22%29.replace%20%28%2F%5C%5D%2F%2C%20%22%27%27%27%5D%27%27%27%22%29%3B%0A%7D%20%2F%2F%20swEscape%0A%0Afunction%20setTimeZoneToUTC%20%28d%29%20%7B%0A%20d.setUTCFullYear%20%28d.getFullYear%20%28%29%2C%20d.getMonth%20%28%29%2C%20d.getDate%20%28%29%29%3B%0A%20d.setUTCHours%20%28d.getHours%20%28%29%2C%20d.getMinutes%20%28%29%2C%20d.getSeconds%20%28%29%29%3B%0A%20return%20d%3B%0A%7D%20%2F%2F%20setTimeZoneToUTC%0A%0Avar%20documentLanguage%20%3D%20null%3B%0Avar%20documentAuthor%20%3D%20null%3B%0Afunction%20scanMeta%20%28%29%20%7B%0A%20var%20metas%20%3D%20document.getElementsByTagName%20%28%27meta%27%29%3B%0A%20var%20metasLength%20%3D%20metas.length%3B%0A%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20metasLength%3B%20i%2B%2B%29%20%7B%0A%20var%20meta%20%3D%20metas%5Bi%5D%3B%0A%20var%20metaFieldName%20%3D%20meta.httpEquiv.toLowerCase%20%28%29%3B%0A%20if%20%28metaFieldName%20%3D%3D%20%27content-language%27%29%20%7B%0A%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20documentLanguage%20%3D%20meta.content.split%20%28%2F%5Cs*%2C%5Cs*%2F%29%5B0%5D%3B%0A%20%7D%0A%20%7D%0A%0A%20var%20metaName%20%3D%20meta.name.toLowerCase%20%28%29%3B%0A%20if%20%28metaName%20%3D%3D%20%27author%27%29%20%7B%0A%20if%20%28documentAuthor%20%3D%3D%20null%29%20%7B%0A%20documentAuthor%20%3D%20meta.content%3B%0A%20%7D%0A%20%7D%20else%20if%20%28metaName%20%3D%3D%20%27ms.locale%27%29%20%7B%0A%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20documentLanguage%20%3D%20meta.content%3B%0A%20%7D%0A%20%7D%0A%20%7D%0A%7D%20%2F%2F%20scanMeta%0A%0Afunction%20getElementLanguage%20%28el%29%20%7B%0A%20var%20xmlNS%20%3D%20%27http%3A%2F%2Fwww.w3.org%2FXML%2F1998%2Fnamespace%27%3B%0A%20while%20%28el%20!%3D%20null%29%20%7B%0A%20if%20%28el.nodeType%20%3D%3D%20el.ELEMENT_NODE%29%20%7B%0A%20if%20%28el.hasAttributeNS%20%28xmlNS%2C%20%27lang%27%29%29%20%7B%0A%20return%20el.getAttributeNS%20%28xmlNS%2C%20%27lang%27%29%3B%0A%20%7D%20else%20if%20%28%28el.namespaceURI%20%3D%3D%20null%20%7C%7C%0A%20el.namespaceURI%20%3D%3D%20%27http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%27%29%20%26%26%0A%20el.hasAttributeNS%20%28null%2C%20%27lang%27%29%29%20%7B%0A%20return%20el.getAttributeNS%20%28null%2C%20%27lang%27%29%3B%0A%20%7D%0A%20%7D%0A%20el%20%3D%20el.parentNode%3B%0A%20%7D%0A%0A%20%2F*%20NOTE%3A%20%7CContent-Language%7C%20is%20not%20supported%0A%20since%20DOM%20provides%20no%20access%20to%20HTTP%0A%20header%20fields.%20*%2F%0A%20return%20documentLanguage%20!%3D%20null%20%3F%20documentLanguage%20%3A%20%27%27%3B%0A%7D%20%2F%2F%20getElementLanguage%0A%0AscanMeta%20%28%29%3B%0A%0Avar%20locationHost%3B%0Atry%20%7B%0A%20locationHost%20%3D%20location.host%3B%0A%7D%20catch%20%28e%29%20%7B%0A%20locationHost%20%3D%20null%3B%0A%7D%0A%0Avar%20title%20%3D%20document.title%3B%0Avar%20titleLang%20%3D%20%27%27%3B%0Avar%20lm%20%3D%20document.lastModified%3B%0Aif%20%28locationHost%20%3D%3D%20%27permalink.gmane.org%27%29%20%7B%0A%20var%20h2El%20%3D%20document.getElementsByTagName%20%28%27h2%27%29%5B0%5D%3B%0A%20if%20%28h2El%29%20%7B%0A%20title%20%3D%20swEscape%20%28h2El.textContent%29%3B%0A%20titleLang%20%3D%20getElementLanguage%20%28h2El%29%3B%0A%20%7D%0A%7D%0Aif%20%28locationHost%20%3D%3D%20%27html5.org%27%29%20%7B%0A%20var%20logEl%20%3D%20document.getElementById%20%28%27log%27%29%3B%0A%20if%20%28logEl%29%20%7B%0A%20var%20rows%20%3D%20logEl.rows%3B%0A%20if%20%28rows.length%20%3D%3D%202%29%20%7B%0A%20var%20row%20%3D%20rows%5B1%5D%3B%0A%20var%20revCell%20%3D%20row.cells%5B0%5D%3B%0A%20if%20%28revCell%29%20%7B%0A%20var%20rev%20%3D%20parseInt%20%28revCell.textContent%29%3B%0A%20if%20%28rev%29%20%7B%0A%20var%20titleCell%20%3D%20row.cells%5B2%5D%3B%0A%20if%20%28titleCell%29%20%7B%0A%20title%20%3D%20%27Web%20Applications%201.0%20r%27%20%2B%20rev%20%2B%20%27%20%27%20%2B%20swEscape%20%28titleCell.textContent%29%3B%0A%20titleLang%20%3D%20getElementLanguage%20%28titleCell%29%3B%0A%20var%20m%20%3D%20row.cells%5B3%5D.textContent.match%20%28%2F%5E%28%5B0-9%5D%7B4%7D%29-%28%5B0-9%5D%7B2%7D%29-%28%5B0-9%5D%7B2%7D%29%5Cs%2B%28%5B0-9%5D%7B2%7D%29%3A%28%5B0-9%5D%7B2%7D%29%24%2F%29%3B%0A%20if%20%28m%29%20lm%20%3D%20setTimeZoneToUTC%20%28new%20Date%20%28m%5B1%5D%2C%20m%5B2%5D%20-%201%2C%20m%5B3%5D%2C%20m%5B4%5D%2C%20m%5B5%5D%29%29%3B%0A%20%7D%0A%20%7D%0A%20%7D%0A%20%7D%0A%20%7D%0A%7D%0Aif%20%28title%20%3D%3D%20null%20%7C%7C%20title%20%3D%3D%20%27%27%20%7C%7C%0A%20locationHost%20%3D%3D%20%27lists.w3.org%27%29%20%7B%0A%20var%20h1El%20%3D%20document.getElementsByTagName%20%28%27h1%27%29%5B0%5D%3B%0A%20H1EL%3A%20%7B%0A%20if%20%28h1El%29%20%7B%0A%20break%20H1EL%3B%0A%20%7D%0A%20var%20fonts%20%3D%20document.getElementsByTagName%20%28%27font%27%29%3B%0A%20fontsLength%20%3D%20fonts.length%3B%0A%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20fontsLength%3B%20i%2B%2B%29%20%7B%0A%20var%20font%20%3D%20fonts%5Bi%5D%3B%0A%20if%20%28font.size%20%3D%3D%20%277%27%20%7C%7C%20font.size%20%3D%3D%20%27%2B4%27%29%20%7B%0A%20h1El%20%3D%20font%3B%0A%20break%20H1EL%3B%0A%20%7D%0A%20%7D%0A%20%7D%20%2F%2F%20H1EL%0A%20if%20%28h1El%29%20%7B%0A%20title%20%3D%20swEscape%20%28h1El.textContent%29%3B%0A%20titleLang%20%3D%20getElementLanguage%20%28h1El%29%3B%0A%20%7D%20else%20%7B%0A%20title%20%3D%20title%20%3D%3D%20null%20%3F%20%27%27%20%3A%20title%3B%0A%20%7D%0A%7D%20else%20%7B%0A%20title%20%3D%20swEscape%20%28title%29%3B%0A%20var%20titleEl%20%3D%20document.getElementsByTagName%20%28%27title%27%29%5B0%5D%3B%0A%20if%20%28titleEl%29%20%7B%0A%20titleLang%20%3D%20getElementLanguage%20%28titleEl%29%3B%0A%20%7D%0A%7D%0Aif%20%28titleLang%20!%3D%20%27%27%29%20%7B%0A%20titleLang%20%3D%20%27%40%27%20%2B%20titleLang%3B%0A%7D%0A%0Aif%20%28locationHost%20%3D%3D%20%27permalink.gmane.org%27%29%20%7B%0A%20var%20o1El%20%3D%20document.getElementById%20%28%27o1%27%29%3B%0A%20if%20%28o1El%29%20%7B%0A%20var%20o1Prop%20%3D%20%7B%7D%3B%0A%20o1El.textContent.split%20%28%22%5Cn%22%29.forEach%20%28function%20%28s%29%20%7B%0A%20var%20nv%20%3D%20s.split%20%28%27%3A%20%27%2C%202%29%3B%0A%20if%20%28nv%5B1%5D%29%20%7B%0A%20o1Prop%5Bnv%5B0%5D.toLowerCase%20%28%29%5D%20%3D%20nv%5B1%5D%3B%0A%20%7D%20else%20%7B%0A%20if%20%28!o1Prop.from%29%20%7B%0A%20o1Prop.from%20%3D%20s%3B%0A%20%7D%20else%20if%20%28!o1Prop.date%29%20%7B%0A%20o1Prop.date%20%3D%20s%3B%0A%20%7D%0A%20%7D%0A%20%7D%29%3B%0A%20if%20%28o1Prop.from%29%20%7B%0A%20documentAuthor%20%3D%20o1Prop.from.replace%20%28%2F%5Cs*%3C%5B%5E%3C%3E%5D%2B%3Cat%3E%5B%5E%3C%3E%5D%2B%3E%5Cs*%24%2F%2C%20%27%27%29%3B%0A%20%7D%0A%20if%20%28o1Prop.date%29%20%7B%0A%20var%20m%3B%0A%20if%20%28m%20%3D%20o1Prop.date.match%20%28%2F%5E%28%5Cd%2B%29-%28%5Cd%2B%29-%28%5Cd%2B%29%5Cs%2B%28%5Cd%2B%29%3A%28%5Cd%2B%29%3A%28%5Cd%2B%29%5Cs%2BGMT%24%2F%29%29%20%7B%0A%20lm%20%3D%20setTimeZoneToUTC%20%28new%20Date%20%28m%5B1%5D%2C%20m%5B2%5D%20-%201%2C%20m%5B3%5D%2C%20m%5B4%5D%2C%20m%5B5%5D%2C%20m%5B6%5D%29%29%3B%0A%20%7D%0A%20%7D%0A%20%7D%0A%7D%20else%20if%20%28locationHost%20%3D%3D%20%27lists.w3.org%27%29%20%7B%0A%20if%20%28documentAuthor%20!%3D%20null%29%20%7B%0A%20documentAuthor%0A%20%3D%20documentAuthor.replace%20%28%2F%5Cs%2B%5C%28%5B%5E%28%29%5D%2B%5C%29%24%2F%2C%20%27%27%29%3B%0A%20%7D%0A%20var%20dateEl%20%3D%20document.getElementById%20%28%27date%27%29%3B%0A%20if%20%28dateEl%29%20%7B%0A%20var%20m%20%3D%20dateEl.textContent%0A%20.replace%20%28%2F%5EDate%3A%5Cs%2B%2F%2C%20%27%27%29%3B%0A%20lm%20%3D%20new%20Date%20%28m%29%3B%0A%20%7D%0A%7D%20else%20if%20%28locationHost%20%3D%3D%20%27listserv.heanet.ie%27%29%20%7B%0A%20var%20docText%20%3D%20document.documentElement.textContent%3B%0A%20var%20m%3B%0A%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbSubject%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20title%20%3D%20swEscape%20%28m%5B1%5D%29%3B%0A%20titleLang%20%3D%20%27%40en%27%3B%0A%20%7D%0A%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbFrom%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20var%20documentAuthor%20%3D%20m%5B1%5D%3B%0A%20if%20%28m%20%3D%20documentAuthor.match%0A%20%28%2F%5E%5C%5Blog%20in%20to%20unmask%5C%5D%5Cs*%5C%28%28%5B%5E%28%29%5D%2B%29%5C%29%24%2F%29%29%20%7B%0A%20documentAuthor%20%3D%20m%5B1%5D%3B%0A%20%7D%20else%20%7B%0A%20documentAuthor%20%3D%20documentAuthor.replace%0A%20%28%2F%5Cs*%3C%5C%5Blog%20in%20to%20unmask%5C%5D%3E%2F%2C%20%27%27%29%0A%20.replace%20%28%2F%22%2Fg%2C%20%27%27%29%0A%20.replace%20%28%2F%5C%5Blog%20in%20to%20unmask%5C%5D%2F%2C%20%27%27%29%3B%0A%20%7D%0A%20if%20%28!documentAuthor%29%20documentAuthor%20%3D%20null%3B%0A%20%7D%0A%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbDate%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20if%20%28m%20%3D%20m%5B1%5D.match%20%28%2F%5E%5BA-Za-z%5D%2B%2C%20%28%5Cd%2B%29%20%28%5CS%2B%29%20%28%5Cd%2B%20%5Cd%2B%3A%5Cd%2B%3A%5Cd%2B%20E%5BSD%5DT%29%24%2F%29%29%20%7B%0A%20lm%20%3D%20new%20Date%20%28m%5B2%5D%20%2B%20%27%20%27%20%2B%20m%5B1%5D%20%2B%20%27%2C%20%27%20%2B%20m%5B3%5D%29%3B%0A%20%7D%0A%20%7D%0A%7D%0Aif%20%28lm%20!%3D%20null%20%26%26%20lm%20!%3D%20%27%27%29%20%7B%0A%20lm%20%3D%20new%20Date%20%28lm%29%3B%0A%7D%20else%20%7B%0A%20lm%20%3D%20null%3B%0A%7D%0Aif%20%28lm%20!%3D%20null%29%20%7B%0A%20var%20tzo%20%3D%20lm.getTimezoneOffset%20%28%29%3B%0A%20lm%20%3D%20%27%5BTIME%5B%27%20%2B%20lm.getFullYear%20%28%29%20%2B%20%27-%27%0A%20%2B%20%28%270%27%20%2B%20%28lm.getMonth%20%28%29%20%2B%201%29%29.substr%20%28-2%2C%202%29%20%2B%20%27-%27%0A%20%2B%20%28%270%27%20%2B%20lm.getDate%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%2B%20%28%270%27%20%2B%20lm.getHours%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%2B%20%28%270%27%20%2B%20lm.getMinutes%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%2B%20%28%270%27%20%2B%20lm.getSeconds%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%2B%20%28tzo%20%3E%200%20%3F%20%27-%27%20%3A%20%27%2B%27%29%0A%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%2F%2060%29%29.substr%20%28-2%2C%202%29%0A%20%2B%20%27%3A%27%0A%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%25%2060%29%29.substr%20%28-2%2C%202%29%0A%20%2B%20%27%5D%5D%27%3B%0A%7D%0A%0Avar%20credit%20%3D%20%27%27%3B%0Aif%20%28documentAuthor%20!%3D%20null%29%20%7B%0A%20credit%20%3D%20%27%20%28%5B%5B%27%20%2B%20swEscape%20%28documentAuthor%29%20%2B%20%27%5D%5D%20%E8%91%97%27%3B%0A%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20credit%20%2B%3D%20%27%2C%20%27%20%2B%20lm%20%2B%20%27%20%E7%89%88%29%27%3B%0A%20%7D%0A%7D%20else%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20credit%20%3D%20%27%20%28%27%20%2B%20lm%20%2B%20%27%20%E7%89%88%29%27%3B%0A%7D%0A%0Avar%20uri%20%3D%20location.href%3B%0A%0Avar%20postURL%20%3D%20%27http%3A%2F%2Fwiki.suikawiki.org%2Fposturl%3Furl%3D%27%20%2B%20encodeURIComponent%20%28uri%29%20%2B%20%27%26title%3D%27%20%2B%20encodeURIComponent%20%28title%29%20%2B%20%27%26title-lang%3D%27%20%2B%20encodeURIComponent%20%28titleLang.replace%28%2F%5C%40%2F%2C%20%27%27%29%29%20%2B%20%27%26credit%3D%27%20%2B%20encodeURIComponent%20%28credit%29%3B%0A%0Aif%20%28location.protocol%20%3D%3D%20%27http%3A%27%29%20%7B%0A%20%20var%20form%20%3D%20document.createElement%20%28%27div%27%29%3B%0A%20%20form.lang%20%3D%20%27en%27%3B%0A%20%20form.innerHTML%20%3D%20%27%3Cbutton%20onclick%3D%22this.parentNode.parentNode.removeChild%20%28this.parentNode%29%22%3EClose%3C%2Fbutton%3E%3Cbr%3E%3Ciframe%20src%3D%22%22%20style%3D%22width%3A100%25%3B%20height%3A%2020em%22%3E%3C%2Fiframe%3E%27%3B%0A%20%20form.lastChild.src%20%3D%20postURL%3B%0A%20%20form.lastChild.focus%20%28%29%3B%0A%20%20form.setAttribute%28%27style%27%2C%20%27display%3A%20block%3B%20position%3A%20fixed%3B%20top%3A%201em%3B%20left%3A%201em%3B%20width%3A%2040em%3B%20min-height%3A%2020em%3B%20background%3A%20white%3B%20color%3A%20black%3B%20border%3A%20gray%201px%20solid%3B%20text-indent%3A%201.5%3B%20z-index%3A%2010000000%27%29%3B%0A%20%20document.body.appendChild%20%28form%29%3B%0A%7D%20else%20%7B%0A%20%20window.open%20%28postURL%29%3B%0A%7D%0A%0Avoid%20%280%29%3B> [TIME[2014-04-23T08:03:05.500Z]]
]FIG]
[FIG(bookmarklet)[
[FIGCAPTION[
[99] [[HTML5]] Tracker の変更に追随。 [TIME[2010-11-15T23:58:34.00Z]]
]FIGCAPTION]
<javascript:%0A%0Afunction%20swEscape%20%28s%29%20%7B%0A%20%20return%20s.replace%20%28%2F%5C%5B%2F%2C%20%22%27%27%27%5B%27%27%27%22%29.replace%20%28%2F%5C%5D%2F%2C%20%22%27%27%27%5D%27%27%27%22%29%3B%0A%7D%20%2F%2F%20swEscape%0A%0Afunction%20setTimeZoneToUTC%20%28d%29%20%7B%0A%20%20d.setUTCFullYear%20%28d.getFullYear%20%28%29%2C%20d.getMonth%20%28%29%2C%20d.getDate%20%28%29%29%3B%0A%20%20d.setUTCHours%20%28d.getHours%20%28%29%2C%20d.getMinutes%20%28%29%2C%20d.getSeconds%20%28%29%29%3B%0A%20%20return%20d%3B%0A%7D%20%2F%2F%20setTimeZoneToUTC%0A%0Avar%20documentLanguage%20%3D%20null%3B%0Avar%20documentAuthor%20%3D%20null%3B%0Afunction%20scanMeta%20%28%29%20%7B%0A%20%20var%20metas%20%3D%20document.getElementsByTagName%20%28%27meta%27%29%3B%0A%20%20var%20metasLength%20%3D%20metas.length%3B%0A%20%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20metasLength%3B%20i%2B%2B%29%20%7B%0A%20%20%20%20var%20meta%20%3D%20metas%5Bi%5D%3B%0A%20%20%20%20var%20metaFieldName%20%3D%20meta.httpEquiv.toLowerCase%20%28%29%3B%0A%20%20%20%20if%20%28metaFieldName%20%3D%3D%20%27content-language%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentLanguage%20%3D%20meta.content.split%20%28%2F%5Cs*%2C%5Cs*%2F%29%5B0%5D%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%0A%20%20%20%20var%20metaName%20%3D%20meta.name.toLowerCase%20%28%29%3B%0A%20%20%20%20if%20%28metaName%20%3D%3D%20%27author%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentAuthor%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentAuthor%20%3D%20meta.content%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%20else%20if%20%28metaName%20%3D%3D%20%27ms.locale%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentLanguage%20%3D%20meta.content%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%20%2F%2F%20scanMeta%0A%0Afunction%20getElementLanguage%20%28el%29%20%7B%0A%20%20var%20xmlNS%20%3D%20%27http%3A%2F%2Fwww.w3.org%2FXML%2F1998%2Fnamespace%27%3B%0A%20%20while%20%28el%20!%3D%20null%29%20%7B%0A%20%20%20%20if%20%28el.nodeType%20%3D%3D%20el.ELEMENT_NODE%29%20%7B%0A%20%20%20%20%20%20if%20%28el.hasAttributeNS%20%28xmlNS%2C%20%27lang%27%29%29%20%7B%0A%20%20%20%20%20%20%20%20return%20el.getAttributeNS%20%28xmlNS%2C%20%27lang%27%29%3B%0A%20%20%20%20%20%20%7D%20else%20if%20%28%28el.namespaceURI%20%3D%3D%20null%20%7C%7C%0A%20%20%20%20%20%20%20%20%20%20el.namespaceURI%20%3D%3D%20%27http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%27%29%20%26%26%0A%20%20%20%20%20%20%20%20%20%20el.hasAttributeNS%20%28null%2C%20%27lang%27%29%29%20%7B%0A%20%20%20%20%20%20%20%20return%20el.getAttributeNS%20%28null%2C%20%27lang%27%29%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%20%20el%20%3D%20el.parentNode%3B%0A%20%20%7D%0A%0A%20%20%2F*%20NOTE%3A%20%7CContent-Language%7C%20is%20not%20supported%0A%20%20%20%20%20%20since%20DOM%20provides%20no%20access%20to%20HTTP%0A%20%20%20%20%20%20header%20fields.%20*%2F%0A%20%20return%20documentLanguage%20!%3D%20null%20%3F%20documentLanguage%20%3A%20%27%27%3B%0A%7D%20%2F%2F%20getElementLanguage%0A%0AscanMeta%20%28%29%3B%0A%0Avar%20locationHost%3B%0Atry%20%7B%0A%20%20locationHost%20%3D%20location.host%3B%0A%7D%20catch%20%28e%29%20%7B%0A%20%20locationHost%20%3D%20null%3B%0A%7D%0A%0Avar%20title%20%3D%20document.title%3B%0Avar%20titleLang%20%3D%20%27%27%3B%0Avar%20lm%20%3D%20document.lastModified%3B%0Aif%20%28locationHost%20%3D%3D%20%27permalink.gmane.org%27%29%20%7B%0A%20%20var%20h2El%20%3D%20document.getElementsByTagName%20%28%27h2%27%29%5B0%5D%3B%0A%20%20if%20%28h2El%29%20%7B%0A%20%20%20%20title%20%3D%20swEscape%20%28h2El.textContent%29%3B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28h2El%29%3B%0A%20%20%7D%0A%7D%0Aif%20%28locationHost%20%3D%3D%20%27html5.org%27%29%20%7B%0A%20%20var%20logEl%20%3D%20document.getElementById%20%28%27log%27%29%3B%0A%20%20if%20%28logEl%29%20%7B%0A%20%20%20%20var%20rows%20%3D%20logEl.rows%3B%0A%20%20%20%20if%20%28rows.length%20%3D%3D%202%29%20%7B%0A%20%20%20%20%20%20var%20row%20%3D%20rows%5B1%5D%3B%0A%20%20%20%20%20%20var%20revCell%20%3D%20row.cells%5B0%5D%3B%0A%20%20%20%20%20%20if%20%28revCell%29%20%7B%0A%20%20%20%20%20%20%20%20var%20rev%20%3D%20parseInt%20%28revCell.textContent%29%3B%0A%20%20%20%20%20%20%20%20if%20%28rev%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20var%20titleCell%20%3D%20row.cells%5B1%5D%3B%0A%20%20%20%20%20%20%20%20%20%20if%20%28titleCell%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20title%20%3D%20%27Web%20Applications%201.0%20r%27%20%2B%20rev%20%2B%20%27%20%27%20%2B%20swEscape%20%28titleCell.textContent%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28titleCell%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20var%20m%20%3D%20row.cells%5B3%5D.textContent.match%20%28%2F%5E%28%5B0-9%5D%7B4%7D%29-%28%5B0-9%5D%7B2%7D%29-%28%5B0-9%5D%7B2%7D%29%5Cs%2B%28%5B0-9%5D%7B2%7D%29%3A%28%5B0-9%5D%7B2%7D%29%24%2F%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20%28m%29%20lm%20%3D%20setTimeZoneToUTC%20%28new%20Date%20%28m%5B1%5D%2C%20m%5B2%5D%20-%201%2C%20m%5B3%5D%2C%20m%5B4%5D%2C%20m%5B5%5D%29%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%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0Aif%20%28title%20%3D%3D%20null%20%7C%7C%20title%20%3D%3D%20%27%27%20%7C%7C%0A%20%20%20%20locationHost%20%3D%3D%20%27lists.w3.org%27%29%20%7B%0A%20%20var%20h1El%20%3D%20document.getElementsByTagName%20%28%27h1%27%29%5B0%5D%3B%0A%20%20H1EL%3A%20%7B%0A%20%20%20%20if%20%28h1El%29%20%7B%0A%20%20%20%20%20%20break%20H1EL%3B%0A%20%20%20%20%7D%0A%20%20%20%20var%20fonts%20%3D%20document.getElementsByTagName%20%28%27font%27%29%3B%0A%20%20%20%20fontsLength%20%3D%20fonts.length%3B%0A%20%20%20%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20fontsLength%3B%20i%2B%2B%29%20%7B%0A%20%20%20%20%20%20var%20font%20%3D%20fonts%5Bi%5D%3B%0A%20%20%20%20%20%20if%20%28font.size%20%3D%3D%20%277%27%20%7C%7C%20font.size%20%3D%3D%20%27%2B4%27%29%20%7B%0A%20%20%20%20%20%20%20%20h1El%20%3D%20font%3B%0A%20%20%20%20%20%20%20%20break%20H1EL%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%20%2F%2F%20H1EL%0A%20%20if%20%28h1El%29%20%7B%0A%20%20%20%20title%20%3D%20swEscape%20%28h1El.textContent%29%3B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28h1El%29%3B%0A%20%20%7D%20else%20%7B%0A%20%20%20%20title%20%3D%20title%20%3D%3D%20null%20%3F%20%27%27%20%3A%20title%3B%0A%20%20%7D%0A%7D%20else%20%7B%0A%20%20title%20%3D%20swEscape%20%28title%29%3B%0A%20%20var%20titleEl%20%3D%20document.getElementsByTagName%20%28%27title%27%29%5B0%5D%3B%0A%20%20if%20%28titleEl%29%20%7B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28titleEl%29%3B%0A%20%20%7D%0A%7D%0Aif%20%28titleLang%20!%3D%20%27%27%29%20%7B%0A%20%20titleLang%20%3D%20%27%40%27%20%2B%20titleLang%3B%0A%7D%0A%0Aif%20%28locationHost%20%3D%3D%20%27permalink.gmane.org%27%29%20%7B%0A%20%20var%20o1El%20%3D%20document.getElementById%20%28%27o1%27%29%3B%0A%20%20if%20%28o1El%29%20%7B%0A%20%20%20%20var%20o1Prop%20%3D%20%7B%7D%3B%0A%20%20%20%20o1El.textContent.split%20%28%22%5Cn%22%29.forEach%20%28function%20%28s%29%20%7B%0A%20%20%20%20%20%20var%20nv%20%3D%20s.split%20%28%27%3A%20%27%2C%202%29%3B%0A%20%20%20%20%20%20if%20%28nv%5B1%5D%29%20%7B%0A%20%20%20%20%20%20%20%20o1Prop%5Bnv%5B0%5D.toLowerCase%20%28%29%5D%20%3D%20nv%5B1%5D%3B%0A%20%20%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20if%20%28!o1Prop.from%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20o1Prop.from%20%3D%20s%3B%0A%20%20%20%20%20%20%20%20%7D%20else%20if%20%28!o1Prop.date%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20o1Prop.date%20%3D%20s%3B%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%29%3B%0A%20%20%20%20if%20%28o1Prop.from%29%20%7B%0A%20%20%20%20%20%20documentAuthor%20%3D%20o1Prop.from.replace%20%28%2F%5Cs*%3C%5B%5E%3C%3E%5D%2B%3Cat%3E%5B%5E%3C%3E%5D%2B%3E%5Cs*%24%2F%2C%20%27%27%29%3B%0A%20%20%20%20%7D%0A%20%20%20%20if%20%28o1Prop.date%29%20%7B%0A%20%20%20%20%20%20var%20m%3B%0A%20%20%20%20%20%20if%20%28m%20%3D%20o1Prop.date.match%20%28%2F%5E%28%5Cd%2B%29-%28%5Cd%2B%29-%28%5Cd%2B%29%5Cs%2B%28%5Cd%2B%29%3A%28%5Cd%2B%29%3A%28%5Cd%2B%29%5Cs%2BGMT%24%2F%29%29%20%7B%0A%20%20%20%20%20%20%20%20lm%20%3D%20setTimeZoneToUTC%20%28new%20Date%20%28m%5B1%5D%2C%20m%5B2%5D%20-%201%2C%20m%5B3%5D%2C%20m%5B4%5D%2C%20m%5B5%5D%2C%20m%5B6%5D%29%29%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%20else%20if%20%28locationHost%20%3D%3D%20%27lists.w3.org%27%29%20%7B%0A%20%20if%20%28documentAuthor%20!%3D%20null%29%20%7B%0A%20%20%20%20documentAuthor%0A%20%20%20%20%20%20%20%20%3D%20documentAuthor.replace%20%28%2F%5Cs%2B%5C%28%5B%5E%28%29%5D%2B%5C%29%24%2F%2C%20%27%27%29%3B%0A%20%20%7D%0A%20%20var%20dateEl%20%3D%20document.getElementById%20%28%27date%27%29%3B%0A%20%20if%20%28dateEl%29%20%7B%0A%20%20%20%20var%20m%20%3D%20dateEl.textContent%0A%20%20%20%20%20%20%20%20.replace%20%28%2F%5EDate%3A%5Cs%2B%2F%2C%20%27%27%29%3B%0A%20%20%20%20lm%20%3D%20new%20Date%20%28m%29%3B%0A%20%20%7D%0A%7D%20else%20if%20%28locationHost%20%3D%3D%20%27listserv.heanet.ie%27%29%20%7B%0A%20%20var%20docText%20%3D%20document.documentElement.textContent%3B%0A%20%20var%20m%3B%0A%20%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbSubject%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20%20%20%20title%20%3D%20swEscape%20%28m%5B1%5D%29%3B%0A%20%20%20%20titleLang%20%3D%20%27%40en%27%3B%0A%20%20%7D%0A%20%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbFrom%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20%20%20%20var%20documentAuthor%20%3D%20m%5B1%5D%3B%0A%20%20%20%20if%20%28m%20%3D%20documentAuthor.match%0A%20%20%20%20%20%20%20%20%28%2F%5E%5C%5Blog%20in%20to%20unmask%5C%5D%5Cs*%5C%28%28%5B%5E%28%29%5D%2B%29%5C%29%24%2F%29%29%20%7B%0A%20%20%20%20%20%20documentAuthor%20%3D%20m%5B1%5D%3B%0A%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20documentAuthor%20%3D%20documentAuthor.replace%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%28%2F%5Cs*%3C%5C%5Blog%20in%20to%20unmask%5C%5D%3E%2F%2C%20%27%27%29%0A%20%20%20%20%20%20%20%20%20%20.replace%20%28%2F%22%2Fg%2C%20%27%27%29%0A%20%20%20%20%20%20%20%20%20%20.replace%20%28%2F%5C%5Blog%20in%20to%20unmask%5C%5D%2F%2C%20%27%27%29%3B%0A%20%20%20%20%7D%0A%20%20%20%20if%20%28!documentAuthor%29%20documentAuthor%20%3D%20null%3B%0A%20%20%7D%0A%20%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbDate%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20%20%20%20if%20%28m%20%3D%20m%5B1%5D.match%20%28%2F%5E%5BA-Za-z%5D%2B%2C%20%28%5Cd%2B%29%20%28%5CS%2B%29%20%28%5Cd%2B%20%5Cd%2B%3A%5Cd%2B%3A%5Cd%2B%20E%5BSD%5DT%29%24%2F%29%29%20%7B%0A%20%20%20%20%20%20lm%20%3D%20new%20Date%20%28m%5B2%5D%20%2B%20%27%20%27%20%2B%20m%5B1%5D%20%2B%20%27%2C%20%27%20%2B%20m%5B3%5D%29%3B%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0Aif%20%28lm%20!%3D%20null%20%26%26%20lm%20!%3D%20%27%27%29%20%7B%0A%20%20lm%20%3D%20new%20Date%20%28lm%29%3B%0A%7D%20else%20%7B%0A%20%20lm%20%3D%20null%3B%0A%7D%0Aif%20%28lm%20!%3D%20null%29%20%7B%0A%20%20var%20tzo%20%3D%20lm.getTimezoneOffset%20%28%29%3B%0A%20%20lm%20%3D%20%27%5BTIME%5B%27%20%2B%20lm.getFullYear%20%28%29%20%2B%20%27-%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20%28lm.getMonth%20%28%29%20%2B%201%29%29.substr%20%28-2%2C%202%29%20%2B%20%27-%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getDate%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getHours%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getMinutes%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getSeconds%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%20%20%20%20%20%2B%20%28tzo%20%3E%200%20%3F%20%27-%27%20%3A%20%27%2B%27%29%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%2F%2060%29%29.substr%20%28-2%2C%202%29%0A%20%20%20%20%20%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%25%2060%29%29.substr%20%28-2%2C%202%29%0A%20%20%20%20%20%20%2B%20%27%5D%5D%27%3B%0A%7D%0A%0Avar%20credit%20%3D%20%27%27%3B%0Aif%20%28documentAuthor%20!%3D%20null%29%20%7B%0A%20%20credit%20%3D%20%27%20%28%5B%5B%27%20%2B%20swEscape%20%28documentAuthor%29%20%2B%20%27%5D%5D%20%E8%91%97%27%3B%0A%20%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20%20%20%20credit%20%2B%3D%20%27%2C%20%27%20%2B%20lm%20%2B%20%27%20%E7%89%88%29%27%3B%0A%20%20%7D%0A%7D%20else%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20%20credit%20%3D%20%27%20%28%27%20%2B%20lm%20%2B%20%27%20%E7%89%88%29%27%3B%0A%7D%0A%0Avar%20uri%20%3D%20location.href%3B%0A%0Avar%20form%20%3D%20document.createElement%20%28%27form%27%29%3B%0Aform.method%20%3D%20%27post%27%3B%0Aform.acceptCharset%20%3D%20%27utf-8%27%3B%0Aform.lang%20%3D%20%27en%27%3B%0Aform.innerHTML%20%3D%20%27%3Cdiv%20class%3Dsuikawiki-bookmarklet-post%3E%3Cstyle%20scoped%3E.suikawiki-bookmarklet-post%20%7B%20padding%3A%200.3em%200.6em%20%7D%20.suikawiki-bookmarklet-post%20input%3Anot%28%5Btype%3Dcheckbox%5D%29%20%7B%20width%3A%20100%25%20%7D%20.suikawiki-bookmarklet-post%20p%20%7B%20text-align%3A%20left%20%7D%20.suikawiki-bookmarklet-post%20.buttons%20%7B%20margin-top%3A%201em%3B%20text-align%3A%20center%20%7D%20.suikawiki-bookmarklet-post%20h1%20%7B%20background%3A%20none%3B%20padding%3A%200%3B%20font-weight%3A%20bolder%3B%20font-size%3A%20150%25%3B%20text-align%3A%20left%3B%20color%3A%20%23004000%20%7D%20.suikawiki-bookmarklet-post%20%5Bname%3Dtitle-lang%5D%20%7B%20width%3A%205em%20!important%20%7D%20.suikawiki-bookmarklet-post%20button%20%7B%20min-width%3A%206em%20%7D%20.suikawiki-bookmarklet-post%20.ok%20%7B%20font-weight%3A%20bolder%20%7D%20.suikawiki-bookmarklet-post%20.cancel%20%7B%20font-size%3A%20smaller%20%7D%3C%2Fstyle%3E%3Ch1%3E%3Cimg%20src%3D%22http%3A%2F%2Fsuika.fam.cx%2F~wakaba%2F-temp%2F2004%2Fsw%22%20alt%3D%5BSuikaWiki%5D%3E%20Post%20a%20URL%3C%2Fh1%3E%20%3Cp%3E%3Clabel%3EPage%3A%20%3Cinput%20name%3DpageName%20onchange%3D%22%20form%5B%26quot%3Bsubmit-button%26quot%3B%5D.disabled%20%3D%20this.value.length%20%3D%3D%200%20%22%3E%3C%2Flabel%3E%3Cp%3E%3Clabel%3EURL%3A%20%3Cinput%20type%3Durl%20name%3Durl%3E%3C%2Flabel%3E%3Cp%3E%3Clabel%20for%3Dsuikawiki-bookmarklet-post-title%3ETitle%3C%2Flabel%3E%3A%20%28%3Clabel%3ELanguage%3A%20%3Cinput%20name%3Dtitle-lang%3E%3C%2Flabel%3E%29%20%3Cinput%20name%3Dtitle%20id%3Dsuikawiki-bookmarklet-post-title%3E%3Cp%3E%3Clabel%3ECredit%3A%20%3Cinput%20name%3Dcredit%3E%3C%2Flabel%3E%3Cp%3E%3Clabel%3E%3Cinput%20type%3Dcheckbox%20name%3Dredirect%3E%20Open%20the%20posted%20page%3C%2Flabel%3E%3Cp%20class%3Dbuttons%3E%3Cbutton%20type%3Dsubmit%20class%3Dok%20name%3Dsubmit-button%20disabled%3EOK%3C%2Fbutton%3E%20%3Cbutton%20type%3Dbutton%20onclick%3D%22%20form.parentNode.removeChild%20%28form%29%20%22%20class%3Dcancel%3ECancel%3C%2Fbutton%3E%3C%2Fdiv%3E%27%3B%0Aform.url.value%20%3D%20uri%3B%0Aform.elements.title.value%20%3D%20title%3B%0Aform%5B%27title-lang%27%5D.value%20%3D%20titleLang.replace%28%2F%5C%40%2F%2C%20%27%27%29%3B%0Aform.credit.value%20%3D%20credit%3B%0Aform.onsubmit%20%3D%20function%20%28%29%20%7B%0A%20%20if%20%28form.title.length%20%3D%3D%200%29%20return%3B%0A%20%20form.action%20%3D%20%27http%3A%2F%2Fsuika.fam.cx%2F~wakaba%2Fwiki%2Fsw%2Fn%2F%27%20%2B%20encodeURIComponent%20%28form.pageName.value%29.replace%20%28%2F%252F%2Fg%2C%20%27%2B%27%29%20%2B%20%27%3Bposturl%27%3B%0A%20%20setTimeout%20%28function%20%28%29%20%7B%0A%20%20%20%20form.parentNode.removeChild%20%28form%29%3B%0A%20%20%7D%2C%201000%29%3B%0A%7D%3B%0Aform.setAttribute%28%27style%27%2C%20%27display%3A%20block%3B%20position%3A%20fixed%3B%20top%3A%201em%3B%20left%3A%201em%3B%20width%3A%2040em%3B%20min-height%3A%2020em%3B%20background%3A%20white%3B%20color%3A%20black%3B%20border%3A%20gray%201px%20solid%3B%20text-indent%3A%201.5%3B%20z-index%3A%2010000000%27%29%3B%0A%0Adocument.body.appendChild%20%28form%29%3B%0Aform.pageName.focus%20%28%29%3B%0A%0Avoid%20%280%29%3B>
]FIG]
[FIG(bookmarklet)[
[FIGCAPTION[
[98] 言語タグに「@」が含まれる不具合を修正。 [TIME[2010-09-08T14:18:12.300Z]]
]FIGCAPTION]
<javascript:%0A%0Afunction%20swEscape%20%28s%29%20%7B%0A%20%20return%20s.replace%20%28%2F%5C%5B%2F%2C%20%22%27%27%27%5B%27%27%27%22%29.replace%20%28%2F%5C%5D%2F%2C%20%22%27%27%27%5D%27%27%27%22%29%3B%0A%7D%20%2F%2F%20swEscape%0A%0Afunction%20setTimeZoneToUTC%20%28d%29%20%7B%0A%20%20d.setUTCFullYear%20%28d.getFullYear%20%28%29%2C%20d.getMonth%20%28%29%2C%20d.getDate%20%28%29%29%3B%0A%20%20d.setUTCHours%20%28d.getHours%20%28%29%2C%20d.getMinutes%20%28%29%2C%20d.getSeconds%20%28%29%29%3B%0A%20%20return%20d%3B%0A%7D%20%2F%2F%20setTimeZoneToUTC%0A%0Avar%20documentLanguage%20%3D%20null%3B%0Avar%20documentAuthor%20%3D%20null%3B%0Afunction%20scanMeta%20%28%29%20%7B%0A%20%20var%20metas%20%3D%20document.getElementsByTagName%20%28%27meta%27%29%3B%0A%20%20var%20metasLength%20%3D%20metas.length%3B%0A%20%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20metasLength%3B%20i%2B%2B%29%20%7B%0A%20%20%20%20var%20meta%20%3D%20metas%5Bi%5D%3B%0A%20%20%20%20var%20metaFieldName%20%3D%20meta.httpEquiv.toLowerCase%20%28%29%3B%0A%20%20%20%20if%20%28metaFieldName%20%3D%3D%20%27content-language%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentLanguage%20%3D%20meta.content.split%20%28%2F%5Cs*%2C%5Cs*%2F%29%5B0%5D%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%0A%20%20%20%20var%20metaName%20%3D%20meta.name.toLowerCase%20%28%29%3B%0A%20%20%20%20if%20%28metaName%20%3D%3D%20%27author%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentAuthor%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentAuthor%20%3D%20meta.content%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%20else%20if%20%28metaName%20%3D%3D%20%27ms.locale%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentLanguage%20%3D%20meta.content%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%20%2F%2F%20scanMeta%0A%0Afunction%20getElementLanguage%20%28el%29%20%7B%0A%20%20var%20xmlNS%20%3D%20%27http%3A%2F%2Fwww.w3.org%2FXML%2F1998%2Fnamespace%27%3B%0A%20%20while%20%28el%20!%3D%20null%29%20%7B%0A%20%20%20%20if%20%28el.nodeType%20%3D%3D%20el.ELEMENT_NODE%29%20%7B%0A%20%20%20%20%20%20if%20%28el.hasAttributeNS%20%28xmlNS%2C%20%27lang%27%29%29%20%7B%0A%20%20%20%20%20%20%20%20return%20el.getAttributeNS%20%28xmlNS%2C%20%27lang%27%29%3B%0A%20%20%20%20%20%20%7D%20else%20if%20%28%28el.namespaceURI%20%3D%3D%20null%20%7C%7C%0A%20%20%20%20%20%20%20%20%20%20el.namespaceURI%20%3D%3D%20%27http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%27%29%20%26%26%0A%20%20%20%20%20%20%20%20%20%20el.hasAttributeNS%20%28null%2C%20%27lang%27%29%29%20%7B%0A%20%20%20%20%20%20%20%20return%20el.getAttributeNS%20%28null%2C%20%27lang%27%29%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%20%20el%20%3D%20el.parentNode%3B%0A%20%20%7D%0A%0A%20%20%2F*%20NOTE%3A%20%7CContent-Language%7C%20is%20not%20supported%0A%20%20%20%20%20%20since%20DOM%20provides%20no%20access%20to%20HTTP%0A%20%20%20%20%20%20header%20fields.%20*%2F%0A%20%20return%20documentLanguage%20!%3D%20null%20%3F%20documentLanguage%20%3A%20%27%27%3B%0A%7D%20%2F%2F%20getElementLanguage%0A%0AscanMeta%20%28%29%3B%0A%0Avar%20locationHost%3B%0Atry%20%7B%0A%20%20locationHost%20%3D%20location.host%3B%0A%7D%20catch%20%28e%29%20%7B%0A%20%20locationHost%20%3D%20null%3B%0A%7D%0A%0Avar%20title%20%3D%20document.title%3B%0Avar%20titleLang%20%3D%20%27%27%3B%0Avar%20lm%20%3D%20document.lastModified%3B%0Aif%20%28locationHost%20%3D%3D%20%27permalink.gmane.org%27%29%20%7B%0A%20%20var%20h2El%20%3D%20document.getElementsByTagName%20%28%27h2%27%29%5B0%5D%3B%0A%20%20if%20%28h2El%29%20%7B%0A%20%20%20%20title%20%3D%20swEscape%20%28h2El.textContent%29%3B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28h2El%29%3B%0A%20%20%7D%0A%7D%0Aif%20%28locationHost%20%3D%3D%20%27html5.org%27%29%20%7B%0A%20%20var%20logEl%20%3D%20document.getElementById%20%28%27log%27%29%3B%0A%20%20if%20%28logEl%29%20%7B%0A%20%20%20%20var%20rows%20%3D%20logEl.rows%3B%0A%20%20%20%20if%20%28rows.length%20%3D%3D%202%29%20%7B%0A%20%20%20%20%20%20var%20row%20%3D%20rows%5B1%5D%3B%0A%20%20%20%20%20%20var%20revCell%20%3D%20row.cells%5B0%5D%3B%0A%20%20%20%20%20%20if%20%28revCell%29%20%7B%0A%20%20%20%20%20%20%20%20var%20rev%20%3D%20parseInt%20%28revCell.textContent%29%3B%0A%20%20%20%20%20%20%20%20if%20%28rev%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20var%20titleCell%20%3D%20row.cells%5B1%5D%3B%0A%20%20%20%20%20%20%20%20%20%20if%20%28titleCell%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20title%20%3D%20%27Web%20Applications%201.0%20r%27%20%2B%20rev%20%2B%20%27%20%27%20%2B%20swEscape%20%28titleCell.textContent%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28titleCell%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20var%20m%20%3D%20row.cells%5B2%5D.textContent.match%20%28%2F%5E%28%5B0-9%5D%7B4%7D%29-%28%5B0-9%5D%7B2%7D%29-%28%5B0-9%5D%7B2%7D%29%5Cs%2B%28%5B0-9%5D%7B2%7D%29%3A%28%5B0-9%5D%7B2%7D%29%24%2F%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20lm%20%3D%20setTimeZoneToUTC%20%28new%20Date%20%28m%5B1%5D%2C%20m%5B2%5D%20-%201%2C%20m%5B3%5D%2C%20m%5B4%5D%2C%20m%5B5%5D%29%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%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0Aif%20%28title%20%3D%3D%20null%20%7C%7C%20title%20%3D%3D%20%27%27%20%7C%7C%0A%20%20%20%20locationHost%20%3D%3D%20%27lists.w3.org%27%29%20%7B%0A%20%20var%20h1El%20%3D%20document.getElementsByTagName%20%28%27h1%27%29%5B0%5D%3B%0A%20%20H1EL%3A%20%7B%0A%20%20%20%20if%20%28h1El%29%20%7B%0A%20%20%20%20%20%20break%20H1EL%3B%0A%20%20%20%20%7D%0A%20%20%20%20var%20fonts%20%3D%20document.getElementsByTagName%20%28%27font%27%29%3B%0A%20%20%20%20fontsLength%20%3D%20fonts.length%3B%0A%20%20%20%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20fontsLength%3B%20i%2B%2B%29%20%7B%0A%20%20%20%20%20%20var%20font%20%3D%20fonts%5Bi%5D%3B%0A%20%20%20%20%20%20if%20%28font.size%20%3D%3D%20%277%27%20%7C%7C%20font.size%20%3D%3D%20%27%2B4%27%29%20%7B%0A%20%20%20%20%20%20%20%20h1El%20%3D%20font%3B%0A%20%20%20%20%20%20%20%20break%20H1EL%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%20%2F%2F%20H1EL%0A%20%20if%20%28h1El%29%20%7B%0A%20%20%20%20title%20%3D%20swEscape%20%28h1El.textContent%29%3B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28h1El%29%3B%0A%20%20%7D%20else%20%7B%0A%20%20%20%20title%20%3D%20title%20%3D%3D%20null%20%3F%20%27%27%20%3A%20title%3B%0A%20%20%7D%0A%7D%20else%20%7B%0A%20%20title%20%3D%20swEscape%20%28title%29%3B%0A%20%20var%20titleEl%20%3D%20document.getElementsByTagName%20%28%27title%27%29%5B0%5D%3B%0A%20%20if%20%28titleEl%29%20%7B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28titleEl%29%3B%0A%20%20%7D%0A%7D%0Aif%20%28titleLang%20!%3D%20%27%27%29%20%7B%0A%20%20titleLang%20%3D%20%27%40%27%20%2B%20titleLang%3B%0A%7D%0A%0Aif%20%28locationHost%20%3D%3D%20%27permalink.gmane.org%27%29%20%7B%0A%20%20var%20o1El%20%3D%20document.getElementById%20%28%27o1%27%29%3B%0A%20%20if%20%28o1El%29%20%7B%0A%20%20%20%20var%20o1Prop%20%3D%20%7B%7D%3B%0A%20%20%20%20o1El.textContent.split%20%28%22%5Cn%22%29.forEach%20%28function%20%28s%29%20%7B%0A%20%20%20%20%20%20var%20nv%20%3D%20s.split%20%28%27%3A%20%27%2C%202%29%3B%0A%20%20%20%20%20%20if%20%28nv%5B1%5D%29%20%7B%0A%20%20%20%20%20%20%20%20o1Prop%5Bnv%5B0%5D.toLowerCase%20%28%29%5D%20%3D%20nv%5B1%5D%3B%0A%20%20%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20if%20%28!o1Prop.from%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20o1Prop.from%20%3D%20s%3B%0A%20%20%20%20%20%20%20%20%7D%20else%20if%20%28!o1Prop.date%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20o1Prop.date%20%3D%20s%3B%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%29%3B%0A%20%20%20%20if%20%28o1Prop.from%29%20%7B%0A%20%20%20%20%20%20documentAuthor%20%3D%20o1Prop.from.replace%20%28%2F%5Cs*%3C%5B%5E%3C%3E%5D%2B%3Cat%3E%5B%5E%3C%3E%5D%2B%3E%5Cs*%24%2F%2C%20%27%27%29%3B%0A%20%20%20%20%7D%0A%20%20%20%20if%20%28o1Prop.date%29%20%7B%0A%20%20%20%20%20%20var%20m%3B%0A%20%20%20%20%20%20if%20%28m%20%3D%20o1Prop.date.match%20%28%2F%5E%28%5Cd%2B%29-%28%5Cd%2B%29-%28%5Cd%2B%29%5Cs%2B%28%5Cd%2B%29%3A%28%5Cd%2B%29%3A%28%5Cd%2B%29%5Cs%2BGMT%24%2F%29%29%20%7B%0A%20%20%20%20%20%20%20%20lm%20%3D%20setTimeZoneToUTC%20%28new%20Date%20%28m%5B1%5D%2C%20m%5B2%5D%20-%201%2C%20m%5B3%5D%2C%20m%5B4%5D%2C%20m%5B5%5D%2C%20m%5B6%5D%29%29%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%20else%20if%20%28locationHost%20%3D%3D%20%27lists.w3.org%27%29%20%7B%0A%20%20if%20%28documentAuthor%20!%3D%20null%29%20%7B%0A%20%20%20%20documentAuthor%0A%20%20%20%20%20%20%20%20%3D%20documentAuthor.replace%20%28%2F%5Cs%2B%5C%28%5B%5E%28%29%5D%2B%5C%29%24%2F%2C%20%27%27%29%3B%0A%20%20%7D%0A%20%20var%20dateEl%20%3D%20document.getElementById%20%28%27date%27%29%3B%0A%20%20if%20%28dateEl%29%20%7B%0A%20%20%20%20var%20m%20%3D%20dateEl.textContent%0A%20%20%20%20%20%20%20%20.replace%20%28%2F%5EDate%3A%5Cs%2B%2F%2C%20%27%27%29%3B%0A%20%20%20%20lm%20%3D%20new%20Date%20%28m%29%3B%0A%20%20%7D%0A%7D%20else%20if%20%28locationHost%20%3D%3D%20%27listserv.heanet.ie%27%29%20%7B%0A%20%20var%20docText%20%3D%20document.documentElement.textContent%3B%0A%20%20var%20m%3B%0A%20%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbSubject%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20%20%20%20title%20%3D%20swEscape%20%28m%5B1%5D%29%3B%0A%20%20%20%20titleLang%20%3D%20%27%40en%27%3B%0A%20%20%7D%0A%20%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbFrom%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20%20%20%20var%20documentAuthor%20%3D%20m%5B1%5D%3B%0A%20%20%20%20if%20%28m%20%3D%20documentAuthor.match%0A%20%20%20%20%20%20%20%20%28%2F%5E%5C%5Blog%20in%20to%20unmask%5C%5D%5Cs*%5C%28%28%5B%5E%28%29%5D%2B%29%5C%29%24%2F%29%29%20%7B%0A%20%20%20%20%20%20documentAuthor%20%3D%20m%5B1%5D%3B%0A%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20documentAuthor%20%3D%20documentAuthor.replace%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%28%2F%5Cs*%3C%5C%5Blog%20in%20to%20unmask%5C%5D%3E%2F%2C%20%27%27%29%0A%20%20%20%20%20%20%20%20%20%20.replace%20%28%2F%22%2Fg%2C%20%27%27%29%0A%20%20%20%20%20%20%20%20%20%20.replace%20%28%2F%5C%5Blog%20in%20to%20unmask%5C%5D%2F%2C%20%27%27%29%3B%0A%20%20%20%20%7D%0A%20%20%20%20if%20%28!documentAuthor%29%20documentAuthor%20%3D%20null%3B%0A%20%20%7D%0A%20%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbDate%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20%20%20%20if%20%28m%20%3D%20m%5B1%5D.match%20%28%2F%5E%5BA-Za-z%5D%2B%2C%20%28%5Cd%2B%29%20%28%5CS%2B%29%20%28%5Cd%2B%20%5Cd%2B%3A%5Cd%2B%3A%5Cd%2B%20E%5BSD%5DT%29%24%2F%29%29%20%7B%0A%20%20%20%20%20%20lm%20%3D%20new%20Date%20%28m%5B2%5D%20%2B%20%27%20%27%20%2B%20m%5B1%5D%20%2B%20%27%2C%20%27%20%2B%20m%5B3%5D%29%3B%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0Aif%20%28lm%20!%3D%20null%20%26%26%20lm%20!%3D%20%27%27%29%20%7B%0A%20%20lm%20%3D%20new%20Date%20%28lm%29%3B%0A%7D%20else%20%7B%0A%20%20lm%20%3D%20null%3B%0A%7D%0Aif%20%28lm%20!%3D%20null%29%20%7B%0A%20%20var%20tzo%20%3D%20lm.getTimezoneOffset%20%28%29%3B%0A%20%20lm%20%3D%20%27%5BTIME%5B%27%20%2B%20lm.getFullYear%20%28%29%20%2B%20%27-%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20%28lm.getMonth%20%28%29%20%2B%201%29%29.substr%20%28-2%2C%202%29%20%2B%20%27-%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getDate%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getHours%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getMinutes%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getSeconds%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%20%20%20%20%20%2B%20%28tzo%20%3E%200%20%3F%20%27-%27%20%3A%20%27%2B%27%29%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%2F%2060%29%29.substr%20%28-2%2C%202%29%0A%20%20%20%20%20%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%25%2060%29%29.substr%20%28-2%2C%202%29%0A%20%20%20%20%20%20%2B%20%27%5D%5D%27%3B%0A%7D%0A%0Avar%20credit%20%3D%20%27%27%3B%0Aif%20%28documentAuthor%20!%3D%20null%29%20%7B%0A%20%20credit%20%3D%20%27%20%28%5B%5B%27%20%2B%20swEscape%20%28documentAuthor%29%20%2B%20%27%5D%5D%20%E8%91%97%27%3B%0A%20%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20%20%20%20credit%20%2B%3D%20%27%2C%20%27%20%2B%20lm%20%2B%20%27%20%E7%89%88%29%27%3B%0A%20%20%7D%0A%7D%20else%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20%20credit%20%3D%20%27%20%28%27%20%2B%20lm%20%2B%20%27%20%E7%89%88%29%27%3B%0A%7D%0A%0Avar%20uri%20%3D%20location.href%3B%0A%0Avar%20form%20%3D%20document.createElement%20%28%27form%27%29%3B%0Aform.method%20%3D%20%27post%27%3B%0Aform.acceptCharset%20%3D%20%27utf-8%27%3B%0Aform.lang%20%3D%20%27en%27%3B%0Aform.innerHTML%20%3D%20%27%3Cdiv%20class%3Dsuikawiki-bookmarklet-post%3E%3Cstyle%20scoped%3E.suikawiki-bookmarklet-post%20%7B%20padding%3A%200.3em%200.6em%20%7D%20.suikawiki-bookmarklet-post%20input%3Anot%28%5Btype%3Dcheckbox%5D%29%20%7B%20width%3A%20100%25%20%7D%20.suikawiki-bookmarklet-post%20p%20%7B%20text-align%3A%20left%20%7D%20.suikawiki-bookmarklet-post%20.buttons%20%7B%20margin-top%3A%201em%3B%20text-align%3A%20center%20%7D%20.suikawiki-bookmarklet-post%20h1%20%7B%20background%3A%20none%3B%20padding%3A%200%3B%20font-weight%3A%20bolder%3B%20font-size%3A%20150%25%3B%20text-align%3A%20left%3B%20color%3A%20%23004000%20%7D%20.suikawiki-bookmarklet-post%20%5Bname%3Dtitle-lang%5D%20%7B%20width%3A%205em%20!important%20%7D%20.suikawiki-bookmarklet-post%20button%20%7B%20min-width%3A%206em%20%7D%20.suikawiki-bookmarklet-post%20.ok%20%7B%20font-weight%3A%20bolder%20%7D%20.suikawiki-bookmarklet-post%20.cancel%20%7B%20font-size%3A%20smaller%20%7D%3C%2Fstyle%3E%3Ch1%3E%3Cimg%20src%3D%22http%3A%2F%2Fsuika.fam.cx%2F~wakaba%2F-temp%2F2004%2Fsw%22%20alt%3D%5BSuikaWiki%5D%3E%20Post%20a%20URL%3C%2Fh1%3E%20%3Cp%3E%3Clabel%3EPage%3A%20%3Cinput%20name%3DpageName%20onchange%3D%22%20form%5B%26quot%3Bsubmit-button%26quot%3B%5D.disabled%20%3D%20this.value.length%20%3D%3D%200%20%22%3E%3C%2Flabel%3E%3Cp%3E%3Clabel%3EURL%3A%20%3Cinput%20type%3Durl%20name%3Durl%3E%3C%2Flabel%3E%3Cp%3E%3Clabel%20for%3Dsuikawiki-bookmarklet-post-title%3ETitle%3C%2Flabel%3E%3A%20%28%3Clabel%3ELanguage%3A%20%3Cinput%20name%3Dtitle-lang%3E%3C%2Flabel%3E%29%20%3Cinput%20name%3Dtitle%20id%3Dsuikawiki-bookmarklet-post-title%3E%3Cp%3E%3Clabel%3ECredit%3A%20%3Cinput%20name%3Dcredit%3E%3C%2Flabel%3E%3Cp%3E%3Clabel%3E%3Cinput%20type%3Dcheckbox%20name%3Dredirect%3E%20Open%20the%20posted%20page%3C%2Flabel%3E%3Cp%20class%3Dbuttons%3E%3Cbutton%20type%3Dsubmit%20class%3Dok%20name%3Dsubmit-button%20disabled%3EOK%3C%2Fbutton%3E%20%3Cbutton%20type%3Dbutton%20onclick%3D%22%20form.parentNode.removeChild%20%28form%29%20%22%20class%3Dcancel%3ECancel%3C%2Fbutton%3E%3C%2Fdiv%3E%27%3B%0Aform.url.value%20%3D%20uri%3B%0Aform.elements.title.value%20%3D%20title%3B%0Aform%5B%27title-lang%27%5D.value%20%3D%20titleLang.replace%28%2F%5C%40%2F%2C%20%27%27%29%3B%0Aform.credit.value%20%3D%20credit%3B%0Aform.onsubmit%20%3D%20function%20%28%29%20%7B%0A%20%20if%20%28form.title.length%20%3D%3D%200%29%20return%3B%0A%20%20form.action%20%3D%20%27http%3A%2F%2Fsuika.fam.cx%2F~wakaba%2Fwiki%2Fsw%2Fn%2F%27%20%2B%20encodeURIComponent%20%28form.pageName.value%29.replace%20%28%2F%252F%2Fg%2C%20%27%2B%27%29%20%2B%20%27%3Bposturl%27%3B%0A%20%20setTimeout%20%28function%20%28%29%20%7B%0A%20%20%20%20form.parentNode.removeChild%20%28form%29%3B%0A%20%20%7D%2C%201000%29%3B%0A%7D%3B%0Aform.setAttribute%28%27style%27%2C%20%27display%3A%20block%3B%20position%3A%20fixed%3B%20top%3A%201em%3B%20left%3A%201em%3B%20width%3A%2040em%3B%20min-height%3A%2020em%3B%20background%3A%20white%3B%20color%3A%20black%3B%20border%3A%20gray%201px%20solid%3B%20text-indent%3A%201.5%3B%20z-index%3A%2010000000%27%29%3B%0A%0Adocument.body.appendChild%20%28form%29%3B%0Aform.pageName.focus%20%28%29%3B%0A%0Avoid%20%280%29%3B>
]FIG]
[97] gmane の変更に追随、html5.org 対応 [TIME[2010-08-15T23:48:19.800Z]]
<javascript:%0A%0Afunction%20swEscape%20%28s%29%20%7B%0A%20%20return%20s.replace%20%28%2F%5C%5B%2F%2C%20%22%27%27%27%5B%27%27%27%22%29.replace%20%28%2F%5C%5D%2F%2C%20%22%27%27%27%5D%27%27%27%22%29%3B%0A%7D%20%2F%2F%20swEscape%0A%0Afunction%20setTimeZoneToUTC%20%28d%29%20%7B%0A%20%20d.setUTCFullYear%20%28d.getFullYear%20%28%29%2C%20d.getMonth%20%28%29%2C%20d.getDate%20%28%29%29%3B%0A%20%20d.setUTCHours%20%28d.getHours%20%28%29%2C%20d.getMinutes%20%28%29%2C%20d.getSeconds%20%28%29%29%3B%0A%20%20return%20d%3B%0A%7D%20%2F%2F%20setTimeZoneToUTC%0A%0Avar%20documentLanguage%20%3D%20null%3B%0Avar%20documentAuthor%20%3D%20null%3B%0Afunction%20scanMeta%20%28%29%20%7B%0A%20%20var%20metas%20%3D%20document.getElementsByTagName%20%28%27meta%27%29%3B%0A%20%20var%20metasLength%20%3D%20metas.length%3B%0A%20%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20metasLength%3B%20i%2B%2B%29%20%7B%0A%20%20%20%20var%20meta%20%3D%20metas%5Bi%5D%3B%0A%20%20%20%20var%20metaFieldName%20%3D%20meta.httpEquiv.toLowerCase%20%28%29%3B%0A%20%20%20%20if%20%28metaFieldName%20%3D%3D%20%27content-language%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentLanguage%20%3D%20meta.content.split%20%28%2F%5Cs*%2C%5Cs*%2F%29%5B0%5D%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%0A%20%20%20%20var%20metaName%20%3D%20meta.name.toLowerCase%20%28%29%3B%0A%20%20%20%20if%20%28metaName%20%3D%3D%20%27author%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentAuthor%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentAuthor%20%3D%20meta.content%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%20else%20if%20%28metaName%20%3D%3D%20%27ms.locale%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentLanguage%20%3D%20meta.content%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%20%2F%2F%20scanMeta%0A%0Afunction%20getElementLanguage%20%28el%29%20%7B%0A%20%20var%20xmlNS%20%3D%20%27http%3A%2F%2Fwww.w3.org%2FXML%2F1998%2Fnamespace%27%3B%0A%20%20while%20%28el%20!%3D%20null%29%20%7B%0A%20%20%20%20if%20%28el.nodeType%20%3D%3D%20el.ELEMENT_NODE%29%20%7B%0A%20%20%20%20%20%20if%20%28el.hasAttributeNS%20%28xmlNS%2C%20%27lang%27%29%29%20%7B%0A%20%20%20%20%20%20%20%20return%20el.getAttributeNS%20%28xmlNS%2C%20%27lang%27%29%3B%0A%20%20%20%20%20%20%7D%20else%20if%20%28%28el.namespaceURI%20%3D%3D%20null%20%7C%7C%0A%20%20%20%20%20%20%20%20%20%20el.namespaceURI%20%3D%3D%20%27http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%27%29%20%26%26%0A%20%20%20%20%20%20%20%20%20%20el.hasAttributeNS%20%28null%2C%20%27lang%27%29%29%20%7B%0A%20%20%20%20%20%20%20%20return%20el.getAttributeNS%20%28null%2C%20%27lang%27%29%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%20%20el%20%3D%20el.parentNode%3B%0A%20%20%7D%0A%0A%20%20%2F*%20NOTE%3A%20%7CContent-Language%7C%20is%20not%20supported%0A%20%20%20%20%20%20since%20DOM%20provides%20no%20access%20to%20HTTP%0A%20%20%20%20%20%20header%20fields.%20*%2F%0A%20%20return%20documentLanguage%20!%3D%20null%20%3F%20documentLanguage%20%3A%20%27%27%3B%0A%7D%20%2F%2F%20getElementLanguage%0A%0AscanMeta%20%28%29%3B%0A%0Avar%20locationHost%3B%0Atry%20%7B%0A%20%20locationHost%20%3D%20location.host%3B%0A%7D%20catch%20%28e%29%20%7B%0A%20%20locationHost%20%3D%20null%3B%0A%7D%0A%0Avar%20title%20%3D%20document.title%3B%0Avar%20titleLang%20%3D%20%27%27%3B%0Avar%20lm%20%3D%20document.lastModified%3B%0Aif%20%28locationHost%20%3D%3D%20%27permalink.gmane.org%27%29%20%7B%0A%20%20var%20h2El%20%3D%20document.getElementsByTagName%20%28%27h2%27%29%5B0%5D%3B%0A%20%20if%20%28h2El%29%20%7B%0A%20%20%20%20title%20%3D%20swEscape%20%28h2El.textContent%29%3B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28h2El%29%3B%0A%20%20%7D%0A%7D%0Aif%20%28locationHost%20%3D%3D%20%27html5.org%27%29%20%7B%0A%20%20var%20logEl%20%3D%20document.getElementById%20%28%27log%27%29%3B%0A%20%20if%20%28logEl%29%20%7B%0A%20%20%20%20var%20rows%20%3D%20logEl.rows%3B%0A%20%20%20%20if%20%28rows.length%20%3D%3D%202%29%20%7B%0A%20%20%20%20%20%20var%20row%20%3D%20rows%5B1%5D%3B%0A%20%20%20%20%20%20var%20revCell%20%3D%20row.cells%5B0%5D%3B%0A%20%20%20%20%20%20if%20%28revCell%29%20%7B%0A%20%20%20%20%20%20%20%20var%20rev%20%3D%20parseInt%20%28revCell.textContent%29%3B%0A%20%20%20%20%20%20%20%20if%20%28rev%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20var%20titleCell%20%3D%20row.cells%5B1%5D%3B%0A%20%20%20%20%20%20%20%20%20%20if%20%28titleCell%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20title%20%3D%20%27Web%20Applications%201.0%20r%27%20%2B%20rev%20%2B%20%27%20%27%20%2B%20swEscape%20%28titleCell.textContent%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28titleCell%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20var%20m%20%3D%20row.cells%5B2%5D.textContent.match%20%28%2F%5E%28%5B0-9%5D%7B4%7D%29-%28%5B0-9%5D%7B2%7D%29-%28%5B0-9%5D%7B2%7D%29%5Cs%2B%28%5B0-9%5D%7B2%7D%29%3A%28%5B0-9%5D%7B2%7D%29%24%2F%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20lm%20%3D%20setTimeZoneToUTC%20%28new%20Date%20%28m%5B1%5D%2C%20m%5B2%5D%20-%201%2C%20m%5B3%5D%2C%20m%5B4%5D%2C%20m%5B5%5D%29%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%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0Aif%20%28title%20%3D%3D%20null%20%7C%7C%20title%20%3D%3D%20%27%27%20%7C%7C%0A%20%20%20%20locationHost%20%3D%3D%20%27lists.w3.org%27%29%20%7B%0A%20%20var%20h1El%20%3D%20document.getElementsByTagName%20%28%27h1%27%29%5B0%5D%3B%0A%20%20H1EL%3A%20%7B%0A%20%20%20%20if%20%28h1El%29%20%7B%0A%20%20%20%20%20%20break%20H1EL%3B%0A%20%20%20%20%7D%0A%20%20%20%20var%20fonts%20%3D%20document.getElementsByTagName%20%28%27font%27%29%3B%0A%20%20%20%20fontsLength%20%3D%20fonts.length%3B%0A%20%20%20%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20fontsLength%3B%20i%2B%2B%29%20%7B%0A%20%20%20%20%20%20var%20font%20%3D%20fonts%5Bi%5D%3B%0A%20%20%20%20%20%20if%20%28font.size%20%3D%3D%20%277%27%20%7C%7C%20font.size%20%3D%3D%20%27%2B4%27%29%20%7B%0A%20%20%20%20%20%20%20%20h1El%20%3D%20font%3B%0A%20%20%20%20%20%20%20%20break%20H1EL%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%20%2F%2F%20H1EL%0A%20%20if%20%28h1El%29%20%7B%0A%20%20%20%20title%20%3D%20swEscape%20%28h1El.textContent%29%3B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28h1El%29%3B%0A%20%20%7D%20else%20%7B%0A%20%20%20%20title%20%3D%20title%20%3D%3D%20null%20%3F%20%27%27%20%3A%20title%3B%0A%20%20%7D%0A%7D%20else%20%7B%0A%20%20title%20%3D%20swEscape%20%28title%29%3B%0A%20%20var%20titleEl%20%3D%20document.getElementsByTagName%20%28%27title%27%29%5B0%5D%3B%0A%20%20if%20%28titleEl%29%20%7B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28titleEl%29%3B%0A%20%20%7D%0A%7D%0Aif%20%28titleLang%20!%3D%20%27%27%29%20%7B%0A%20%20titleLang%20%3D%20%27%40%27%20%2B%20titleLang%3B%0A%7D%0A%0Aif%20%28locationHost%20%3D%3D%20%27permalink.gmane.org%27%29%20%7B%0A%20%20var%20o1El%20%3D%20document.getElementById%20%28%27o1%27%29%3B%0A%20%20if%20%28o1El%29%20%7B%0A%20%20%20%20var%20o1Prop%20%3D%20%7B%7D%3B%0A%20%20%20%20o1El.textContent.split%20%28%22%5Cn%22%29.forEach%20%28function%20%28s%29%20%7B%0A%20%20%20%20%20%20var%20nv%20%3D%20s.split%20%28%27%3A%20%27%2C%202%29%3B%0A%20%20%20%20%20%20if%20%28nv%5B1%5D%29%20%7B%0A%20%20%20%20%20%20%20%20o1Prop%5Bnv%5B0%5D.toLowerCase%20%28%29%5D%20%3D%20nv%5B1%5D%3B%0A%20%20%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20if%20%28!o1Prop.from%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20o1Prop.from%20%3D%20s%3B%0A%20%20%20%20%20%20%20%20%7D%20else%20if%20%28!o1Prop.date%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20o1Prop.date%20%3D%20s%3B%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%29%3B%0A%20%20%20%20if%20%28o1Prop.from%29%20%7B%0A%20%20%20%20%20%20documentAuthor%20%3D%20o1Prop.from.replace%20%28%2F%5Cs*%3C%5B%5E%3C%3E%5D%2B%3Cat%3E%5B%5E%3C%3E%5D%2B%3E%5Cs*%24%2F%2C%20%27%27%29%3B%0A%20%20%20%20%7D%0A%20%20%20%20if%20%28o1Prop.date%29%20%7B%0A%20%20%20%20%20%20var%20m%3B%0A%20%20%20%20%20%20if%20%28m%20%3D%20o1Prop.date.match%20%28%2F%5E%28%5Cd%2B%29-%28%5Cd%2B%29-%28%5Cd%2B%29%5Cs%2B%28%5Cd%2B%29%3A%28%5Cd%2B%29%3A%28%5Cd%2B%29%5Cs%2BGMT%24%2F%29%29%20%7B%0A%20%20%20%20%20%20%20%20lm%20%3D%20setTimeZoneToUTC%20%28new%20Date%20%28m%5B1%5D%2C%20m%5B2%5D%20-%201%2C%20m%5B3%5D%2C%20m%5B4%5D%2C%20m%5B5%5D%2C%20m%5B6%5D%29%29%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%20else%20if%20%28locationHost%20%3D%3D%20%27lists.w3.org%27%29%20%7B%0A%20%20if%20%28documentAuthor%20!%3D%20null%29%20%7B%0A%20%20%20%20documentAuthor%0A%20%20%20%20%20%20%20%20%3D%20documentAuthor.replace%20%28%2F%5Cs%2B%5C%28%5B%5E%28%29%5D%2B%5C%29%24%2F%2C%20%27%27%29%3B%0A%20%20%7D%0A%20%20var%20dateEl%20%3D%20document.getElementById%20%28%27date%27%29%3B%0A%20%20if%20%28dateEl%29%20%7B%0A%20%20%20%20var%20m%20%3D%20dateEl.textContent%0A%20%20%20%20%20%20%20%20.replace%20%28%2F%5EDate%3A%5Cs%2B%2F%2C%20%27%27%29%3B%0A%20%20%20%20lm%20%3D%20new%20Date%20%28m%29%3B%0A%20%20%7D%0A%7D%20else%20if%20%28locationHost%20%3D%3D%20%27listserv.heanet.ie%27%29%20%7B%0A%20%20var%20docText%20%3D%20document.documentElement.textContent%3B%0A%20%20var%20m%3B%0A%20%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbSubject%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20%20%20%20title%20%3D%20swEscape%20%28m%5B1%5D%29%3B%0A%20%20%20%20titleLang%20%3D%20%27%40en%27%3B%0A%20%20%7D%0A%20%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbFrom%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20%20%20%20var%20documentAuthor%20%3D%20m%5B1%5D%3B%0A%20%20%20%20if%20%28m%20%3D%20documentAuthor.match%0A%20%20%20%20%20%20%20%20%28%2F%5E%5C%5Blog%20in%20to%20unmask%5C%5D%5Cs*%5C%28%28%5B%5E%28%29%5D%2B%29%5C%29%24%2F%29%29%20%7B%0A%20%20%20%20%20%20documentAuthor%20%3D%20m%5B1%5D%3B%0A%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20documentAuthor%20%3D%20documentAuthor.replace%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%28%2F%5Cs*%3C%5C%5Blog%20in%20to%20unmask%5C%5D%3E%2F%2C%20%27%27%29%0A%20%20%20%20%20%20%20%20%20%20.replace%20%28%2F%22%2Fg%2C%20%27%27%29%0A%20%20%20%20%20%20%20%20%20%20.replace%20%28%2F%5C%5Blog%20in%20to%20unmask%5C%5D%2F%2C%20%27%27%29%3B%0A%20%20%20%20%7D%0A%20%20%20%20if%20%28!documentAuthor%29%20documentAuthor%20%3D%20null%3B%0A%20%20%7D%0A%20%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbDate%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20%20%20%20if%20%28m%20%3D%20m%5B1%5D.match%20%28%2F%5E%5BA-Za-z%5D%2B%2C%20%28%5Cd%2B%29%20%28%5CS%2B%29%20%28%5Cd%2B%20%5Cd%2B%3A%5Cd%2B%3A%5Cd%2B%20E%5BSD%5DT%29%24%2F%29%29%20%7B%0A%20%20%20%20%20%20lm%20%3D%20new%20Date%20%28m%5B2%5D%20%2B%20%27%20%27%20%2B%20m%5B1%5D%20%2B%20%27%2C%20%27%20%2B%20m%5B3%5D%29%3B%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0Aif%20%28lm%20!%3D%20null%20%26%26%20lm%20!%3D%20%27%27%29%20%7B%0A%20%20lm%20%3D%20new%20Date%20%28lm%29%3B%0A%7D%20else%20%7B%0A%20%20lm%20%3D%20null%3B%0A%7D%0Aif%20%28lm%20!%3D%20null%29%20%7B%0A%20%20var%20tzo%20%3D%20lm.getTimezoneOffset%20%28%29%3B%0A%20%20lm%20%3D%20%27%5BTIME%5B%27%20%2B%20lm.getFullYear%20%28%29%20%2B%20%27-%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20%28lm.getMonth%20%28%29%20%2B%201%29%29.substr%20%28-2%2C%202%29%20%2B%20%27-%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getDate%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getHours%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getMinutes%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getSeconds%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%20%20%20%20%20%2B%20%28tzo%20%3E%200%20%3F%20%27-%27%20%3A%20%27%2B%27%29%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%2F%2060%29%29.substr%20%28-2%2C%202%29%0A%20%20%20%20%20%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%25%2060%29%29.substr%20%28-2%2C%202%29%0A%20%20%20%20%20%20%2B%20%27%5D%5D%27%3B%0A%7D%0A%0Avar%20credit%20%3D%20%27%27%3B%0Aif%20%28documentAuthor%20!%3D%20null%29%20%7B%0A%20%20credit%20%3D%20%27%20%28%5B%5B%27%20%2B%20swEscape%20%28documentAuthor%29%20%2B%20%27%5D%5D%20%E8%91%97%27%3B%0A%20%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20%20%20%20credit%20%2B%3D%20%27%2C%20%27%20%2B%20lm%20%2B%20%27%20%E7%89%88%29%27%3B%0A%20%20%7D%0A%7D%20else%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20%20credit%20%3D%20%27%20%28%27%20%2B%20lm%20%2B%20%27%20%E7%89%88%29%27%3B%0A%7D%0A%0Avar%20uri%20%3D%20location.href%3B%0A%0Avar%20form%20%3D%20document.createElement%20%28%27form%27%29%3B%0Aform.method%20%3D%20%27post%27%3B%0Aform.acceptCharset%20%3D%20%27utf-8%27%3B%0Aform.lang%20%3D%20%27en%27%3B%0Aform.innerHTML%20%3D%20%27%3Cdiv%20class%3Dsuikawiki-bookmarklet-post%3E%3Cstyle%20scoped%3E.suikawiki-bookmarklet-post%20%7B%20padding%3A%200.3em%200.6em%20%7D%20.suikawiki-bookmarklet-post%20input%3Anot%28%5Btype%3Dcheckbox%5D%29%20%7B%20width%3A%20100%25%20%7D%20.suikawiki-bookmarklet-post%20p%20%7B%20text-align%3A%20left%20%7D%20.suikawiki-bookmarklet-post%20.buttons%20%7B%20margin-top%3A%201em%3B%20text-align%3A%20center%20%7D%20.suikawiki-bookmarklet-post%20h1%20%7B%20background%3A%20none%3B%20padding%3A%200%3B%20font-weight%3A%20bolder%3B%20font-size%3A%20150%25%3B%20text-align%3A%20left%3B%20color%3A%20%23004000%20%7D%20.suikawiki-bookmarklet-post%20%5Bname%3Dtitle-lang%5D%20%7B%20width%3A%205em%20!important%20%7D%20.suikawiki-bookmarklet-post%20button%20%7B%20min-width%3A%206em%20%7D%20.suikawiki-bookmarklet-post%20.ok%20%7B%20font-weight%3A%20bolder%20%7D%20.suikawiki-bookmarklet-post%20.cancel%20%7B%20font-size%3A%20smaller%20%7D%3C%2Fstyle%3E%3Ch1%3E%3Cimg%20src%3D%22http%3A%2F%2Fsuika.fam.cx%2F~wakaba%2F-temp%2F2004%2Fsw%22%20alt%3D%5BSuikaWiki%5D%3E%20Post%20a%20URL%3C%2Fh1%3E%20%3Cp%3E%3Clabel%3EPage%3A%20%3Cinput%20name%3DpageName%20onchange%3D%22%20form%5B%26quot%3Bsubmit-button%26quot%3B%5D.disabled%20%3D%20this.value.length%20%3D%3D%200%20%22%3E%3C%2Flabel%3E%3Cp%3E%3Clabel%3EURL%3A%20%3Cinput%20type%3Durl%20name%3Durl%3E%3C%2Flabel%3E%3Cp%3E%3Clabel%20for%3Dsuikawiki-bookmarklet-post-title%3ETitle%3C%2Flabel%3E%3A%20%28%3Clabel%3ELanguage%3A%20%3Cinput%20name%3Dtitle-lang%3E%3C%2Flabel%3E%29%20%3Cinput%20name%3Dtitle%20id%3Dsuikawiki-bookmarklet-post-title%3E%3Cp%3E%3Clabel%3ECredit%3A%20%3Cinput%20name%3Dcredit%3E%3C%2Flabel%3E%3Cp%3E%3Clabel%3E%3Cinput%20type%3Dcheckbox%20name%3Dredirect%3E%20Open%20the%20posted%20page%3C%2Flabel%3E%3Cp%20class%3Dbuttons%3E%3Cbutton%20type%3Dsubmit%20class%3Dok%20name%3Dsubmit-button%20disabled%3EOK%3C%2Fbutton%3E%20%3Cbutton%20type%3Dbutton%20onclick%3D%22%20form.parentNode.removeChild%20%28form%29%20%22%20class%3Dcancel%3ECancel%3C%2Fbutton%3E%3C%2Fdiv%3E%27%3B%0Aform.url.value%20%3D%20uri%3B%0Aform.elements.title.value%20%3D%20title%3B%0Aform%5B%27title-lang%27%5D.value%20%3D%20titleLang%3B%0Aform.credit.value%20%3D%20credit%3B%0Aform.onsubmit%20%3D%20function%20%28%29%20%7B%0A%20%20if%20%28form.title.length%20%3D%3D%200%29%20return%3B%0A%20%20form.action%20%3D%20%27http%3A%2F%2Fsuika.fam.cx%2F~wakaba%2Fwiki%2Fsw%2Fn%2F%27%20%2B%20encodeURIComponent%20%28form.pageName.value%29.replace%20%28%2F%252F%2Fg%2C%20%27%2B%27%29%20%2B%20%27%3Bposturl%27%3B%0A%20%20setTimeout%20%28function%20%28%29%20%7B%0A%20%20%20%20form.parentNode.removeChild%20%28form%29%3B%0A%20%20%7D%2C%201000%29%3B%0A%7D%3B%0Aform.setAttribute%28%27style%27%2C%20%27display%3A%20block%3B%20position%3A%20fixed%3B%20top%3A%201em%3B%20left%3A%201em%3B%20width%3A%2040em%3B%20min-height%3A%2020em%3B%20background%3A%20white%3B%20color%3A%20black%3B%20border%3A%20gray%201px%20solid%3B%20text-indent%3A%201.5%3B%20z-index%3A%2010000000%27%29%3B%0A%0Adocument.body.appendChild%20%28form%29%3B%0Aform.pageName.focus%20%28%29%3B%0A%0Avoid%20%280%29%3B>
[95] z-index 設定した
<javascript:%0A%0Afunction%20swEscape%20%28s%29%20%7B%0A%20%20return%20s.replace%20%28%2F%5C%5B%2F%2C%20%22%27%27%27%5B%27%27%27%22%29.replace%20%28%2F%5C%5D%2F%2C%20%22%27%27%27%5D%27%27%27%22%29%3B%0A%7D%20%2F%2F%20swEscape%0A%0Avar%20documentLanguage%20%3D%20null%3B%0Avar%20documentAuthor%20%3D%20null%3B%0Afunction%20scanMeta%20%28%29%20%7B%0A%20%20var%20metas%20%3D%20document.getElementsByTagName%20%28%27meta%27%29%3B%0A%20%20var%20metasLength%20%3D%20metas.length%3B%0A%20%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20metasLength%3B%20i%2B%2B%29%20%7B%0A%20%20%20%20var%20meta%20%3D%20metas%5Bi%5D%3B%0A%20%20%20%20var%20metaFieldName%20%3D%20meta.httpEquiv.toLowerCase%20%28%29%3B%0A%20%20%20%20if%20%28metaFieldName%20%3D%3D%20%27content-language%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentLanguage%20%3D%20meta.content.split%20%28%2F%5Cs*%2C%5Cs*%2F%29%5B0%5D%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%0A%20%20%20%20var%20metaName%20%3D%20meta.name.toLowerCase%20%28%29%3B%0A%20%20%20%20if%20%28metaName%20%3D%3D%20%27author%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentAuthor%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentAuthor%20%3D%20meta.content%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%20else%20if%20%28metaName%20%3D%3D%20%27ms.locale%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentLanguage%20%3D%20meta.content%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%20%2F%2F%20scanMeta%0A%0Afunction%20getElementLanguage%20%28el%29%20%7B%0A%20%20var%20xmlNS%20%3D%20%27http%3A%2F%2Fwww.w3.org%2FXML%2F1998%2Fnamespace%27%3B%0A%20%20while%20%28el%20!%3D%20null%29%20%7B%0A%20%20%20%20if%20%28el.nodeType%20%3D%3D%20el.ELEMENT_NODE%29%20%7B%0A%20%20%20%20%20%20if%20%28el.hasAttributeNS%20%28xmlNS%2C%20%27lang%27%29%29%20%7B%0A%20%20%20%20%20%20%20%20return%20el.getAttributeNS%20%28xmlNS%2C%20%27lang%27%29%3B%0A%20%20%20%20%20%20%7D%20else%20if%20%28%28el.namespaceURI%20%3D%3D%20null%20%7C%7C%0A%20%20%20%20%20%20%20%20%20%20el.namespaceURI%20%3D%3D%20%27http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%27%29%20%26%26%0A%20%20%20%20%20%20%20%20%20%20el.hasAttributeNS%20%28null%2C%20%27lang%27%29%29%20%7B%0A%20%20%20%20%20%20%20%20return%20el.getAttributeNS%20%28null%2C%20%27lang%27%29%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%20%20el%20%3D%20el.parentNode%3B%0A%20%20%7D%0A%0A%20%20%2F*%20NOTE%3A%20%7CContent-Language%7C%20is%20not%20supported%0A%20%20%20%20%20%20since%20DOM%20provides%20no%20access%20to%20HTTP%0A%20%20%20%20%20%20header%20fields.%20*%2F%0A%20%20return%20documentLanguage%20!%3D%20null%20%3F%20documentLanguage%20%3A%20%27%27%3B%0A%7D%20%2F%2F%20getElementLanguage%0A%0AscanMeta%20%28%29%3B%0A%0Avar%20locationHost%3B%0Atry%20%7B%0A%20%20locationHost%20%3D%20location.host%3B%0A%7D%20catch%20%28e%29%20%7B%0A%20%20locationHost%20%3D%20null%3B%0A%7D%0A%0Avar%20title%20%3D%20document.title%3B%0Avar%20titleLang%20%3D%20%27%27%3B%0Aif%20%28locationHost%20%3D%3D%20%27permalink.gmane.org%27%29%20%7B%0A%20%20var%20h2El%20%3D%20document.getElementsByTagName%20%28%27h2%27%29%5B0%5D%3B%0A%20%20if%20%28h2El%29%20%7B%0A%20%20%20%20title%20%3D%20%2F*swEscape*%2F%20%28h2El.textContent%29%3B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28h2El%29%3B%0A%20%20%7D%0A%7D%0Aif%20%28title%20%3D%3D%20null%20%7C%7C%20title%20%3D%3D%20%27%27%20%7C%7C%0A%20%20%20%20locationHost%20%3D%3D%20%27lists.w3.org%27%29%20%7B%0A%20%20var%20h1El%20%3D%20document.getElementsByTagName%20%28%27h1%27%29%5B0%5D%3B%0A%20%20H1EL%3A%20%7B%0A%20%20%20%20if%20%28h1El%29%20%7B%0A%20%20%20%20%20%20break%20H1EL%3B%0A%20%20%20%20%7D%0A%20%20%20%20var%20fonts%20%3D%20document.getElementsByTagName%20%28%27font%27%29%3B%0A%20%20%20%20fontsLength%20%3D%20fonts.length%3B%0A%20%20%20%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20fontsLength%3B%20i%2B%2B%29%20%7B%0A%20%20%20%20%20%20var%20font%20%3D%20fonts%5Bi%5D%3B%0A%20%20%20%20%20%20if%20%28font.size%20%3D%3D%20%277%27%20%7C%7C%20font.size%20%3D%3D%20%27%2B4%27%29%20%7B%0A%20%20%20%20%20%20%20%20h1El%20%3D%20font%3B%0A%20%20%20%20%20%20%20%20break%20H1EL%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%20%2F%2F%20H1EL%0A%20%20if%20%28h1El%29%20%7B%0A%20%20%20%20title%20%3D%20%2F*swEscape*%2F%20%28h1El.textContent%29%3B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28h1El%29%3B%0A%20%20%7D%20else%20%7B%0A%20%20%20%20title%20%3D%20title%20%3D%3D%20null%20%3F%20%27%27%20%3A%20title%3B%0A%20%20%7D%0A%7D%20else%20%7B%0A%2F%2F%20%20title%20%3D%20swEscape%20%28title%29%3B%0A%20%20var%20titleEl%20%3D%20document.getElementsByTagName%20%28%27title%27%29%5B0%5D%3B%0A%20%20if%20%28titleEl%29%20%7B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28titleEl%29%3B%0A%20%20%7D%0A%7D%0A%0Avar%20lm%20%3D%20document.lastModified%3B%0Aif%20%28locationHost%20%3D%3D%20%27permalink.gmane.org%27%29%20%7B%0A%20%20var%20o1El%20%3D%20document.getElementById%20%28%27o1%27%29%3B%0A%20%20if%20%28o1El%29%20%7B%0A%20%20%20%20var%20o1Prop%20%3D%20%5B%5D%3B%0A%20%20%20%20o1El.textContent.split%20%28%22%5Cn%22%29.forEach%20%28function%20%28s%29%20%7B%0A%20%20%20%20%20%20var%20nv%20%3D%20s.split%20%28%27%3A%20%27%2C%202%29%3B%0A%20%20%20%20%20%20o1Prop%5Bnv%5B0%5D.toLowerCase%20%28%29%5D%20%3D%20nv%5B1%5D%3B%0A%20%20%20%20%7D%29%3B%0A%20%20%20%20if%20%28o1Prop.from%29%20%7B%0A%20%20%20%20%20%20documentAuthor%20%3D%20o1Prop.from.replace%20%28%2F%5Cs*%3C%5B%5E%3C%3E%5D%2B%3Cat%3E%5B%5E%3C%3E%5D%2B%3E%5Cs*%24%2F%2C%20%27%27%29%3B%0A%20%20%20%20%7D%0A%20%20%20%20var%20m%3B%0A%20%20%20%20if%20%28m%20%3D%20o1Prop.date.match%20%28%2F%5E%28%5Cd%2B%29-%28%5Cd%2B%29-%28%5Cd%2B%29%5Cs%2B%28%5Cd%2B%29%3A%28%5Cd%2B%29%3A%28%5Cd%2B%29%5Cs%2BGMT%24%2F%29%29%20%7B%0A%20%20%20%20%20%20lm%20%3D%20new%20Date%20%28m%5B1%5D%2C%20m%5B2%5D%20-%201%2C%20m%5B3%5D%2C%20m%5B4%5D%2C%20m%5B5%5D%2C%20m%5B6%5D%29%3B%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%20else%20if%20%28locationHost%20%3D%3D%20%27lists.w3.org%27%29%20%7B%0A%20%20if%20%28documentAuthor%20!%3D%20null%29%20%7B%0A%20%20%20%20documentAuthor%0A%20%20%20%20%20%20%20%20%3D%20documentAuthor.replace%20%28%2F%5Cs%2B%5C%28%5B%5E%28%29%5D%2B%5C%29%24%2F%2C%20%27%27%29%3B%0A%20%20%7D%0A%20%20var%20dateEl%20%3D%20document.getElementById%20%28%27date%27%29%3B%0A%20%20if%20%28dateEl%29%20%7B%0A%20%20%20%20var%20m%20%3D%20dateEl.textContent%0A%20%20%20%20%20%20%20%20.replace%20%28%2F%5EDate%3A%5Cs%2B%2F%2C%20%27%27%29%3B%0A%20%20%20%20lm%20%3D%20new%20Date%20%28m%29%3B%0A%20%20%7D%0A%7D%20else%20if%20%28locationHost%20%3D%3D%20%27listserv.heanet.ie%27%29%20%7B%0A%20%20var%20docText%20%3D%20document.documentElement.textContent%3B%0A%20%20var%20m%3B%0A%20%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbSubject%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20%20%20%20title%20%3D%20%2F*swEscape*%2F%20%28m%5B1%5D%29%3B%0A%20%20%20%20titleLang%20%3D%20%27%40en%27%3B%0A%20%20%7D%0A%20%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbFrom%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20%20%20%20var%20documentAuthor%20%3D%20m%5B1%5D%3B%0A%20%20%20%20if%20%28m%20%3D%20documentAuthor.match%0A%20%20%20%20%20%20%20%20%28%2F%5E%5C%5Blog%20in%20to%20unmask%5C%5D%5Cs*%5C%28%28%5B%5E%28%29%5D%2B%29%5C%29%24%2F%29%29%20%7B%0A%20%20%20%20%20%20documentAuthor%20%3D%20m%5B1%5D%3B%0A%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20documentAuthor%20%3D%20documentAuthor.replace%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%28%2F%5Cs*%3C%5C%5Blog%20in%20to%20unmask%5C%5D%3E%2F%2C%20%27%27%29%0A%20%20%20%20%20%20%20%20%20%20.replace%20%28%2F%22%2Fg%2C%20%27%27%29%0A%20%20%20%20%20%20%20%20%20%20.replace%20%28%2F%5C%5Blog%20in%20to%20unmask%5C%5D%2F%2C%20%27%27%29%3B%0A%20%20%20%20%7D%0A%20%20%20%20if%20%28!documentAuthor%29%20documentAuthor%20%3D%20null%3B%0A%20%20%7D%0A%20%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbDate%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20%20%20%20if%20%28m%20%3D%20m%5B1%5D.match%20%28%2F%5E%5BA-Za-z%5D%2B%2C%20%28%5Cd%2B%29%20%28%5CS%2B%29%20%28%5Cd%2B%20%5Cd%2B%3A%5Cd%2B%3A%5Cd%2B%20E%5BSD%5DT%29%24%2F%29%29%20%7B%0A%20%20%20%20%20%20lm%20%3D%20new%20Date%20%28m%5B2%5D%20%2B%20%27%20%27%20%2B%20m%5B1%5D%20%2B%20%27%2C%20%27%20%2B%20m%5B3%5D%29%3B%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0Aif%20%28lm%20!%3D%20null%20%26%26%20lm%20!%3D%20%27%27%29%20%7B%0A%20%20lm%20%3D%20new%20Date%20%28lm%29%3B%0A%7D%20else%20%7B%0A%20%20lm%20%3D%20null%3B%0A%7D%0Aif%20%28lm%20!%3D%20null%29%20%7B%0A%20%20var%20tzo%20%3D%20lm.getTimezoneOffset%20%28%29%3B%0A%20%20lm%20%3D%20%27%5BTIME%5B%27%20%2B%20lm.getFullYear%20%28%29%20%2B%20%27-%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20%28lm.getMonth%20%28%29%20%2B%201%29%29.substr%20%28-2%2C%202%29%20%2B%20%27-%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getDate%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getHours%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getMinutes%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getSeconds%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%20%20%20%20%20%2B%20%28tzo%20%3E%200%20%3F%20%27-%27%20%3A%20%27%2B%27%29%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%2F%2060%29%29.substr%20%28-2%2C%202%29%0A%20%20%20%20%20%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%25%2060%29%29.substr%20%28-2%2C%202%29%0A%20%20%20%20%20%20%2B%20%27%5D%5D%27%3B%0A%7D%0A%0Avar%20credit%20%3D%20%27%27%3B%0Aif%20%28documentAuthor%20!%3D%20null%29%20%7B%0A%20%20credit%20%3D%20%27%5B%5B%27%20%2B%20swEscape%20%28documentAuthor%29%20%2B%20%27%5D%5D%20%E8%91%97%27%3B%0A%20%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20%20%20%20credit%20%2B%3D%20%27%2C%20%27%20%2B%20lm%20%2B%20%27%20%E7%89%88%27%3B%0A%20%20%7D%0A%7D%20else%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20%20credit%20%3D%20lm%20%2B%20%27%20%E7%89%88%27%3B%0A%7D%0A%0Avar%20uri%20%3D%20location.href%3B%0A%0Avar%20form%20%3D%20document.createElement%20%28%27form%27%29%3B%0Aform.method%20%3D%20%27post%27%3B%0Aform.acceptCharset%20%3D%20%27utf-8%27%3B%0Aform.lang%20%3D%20%27en%27%3B%0Aform.innerHTML%20%3D%20%27%3Cdiv%20class%3Dsuikawiki-bookmarklet-post%3E%3Cstyle%20scoped%3E.suikawiki-bookmarklet-post%20%7B%20padding%3A%200.3em%200.6em%20%7D%20.suikawiki-bookmarklet-post%20input%3Anot%28%5Btype%3Dcheckbox%5D%29%20%7B%20width%3A%20100%25%20%7D%20.suikawiki-bookmarklet-post%20p%20%7B%20text-align%3A%20left%20%7D%20.suikawiki-bookmarklet-post%20.buttons%20%7B%20margin-top%3A%201em%3B%20text-align%3A%20center%20%7D%20.suikawiki-bookmarklet-post%20h1%20%7B%20background%3A%20none%3B%20padding%3A%200%3B%20font-weight%3A%20bolder%3B%20font-size%3A%20150%25%3B%20text-align%3A%20left%3B%20color%3A%20%23004000%20%7D%20.suikawiki-bookmarklet-post%20%5Bname%3Dtitle-lang%5D%20%7B%20width%3A%205em%20!important%20%7D%20.suikawiki-bookmarklet-post%20button%20%7B%20min-width%3A%206em%20%7D%20.suikawiki-bookmarklet-post%20.ok%20%7B%20font-weight%3A%20bolder%20%7D%20.suikawiki-bookmarklet-post%20.cancel%20%7B%20font-size%3A%20smaller%20%7D%3C%2Fstyle%3E%3Ch1%3E%3Cimg%20src%3D%22http%3A%2F%2Fsuika.fam.cx%2F~wakaba%2F-temp%2F2004%2Fsw%22%20alt%3D%5BSuikaWiki%5D%3E%20Post%20a%20URL%3C%2Fh1%3E%20%3Cp%3E%3Clabel%3EPage%3A%20%3Cinput%20name%3DpageName%20onchange%3D%22%20form%5B%26quot%3Bsubmit-button%26quot%3B%5D.disabled%20%3D%20this.value.length%20%3D%3D%200%20%22%3E%3C%2Flabel%3E%3Cp%3E%3Clabel%3EURL%3A%20%3Cinput%20type%3Durl%20name%3Durl%3E%3C%2Flabel%3E%3Cp%3E%3Clabel%20for%3Dsuikawiki-bookmarklet-post-title%3ETitle%3C%2Flabel%3E%3A%20%28%3Clabel%3ELanguage%3A%20%3Cinput%20name%3Dtitle-lang%3E%3C%2Flabel%3E%29%20%3Cinput%20name%3Dtitle%20id%3Dsuikawiki-bookmarklet-post-title%3E%3Cp%3E%3Clabel%3ECredit%3A%20%3Cinput%20name%3Dcredit%3E%3C%2Flabel%3E%3Cp%3E%3Clabel%3E%3Cinput%20type%3Dcheckbox%20name%3Dredirect%3E%20Open%20the%20posted%20page%3C%2Flabel%3E%3Cp%20class%3Dbuttons%3E%3Cbutton%20type%3Dsubmit%20class%3Dok%20name%3Dsubmit-button%20disabled%3EOK%3C%2Fbutton%3E%20%3Cbutton%20type%3Dbutton%20onclick%3D%22%20form.parentNode.removeChild%20%28form%29%20%22%20class%3Dcancel%3ECancel%3C%2Fbutton%3E%3C%2Fdiv%3E%27%3B%0Aform.url.value%20%3D%20uri%3B%0Aform.elements.title.value%20%3D%20title%3B%0Aform%5B%27title-lang%27%5D.value%20%3D%20titleLang%3B%0Aform.credit.value%20%3D%20credit%3B%0Aform.onsubmit%20%3D%20function%20%28%29%20%7B%0A%20%20if%20%28form.title.length%20%3D%3D%200%29%20return%3B%0A%20%20form.action%20%3D%20%27http%3A%2F%2Fsuika.fam.cx%2F~wakaba%2Fwiki%2Fsw%2Fn%2F%27%20%2B%20encodeURIComponent%20%28form.pageName.value%29.replace%20%28%2F%252F%2Fg%2C%20%27%2B%27%29%20%2B%20%27%3Bposturl%27%3B%0A%20%20setTimeout%20%28function%20%28%29%20%7B%0A%20%20%20%20form.parentNode.removeChild%20%28form%29%3B%0A%20%20%7D%2C%201000%29%3B%0A%7D%3B%0Aform.setAttribute%28%27style%27%2C%20%27display%3A%20block%3B%20position%3A%20fixed%3B%20top%3A%201em%3B%20left%3A%201em%3B%20width%3A%2040em%3B%20min-height%3A%2020em%3B%20background%3A%20white%3B%20color%3A%20black%3B%20border%3A%20gray%201px%20solid%3B%20text-indent%3A%201.5%3B%20z-index%3A%2010000000%27%29%3B%0A%0Adocument.body.appendChild%20%28form%29%3B%0Aform.pageName.focus%20%28%29%3B%0A%0Avoid%20%280%29%3B>
[94] <javascript:%0A%0Afunction%20swEscape%20%28s%29%20%7B%0A%20%20return%20s.replace%20%28%2F%5C%5B%2F%2C%20%22%27%27%27%5B%27%27%27%22%29.replace%20%28%2F%5C%5D%2F%2C%20%22%27%27%27%5D%27%27%27%22%29%3B%0A%7D%20%2F%2F%20swEscape%0A%0Avar%20documentLanguage%20%3D%20null%3B%0Avar%20documentAuthor%20%3D%20null%3B%0Afunction%20scanMeta%20%28%29%20%7B%0A%20%20var%20metas%20%3D%20document.getElementsByTagName%20%28%27meta%27%29%3B%0A%20%20var%20metasLength%20%3D%20metas.length%3B%0A%20%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20metasLength%3B%20i%2B%2B%29%20%7B%0A%20%20%20%20var%20meta%20%3D%20metas%5Bi%5D%3B%0A%20%20%20%20var%20metaFieldName%20%3D%20meta.httpEquiv.toLowerCase%20%28%29%3B%0A%20%20%20%20if%20%28metaFieldName%20%3D%3D%20%27content-language%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentLanguage%20%3D%20meta.content.split%20%28%2F%5Cs*%2C%5Cs*%2F%29%5B0%5D%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%0A%20%20%20%20var%20metaName%20%3D%20meta.name.toLowerCase%20%28%29%3B%0A%20%20%20%20if%20%28metaName%20%3D%3D%20%27author%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentAuthor%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentAuthor%20%3D%20meta.content%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%20else%20if%20%28metaName%20%3D%3D%20%27ms.locale%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentLanguage%20%3D%20meta.content%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%20%2F%2F%20scanMeta%0A%0Afunction%20getElementLanguage%20%28el%29%20%7B%0A%20%20var%20xmlNS%20%3D%20%27http%3A%2F%2Fwww.w3.org%2FXML%2F1998%2Fnamespace%27%3B%0A%20%20while%20%28el%20!%3D%20null%29%20%7B%0A%20%20%20%20if%20%28el.nodeType%20%3D%3D%20el.ELEMENT_NODE%29%20%7B%0A%20%20%20%20%20%20if%20%28el.hasAttributeNS%20%28xmlNS%2C%20%27lang%27%29%29%20%7B%0A%20%20%20%20%20%20%20%20return%20el.getAttributeNS%20%28xmlNS%2C%20%27lang%27%29%3B%0A%20%20%20%20%20%20%7D%20else%20if%20%28%28el.namespaceURI%20%3D%3D%20null%20%7C%7C%0A%20%20%20%20%20%20%20%20%20%20el.namespaceURI%20%3D%3D%20%27http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%27%29%20%26%26%0A%20%20%20%20%20%20%20%20%20%20el.hasAttributeNS%20%28null%2C%20%27lang%27%29%29%20%7B%0A%20%20%20%20%20%20%20%20return%20el.getAttributeNS%20%28null%2C%20%27lang%27%29%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%20%20el%20%3D%20el.parentNode%3B%0A%20%20%7D%0A%0A%20%20%2F*%20NOTE%3A%20%7CContent-Language%7C%20is%20not%20supported%0A%20%20%20%20%20%20since%20DOM%20provides%20no%20access%20to%20HTTP%0A%20%20%20%20%20%20header%20fields.%20*%2F%0A%20%20return%20documentLanguage%20!%3D%20null%20%3F%20documentLanguage%20%3A%20%27%27%3B%0A%7D%20%2F%2F%20getElementLanguage%0A%0AscanMeta%20%28%29%3B%0A%0Avar%20locationHost%3B%0Atry%20%7B%0A%20%20locationHost%20%3D%20location.host%3B%0A%7D%20catch%20%28e%29%20%7B%0A%20%20locationHost%20%3D%20null%3B%0A%7D%0A%0Avar%20title%20%3D%20document.title%3B%0Avar%20titleLang%20%3D%20%27%27%3B%0Aif%20%28locationHost%20%3D%3D%20%27permalink.gmane.org%27%29%20%7B%0A%20%20var%20h2El%20%3D%20document.getElementsByTagName%20%28%27h2%27%29%5B0%5D%3B%0A%20%20if%20%28h2El%29%20%7B%0A%20%20%20%20title%20%3D%20%2F*swEscape*%2F%20%28h2El.textContent%29%3B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28h2El%29%3B%0A%20%20%7D%0A%7D%0Aif%20%28title%20%3D%3D%20null%20%7C%7C%20title%20%3D%3D%20%27%27%20%7C%7C%0A%20%20%20%20locationHost%20%3D%3D%20%27lists.w3.org%27%29%20%7B%0A%20%20var%20h1El%20%3D%20document.getElementsByTagName%20%28%27h1%27%29%5B0%5D%3B%0A%20%20H1EL%3A%20%7B%0A%20%20%20%20if%20%28h1El%29%20%7B%0A%20%20%20%20%20%20break%20H1EL%3B%0A%20%20%20%20%7D%0A%20%20%20%20var%20fonts%20%3D%20document.getElementsByTagName%20%28%27font%27%29%3B%0A%20%20%20%20fontsLength%20%3D%20fonts.length%3B%0A%20%20%20%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20fontsLength%3B%20i%2B%2B%29%20%7B%0A%20%20%20%20%20%20var%20font%20%3D%20fonts%5Bi%5D%3B%0A%20%20%20%20%20%20if%20%28font.size%20%3D%3D%20%277%27%20%7C%7C%20font.size%20%3D%3D%20%27%2B4%27%29%20%7B%0A%20%20%20%20%20%20%20%20h1El%20%3D%20font%3B%0A%20%20%20%20%20%20%20%20break%20H1EL%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%20%2F%2F%20H1EL%0A%20%20if%20%28h1El%29%20%7B%0A%20%20%20%20title%20%3D%20%2F*swEscape*%2F%20%28h1El.textContent%29%3B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28h1El%29%3B%0A%20%20%7D%20else%20%7B%0A%20%20%20%20title%20%3D%20title%20%3D%3D%20null%20%3F%20%27%27%20%3A%20title%3B%0A%20%20%7D%0A%7D%20else%20%7B%0A%2F%2F%20%20title%20%3D%20swEscape%20%28title%29%3B%0A%20%20var%20titleEl%20%3D%20document.getElementsByTagName%20%28%27title%27%29%5B0%5D%3B%0A%20%20if%20%28titleEl%29%20%7B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28titleEl%29%3B%0A%20%20%7D%0A%7D%0A%0Avar%20lm%20%3D%20document.lastModified%3B%0Aif%20%28locationHost%20%3D%3D%20%27permalink.gmane.org%27%29%20%7B%0A%20%20var%20o1El%20%3D%20document.getElementById%20%28%27o1%27%29%3B%0A%20%20if%20%28o1El%29%20%7B%0A%20%20%20%20var%20o1Prop%20%3D%20%5B%5D%3B%0A%20%20%20%20o1El.textContent.split%20%28%22%5Cn%22%29.forEach%20%28function%20%28s%29%20%7B%0A%20%20%20%20%20%20var%20nv%20%3D%20s.split%20%28%27%3A%20%27%2C%202%29%3B%0A%20%20%20%20%20%20o1Prop%5Bnv%5B0%5D.toLowerCase%20%28%29%5D%20%3D%20nv%5B1%5D%3B%0A%20%20%20%20%7D%29%3B%0A%20%20%20%20if%20%28o1Prop.from%29%20%7B%0A%20%20%20%20%20%20documentAuthor%20%3D%20o1Prop.from.replace%20%28%2F%5Cs*%3C%5B%5E%3C%3E%5D%2B%3Cat%3E%5B%5E%3C%3E%5D%2B%3E%5Cs*%24%2F%2C%20%27%27%29%3B%0A%20%20%20%20%7D%0A%20%20%20%20var%20m%3B%0A%20%20%20%20if%20%28m%20%3D%20o1Prop.date.match%20%28%2F%5E%28%5Cd%2B%29-%28%5Cd%2B%29-%28%5Cd%2B%29%5Cs%2B%28%5Cd%2B%29%3A%28%5Cd%2B%29%3A%28%5Cd%2B%29%5Cs%2BGMT%24%2F%29%29%20%7B%0A%20%20%20%20%20%20lm%20%3D%20new%20Date%20%28m%5B1%5D%2C%20m%5B2%5D%20-%201%2C%20m%5B3%5D%2C%20m%5B4%5D%2C%20m%5B5%5D%2C%20m%5B6%5D%29%3B%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%20else%20if%20%28locationHost%20%3D%3D%20%27lists.w3.org%27%29%20%7B%0A%20%20if%20%28documentAuthor%20!%3D%20null%29%20%7B%0A%20%20%20%20documentAuthor%0A%20%20%20%20%20%20%20%20%3D%20documentAuthor.replace%20%28%2F%5Cs%2B%5C%28%5B%5E%28%29%5D%2B%5C%29%24%2F%2C%20%27%27%29%3B%0A%20%20%7D%0A%20%20var%20dateEl%20%3D%20document.getElementById%20%28%27date%27%29%3B%0A%20%20if%20%28dateEl%29%20%7B%0A%20%20%20%20var%20m%20%3D%20dateEl.textContent%0A%20%20%20%20%20%20%20%20.replace%20%28%2F%5EDate%3A%5Cs%2B%2F%2C%20%27%27%29%3B%0A%20%20%20%20lm%20%3D%20new%20Date%20%28m%29%3B%0A%20%20%7D%0A%7D%20else%20if%20%28locationHost%20%3D%3D%20%27listserv.heanet.ie%27%29%20%7B%0A%20%20var%20docText%20%3D%20document.documentElement.textContent%3B%0A%20%20var%20m%3B%0A%20%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbSubject%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20%20%20%20title%20%3D%20%2F*swEscape*%2F%20%28m%5B1%5D%29%3B%0A%20%20%20%20titleLang%20%3D%20%27%40en%27%3B%0A%20%20%7D%0A%20%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbFrom%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20%20%20%20var%20documentAuthor%20%3D%20m%5B1%5D%3B%0A%20%20%20%20if%20%28m%20%3D%20documentAuthor.match%0A%20%20%20%20%20%20%20%20%28%2F%5E%5C%5Blog%20in%20to%20unmask%5C%5D%5Cs*%5C%28%28%5B%5E%28%29%5D%2B%29%5C%29%24%2F%29%29%20%7B%0A%20%20%20%20%20%20documentAuthor%20%3D%20m%5B1%5D%3B%0A%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20documentAuthor%20%3D%20documentAuthor.replace%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%28%2F%5Cs*%3C%5C%5Blog%20in%20to%20unmask%5C%5D%3E%2F%2C%20%27%27%29%0A%20%20%20%20%20%20%20%20%20%20.replace%20%28%2F%22%2Fg%2C%20%27%27%29%0A%20%20%20%20%20%20%20%20%20%20.replace%20%28%2F%5C%5Blog%20in%20to%20unmask%5C%5D%2F%2C%20%27%27%29%3B%0A%20%20%20%20%7D%0A%20%20%20%20if%20%28!documentAuthor%29%20documentAuthor%20%3D%20null%3B%0A%20%20%7D%0A%20%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbDate%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20%20%20%20if%20%28m%20%3D%20m%5B1%5D.match%20%28%2F%5E%5BA-Za-z%5D%2B%2C%20%28%5Cd%2B%29%20%28%5CS%2B%29%20%28%5Cd%2B%20%5Cd%2B%3A%5Cd%2B%3A%5Cd%2B%20E%5BSD%5DT%29%24%2F%29%29%20%7B%0A%20%20%20%20%20%20lm%20%3D%20new%20Date%20%28m%5B2%5D%20%2B%20%27%20%27%20%2B%20m%5B1%5D%20%2B%20%27%2C%20%27%20%2B%20m%5B3%5D%29%3B%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0Aif%20%28lm%20!%3D%20null%20%26%26%20lm%20!%3D%20%27%27%29%20%7B%0A%20%20lm%20%3D%20new%20Date%20%28lm%29%3B%0A%7D%20else%20%7B%0A%20%20lm%20%3D%20null%3B%0A%7D%0Aif%20%28lm%20!%3D%20null%29%20%7B%0A%20%20var%20tzo%20%3D%20lm.getTimezoneOffset%20%28%29%3B%0A%20%20lm%20%3D%20%27%5BTIME%5B%27%20%2B%20lm.getFullYear%20%28%29%20%2B%20%27-%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20%28lm.getMonth%20%28%29%20%2B%201%29%29.substr%20%28-2%2C%202%29%20%2B%20%27-%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getDate%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getHours%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getMinutes%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getSeconds%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%20%20%20%20%20%2B%20%28tzo%20%3E%200%20%3F%20%27-%27%20%3A%20%27%2B%27%29%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%2F%2060%29%29.substr%20%28-2%2C%202%29%0A%20%20%20%20%20%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%25%2060%29%29.substr%20%28-2%2C%202%29%0A%20%20%20%20%20%20%2B%20%27%5D%5D%27%3B%0A%7D%0A%0Avar%20credit%20%3D%20%27%27%3B%0Aif%20%28documentAuthor%20!%3D%20null%29%20%7B%0A%20%20credit%20%3D%20%27%5B%5B%27%20%2B%20swEscape%20%28documentAuthor%29%20%2B%20%27%5D%5D%20%E8%91%97%27%3B%0A%20%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20%20%20%20credit%20%2B%3D%20%27%2C%20%27%20%2B%20lm%20%2B%20%27%20%E7%89%88%27%3B%0A%20%20%7D%0A%7D%20else%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20%20credit%20%3D%20lm%20%2B%20%27%20%E7%89%88%27%3B%0A%7D%0A%0Avar%20uri%20%3D%20location.href%3B%0A%0Avar%20form%20%3D%20document.createElement%20%28%27form%27%29%3B%0Aform.method%20%3D%20%27post%27%3B%0Aform.acceptCharset%20%3D%20%27utf-8%27%3B%0Aform.lang%20%3D%20%27en%27%3B%0Aform.innerHTML%20%3D%20%27%3Cdiv%20class%3Dsuikawiki-bookmarklet-post%3E%3Cstyle%20scoped%3E.suikawiki-bookmarklet-post%20%7B%20padding%3A%200.3em%200.6em%20%7D%20.suikawiki-bookmarklet-post%20input%3Anot%28%5Btype%3Dcheckbox%5D%29%20%7B%20width%3A%20100%25%20%7D%20.suikawiki-bookmarklet-post%20p%20%7B%20text-align%3A%20left%20%7D%20.suikawiki-bookmarklet-post%20.buttons%20%7B%20margin-top%3A%201em%3B%20text-align%3A%20center%20%7D%20.suikawiki-bookmarklet-post%20h1%20%7B%20background%3A%20none%3B%20padding%3A%200%3B%20font-weight%3A%20bolder%3B%20font-size%3A%20150%25%3B%20text-align%3A%20left%3B%20color%3A%20%23004000%20%7D%20.suikawiki-bookmarklet-post%20%5Bname%3Dtitle-lang%5D%20%7B%20width%3A%205em%20!important%20%7D%20.suikawiki-bookmarklet-post%20button%20%7B%20min-width%3A%206em%20%7D%20.suikawiki-bookmarklet-post%20.ok%20%7B%20font-weight%3A%20bolder%20%7D%20.suikawiki-bookmarklet-post%20.cancel%20%7B%20font-size%3A%20smaller%20%7D%3C%2Fstyle%3E%3Ch1%3E%3Cimg%20src%3D%22http%3A%2F%2Fsuika.fam.cx%2F~wakaba%2F-temp%2F2004%2Fsw%22%20alt%3D%5BSuikaWiki%5D%3E%20Post%20a%20URL%3C%2Fh1%3E%20%3Cp%3E%3Clabel%3EPage%3A%20%3Cinput%20name%3DpageName%20onchange%3D%22%20form%5B%26quot%3Bsubmit-button%26quot%3B%5D.disabled%20%3D%20this.value.length%20%3D%3D%200%20%22%3E%3C%2Flabel%3E%3Cp%3E%3Clabel%3EURL%3A%20%3Cinput%20type%3Durl%20name%3Durl%3E%3C%2Flabel%3E%3Cp%3E%3Clabel%20for%3Dsuikawiki-bookmarklet-post-title%3ETitle%3C%2Flabel%3E%3A%20%28%3Clabel%3ELanguage%3A%20%3Cinput%20name%3Dtitle-lang%3E%3C%2Flabel%3E%29%20%3Cinput%20name%3Dtitle%20id%3Dsuikawiki-bookmarklet-post-title%3E%3Cp%3E%3Clabel%3ECredit%3A%20%3Cinput%20name%3Dcredit%3E%3C%2Flabel%3E%3Cp%3E%3Clabel%3E%3Cinput%20type%3Dcheckbox%20name%3Dredirect%3E%20Open%20the%20posted%20page%3C%2Flabel%3E%3Cp%20class%3Dbuttons%3E%3Cbutton%20type%3Dsubmit%20class%3Dok%20name%3Dsubmit-button%20disabled%3EOK%3C%2Fbutton%3E%20%3Cbutton%20type%3Dbutton%20onclick%3D%22%20form.parentNode.removeChild%20%28form%29%20%22%20class%3Dcancel%3ECancel%3C%2Fbutton%3E%3C%2Fdiv%3E%27%3B%0Aform.url.value%20%3D%20uri%3B%0Aform.elements.title.value%20%3D%20title%3B%0Aform%5B%27title-lang%27%5D.value%20%3D%20titleLang%3B%0Aform.credit.value%20%3D%20credit%3B%0Aform.onsubmit%20%3D%20function%20%28%29%20%7B%0A%20%20if%20%28form.title.length%20%3D%3D%200%29%20return%3B%0A%20%20form.action%20%3D%20%27http%3A%2F%2Fsuika.fam.cx%2F~wakaba%2Fwiki%2Fsw%2Fn%2F%27%20%2B%20encodeURIComponent%20%28form.pageName.value%29.replace%20%28%2F%252F%2Fg%2C%20%27%2B%27%29%20%2B%20%27%3Bposturl%27%3B%0A%20%20setTimeout%20%28function%20%28%29%20%7B%0A%20%20%20%20form.parentNode.removeChild%20%28form%29%3B%0A%20%20%7D%2C%201000%29%3B%0A%7D%3B%0Aform.setAttribute%28%27style%27%2C%20%27display%3A%20block%3B%20position%3A%20fixed%3B%20top%3A%201em%3B%20left%3A%201em%3B%20width%3A%2040em%3B%20min-height%3A%2020em%3B%20background%3A%20white%3B%20color%3A%20black%3B%20border%3A%20gray%201px%20solid%3B%20text-indent%3A%201.5%27%29%3B%0A%0Adocument.body.appendChild%20%28form%29%3B%0Aform.pageName.focus%20%28%29%3B%0A%0Avoid%20%280%29%3B>
[102] [[WA1]] Tracker 追随 [TIME[2011-04-25T13:55:07.500Z]]
<javascript:%0A%0Afunction%20swEscape%20%28s%29%20%7B%0A%20%20return%20s.replace%20%28%2F%5C%5B%2F%2C%20%22%27%27%27%5B%27%27%27%22%29.replace%20%28%2F%5C%5D%2F%2C%20%22%27%27%27%5D%27%27%27%22%29%3B%0A%7D%20%2F%2F%20swEscape%0A%0Afunction%20setTimeZoneToUTC%20%28d%29%20%7B%0A%20%20d.setUTCFullYear%20%28d.getFullYear%20%28%29%2C%20d.getMonth%20%28%29%2C%20d.getDate%20%28%29%29%3B%0A%20%20d.setUTCHours%20%28d.getHours%20%28%29%2C%20d.getMinutes%20%28%29%2C%20d.getSeconds%20%28%29%29%3B%0A%20%20return%20d%3B%0A%7D%20%2F%2F%20setTimeZoneToUTC%0A%0Avar%20documentLanguage%20%3D%20null%3B%0Avar%20documentAuthor%20%3D%20null%3B%0Afunction%20scanMeta%20%28%29%20%7B%0A%20%20var%20metas%20%3D%20document.getElementsByTagName%20%28%27meta%27%29%3B%0A%20%20var%20metasLength%20%3D%20metas.length%3B%0A%20%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20metasLength%3B%20i%2B%2B%29%20%7B%0A%20%20%20%20var%20meta%20%3D%20metas%5Bi%5D%3B%0A%20%20%20%20var%20metaFieldName%20%3D%20meta.httpEquiv.toLowerCase%20%28%29%3B%0A%20%20%20%20if%20%28metaFieldName%20%3D%3D%20%27content-language%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentLanguage%20%3D%20meta.content.split%20%28%2F%5Cs*%2C%5Cs*%2F%29%5B0%5D%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%0A%20%20%20%20var%20metaName%20%3D%20meta.name.toLowerCase%20%28%29%3B%0A%20%20%20%20if%20%28metaName%20%3D%3D%20%27author%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentAuthor%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentAuthor%20%3D%20meta.content%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%20else%20if%20%28metaName%20%3D%3D%20%27ms.locale%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentLanguage%20%3D%20meta.content%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%20%2F%2F%20scanMeta%0A%0Afunction%20getElementLanguage%20%28el%29%20%7B%0A%20%20var%20xmlNS%20%3D%20%27http%3A%2F%2Fwww.w3.org%2FXML%2F1998%2Fnamespace%27%3B%0A%20%20while%20%28el%20!%3D%20null%29%20%7B%0A%20%20%20%20if%20%28el.nodeType%20%3D%3D%20el.ELEMENT_NODE%29%20%7B%0A%20%20%20%20%20%20if%20%28el.hasAttributeNS%20%28xmlNS%2C%20%27lang%27%29%29%20%7B%0A%20%20%20%20%20%20%20%20return%20el.getAttributeNS%20%28xmlNS%2C%20%27lang%27%29%3B%0A%20%20%20%20%20%20%7D%20else%20if%20%28%28el.namespaceURI%20%3D%3D%20null%20%7C%7C%0A%20%20%20%20%20%20%20%20%20%20el.namespaceURI%20%3D%3D%20%27http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%27%29%20%26%26%0A%20%20%20%20%20%20%20%20%20%20el.hasAttributeNS%20%28null%2C%20%27lang%27%29%29%20%7B%0A%20%20%20%20%20%20%20%20return%20el.getAttributeNS%20%28null%2C%20%27lang%27%29%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%20%20el%20%3D%20el.parentNode%3B%0A%20%20%7D%0A%0A%20%20%2F*%20NOTE%3A%20%7CContent-Language%7C%20is%20not%20supported%0A%20%20%20%20%20%20since%20DOM%20provides%20no%20access%20to%20HTTP%0A%20%20%20%20%20%20header%20fields.%20*%2F%0A%20%20return%20documentLanguage%20!%3D%20null%20%3F%20documentLanguage%20%3A%20%27%27%3B%0A%7D%20%2F%2F%20getElementLanguage%0A%0AscanMeta%20%28%29%3B%0A%0Avar%20locationHost%3B%0Atry%20%7B%0A%20%20locationHost%20%3D%20location.host%3B%0A%7D%20catch%20%28e%29%20%7B%0A%20%20locationHost%20%3D%20null%3B%0A%7D%0A%0Avar%20title%20%3D%20document.title%3B%0Avar%20titleLang%20%3D%20%27%27%3B%0Avar%20lm%20%3D%20document.lastModified%3B%0Aif%20%28locationHost%20%3D%3D%20%27permalink.gmane.org%27%29%20%7B%0A%20%20var%20h2El%20%3D%20document.getElementsByTagName%20%28%27h2%27%29%5B0%5D%3B%0A%20%20if%20%28h2El%29%20%7B%0A%20%20%20%20title%20%3D%20swEscape%20%28h2El.textContent%29%3B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28h2El%29%3B%0A%20%20%7D%0A%7D%0Aif%20%28locationHost%20%3D%3D%20%27html5.org%27%29%20%7B%0A%20%20var%20logEl%20%3D%20document.getElementById%20%28%27log%27%29%3B%0A%20%20if%20%28logEl%29%20%7B%0A%20%20%20%20var%20rows%20%3D%20logEl.rows%3B%0A%20%20%20%20if%20%28rows.length%20%3D%3D%202%29%20%7B%0A%20%20%20%20%20%20var%20row%20%3D%20rows%5B1%5D%3B%0A%20%20%20%20%20%20var%20revCell%20%3D%20row.cells%5B0%5D%3B%0A%20%20%20%20%20%20if%20%28revCell%29%20%7B%0A%20%20%20%20%20%20%20%20var%20rev%20%3D%20parseInt%20%28revCell.textContent%29%3B%0A%20%20%20%20%20%20%20%20if%20%28rev%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20var%20titleCell%20%3D%20row.cells%5B2%5D%3B%0A%20%20%20%20%20%20%20%20%20%20if%20%28titleCell%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20title%20%3D%20%27Web%20Applications%201.0%20r%27%20%2B%20rev%20%2B%20%27%20%27%20%2B%20swEscape%20%28titleCell.textContent%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28titleCell%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20var%20m%20%3D%20row.cells%5B3%5D.textContent.match%20%28%2F%5E%28%5B0-9%5D%7B4%7D%29-%28%5B0-9%5D%7B2%7D%29-%28%5B0-9%5D%7B2%7D%29%5Cs%2B%28%5B0-9%5D%7B2%7D%29%3A%28%5B0-9%5D%7B2%7D%29%24%2F%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20%28m%29%20lm%20%3D%20setTimeZoneToUTC%20%28new%20Date%20%28m%5B1%5D%2C%20m%5B2%5D%20-%201%2C%20m%5B3%5D%2C%20m%5B4%5D%2C%20m%5B5%5D%29%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%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0Aif%20%28title%20%3D%3D%20null%20%7C%7C%20title%20%3D%3D%20%27%27%20%7C%7C%0A%20%20%20%20locationHost%20%3D%3D%20%27lists.w3.org%27%29%20%7B%0A%20%20var%20h1El%20%3D%20document.getElementsByTagName%20%28%27h1%27%29%5B0%5D%3B%0A%20%20H1EL%3A%20%7B%0A%20%20%20%20if%20%28h1El%29%20%7B%0A%20%20%20%20%20%20break%20H1EL%3B%0A%20%20%20%20%7D%0A%20%20%20%20var%20fonts%20%3D%20document.getElementsByTagName%20%28%27font%27%29%3B%0A%20%20%20%20fontsLength%20%3D%20fonts.length%3B%0A%20%20%20%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20fontsLength%3B%20i%2B%2B%29%20%7B%0A%20%20%20%20%20%20var%20font%20%3D%20fonts%5Bi%5D%3B%0A%20%20%20%20%20%20if%20%28font.size%20%3D%3D%20%277%27%20%7C%7C%20font.size%20%3D%3D%20%27%2B4%27%29%20%7B%0A%20%20%20%20%20%20%20%20h1El%20%3D%20font%3B%0A%20%20%20%20%20%20%20%20break%20H1EL%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%20%2F%2F%20H1EL%0A%20%20if%20%28h1El%29%20%7B%0A%20%20%20%20title%20%3D%20swEscape%20%28h1El.textContent%29%3B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28h1El%29%3B%0A%20%20%7D%20else%20%7B%0A%20%20%20%20title%20%3D%20title%20%3D%3D%20null%20%3F%20%27%27%20%3A%20title%3B%0A%20%20%7D%0A%7D%20else%20%7B%0A%20%20title%20%3D%20swEscape%20%28title%29%3B%0A%20%20var%20titleEl%20%3D%20document.getElementsByTagName%20%28%27title%27%29%5B0%5D%3B%0A%20%20if%20%28titleEl%29%20%7B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28titleEl%29%3B%0A%20%20%7D%0A%7D%0Aif%20%28titleLang%20!%3D%20%27%27%29%20%7B%0A%20%20titleLang%20%3D%20%27%40%27%20%2B%20titleLang%3B%0A%7D%0A%0Aif%20%28locationHost%20%3D%3D%20%27permalink.gmane.org%27%29%20%7B%0A%20%20var%20o1El%20%3D%20document.getElementById%20%28%27o1%27%29%3B%0A%20%20if%20%28o1El%29%20%7B%0A%20%20%20%20var%20o1Prop%20%3D%20%7B%7D%3B%0A%20%20%20%20o1El.textContent.split%20%28%22%5Cn%22%29.forEach%20%28function%20%28s%29%20%7B%0A%20%20%20%20%20%20var%20nv%20%3D%20s.split%20%28%27%3A%20%27%2C%202%29%3B%0A%20%20%20%20%20%20if%20%28nv%5B1%5D%29%20%7B%0A%20%20%20%20%20%20%20%20o1Prop%5Bnv%5B0%5D.toLowerCase%20%28%29%5D%20%3D%20nv%5B1%5D%3B%0A%20%20%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20if%20%28!o1Prop.from%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20o1Prop.from%20%3D%20s%3B%0A%20%20%20%20%20%20%20%20%7D%20else%20if%20%28!o1Prop.date%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20o1Prop.date%20%3D%20s%3B%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%29%3B%0A%20%20%20%20if%20%28o1Prop.from%29%20%7B%0A%20%20%20%20%20%20documentAuthor%20%3D%20o1Prop.from.replace%20%28%2F%5Cs*%3C%5B%5E%3C%3E%5D%2B%3Cat%3E%5B%5E%3C%3E%5D%2B%3E%5Cs*%24%2F%2C%20%27%27%29%3B%0A%20%20%20%20%7D%0A%20%20%20%20if%20%28o1Prop.date%29%20%7B%0A%20%20%20%20%20%20var%20m%3B%0A%20%20%20%20%20%20if%20%28m%20%3D%20o1Prop.date.match%20%28%2F%5E%28%5Cd%2B%29-%28%5Cd%2B%29-%28%5Cd%2B%29%5Cs%2B%28%5Cd%2B%29%3A%28%5Cd%2B%29%3A%28%5Cd%2B%29%5Cs%2BGMT%24%2F%29%29%20%7B%0A%20%20%20%20%20%20%20%20lm%20%3D%20setTimeZoneToUTC%20%28new%20Date%20%28m%5B1%5D%2C%20m%5B2%5D%20-%201%2C%20m%5B3%5D%2C%20m%5B4%5D%2C%20m%5B5%5D%2C%20m%5B6%5D%29%29%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%20else%20if%20%28locationHost%20%3D%3D%20%27lists.w3.org%27%29%20%7B%0A%20%20if%20%28documentAuthor%20!%3D%20null%29%20%7B%0A%20%20%20%20documentAuthor%0A%20%20%20%20%20%20%20%20%3D%20documentAuthor.replace%20%28%2F%5Cs%2B%5C%28%5B%5E%28%29%5D%2B%5C%29%24%2F%2C%20%27%27%29%3B%0A%20%20%7D%0A%20%20var%20dateEl%20%3D%20document.getElementById%20%28%27date%27%29%3B%0A%20%20if%20%28dateEl%29%20%7B%0A%20%20%20%20var%20m%20%3D%20dateEl.textContent%0A%20%20%20%20%20%20%20%20.replace%20%28%2F%5EDate%3A%5Cs%2B%2F%2C%20%27%27%29%3B%0A%20%20%20%20lm%20%3D%20new%20Date%20%28m%29%3B%0A%20%20%7D%0A%7D%20else%20if%20%28locationHost%20%3D%3D%20%27listserv.heanet.ie%27%29%20%7B%0A%20%20var%20docText%20%3D%20document.documentElement.textContent%3B%0A%20%20var%20m%3B%0A%20%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbSubject%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20%20%20%20title%20%3D%20swEscape%20%28m%5B1%5D%29%3B%0A%20%20%20%20titleLang%20%3D%20%27%40en%27%3B%0A%20%20%7D%0A%20%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbFrom%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20%20%20%20var%20documentAuthor%20%3D%20m%5B1%5D%3B%0A%20%20%20%20if%20%28m%20%3D%20documentAuthor.match%0A%20%20%20%20%20%20%20%20%28%2F%5E%5C%5Blog%20in%20to%20unmask%5C%5D%5Cs*%5C%28%28%5B%5E%28%29%5D%2B%29%5C%29%24%2F%29%29%20%7B%0A%20%20%20%20%20%20documentAuthor%20%3D%20m%5B1%5D%3B%0A%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20documentAuthor%20%3D%20documentAuthor.replace%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%28%2F%5Cs*%3C%5C%5Blog%20in%20to%20unmask%5C%5D%3E%2F%2C%20%27%27%29%0A%20%20%20%20%20%20%20%20%20%20.replace%20%28%2F%22%2Fg%2C%20%27%27%29%0A%20%20%20%20%20%20%20%20%20%20.replace%20%28%2F%5C%5Blog%20in%20to%20unmask%5C%5D%2F%2C%20%27%27%29%3B%0A%20%20%20%20%7D%0A%20%20%20%20if%20%28!documentAuthor%29%20documentAuthor%20%3D%20null%3B%0A%20%20%7D%0A%20%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbDate%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20%20%20%20if%20%28m%20%3D%20m%5B1%5D.match%20%28%2F%5E%5BA-Za-z%5D%2B%2C%20%28%5Cd%2B%29%20%28%5CS%2B%29%20%28%5Cd%2B%20%5Cd%2B%3A%5Cd%2B%3A%5Cd%2B%20E%5BSD%5DT%29%24%2F%29%29%20%7B%0A%20%20%20%20%20%20lm%20%3D%20new%20Date%20%28m%5B2%5D%20%2B%20%27%20%27%20%2B%20m%5B1%5D%20%2B%20%27%2C%20%27%20%2B%20m%5B3%5D%29%3B%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0Aif%20%28lm%20!%3D%20null%20%26%26%20lm%20!%3D%20%27%27%29%20%7B%0A%20%20lm%20%3D%20new%20Date%20%28lm%29%3B%0A%7D%20else%20%7B%0A%20%20lm%20%3D%20null%3B%0A%7D%0Aif%20%28lm%20!%3D%20null%29%20%7B%0A%20%20var%20tzo%20%3D%20lm.getTimezoneOffset%20%28%29%3B%0A%20%20lm%20%3D%20%27%5BTIME%5B%27%20%2B%20lm.getFullYear%20%28%29%20%2B%20%27-%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20%28lm.getMonth%20%28%29%20%2B%201%29%29.substr%20%28-2%2C%202%29%20%2B%20%27-%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getDate%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getHours%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getMinutes%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getSeconds%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%20%20%20%20%20%2B%20%28tzo%20%3E%200%20%3F%20%27-%27%20%3A%20%27%2B%27%29%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%2F%2060%29%29.substr%20%28-2%2C%202%29%0A%20%20%20%20%20%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%25%2060%29%29.substr%20%28-2%2C%202%29%0A%20%20%20%20%20%20%2B%20%27%5D%5D%27%3B%0A%7D%0A%0Avar%20credit%20%3D%20%27%27%3B%0Aif%20%28documentAuthor%20!%3D%20null%29%20%7B%0A%20%20credit%20%3D%20%27%20%28%5B%5B%27%20%2B%20swEscape%20%28documentAuthor%29%20%2B%20%27%5D%5D%20%E8%91%97%27%3B%0A%20%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20%20%20%20credit%20%2B%3D%20%27%2C%20%27%20%2B%20lm%20%2B%20%27%20%E7%89%88%29%27%3B%0A%20%20%7D%0A%7D%20else%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20%20credit%20%3D%20%27%20%28%27%20%2B%20lm%20%2B%20%27%20%E7%89%88%29%27%3B%0A%7D%0A%0Avar%20uri%20%3D%20location.href%3B%0A%0Avar%20form%20%3D%20document.createElement%20%28%27form%27%29%3B%0Aform.method%20%3D%20%27post%27%3B%0Aform.acceptCharset%20%3D%20%27utf-8%27%3B%0Aform.lang%20%3D%20%27en%27%3B%0Aform.innerHTML%20%3D%20%27%3Cdiv%20class%3Dsuikawiki-bookmarklet-post%3E%3Cstyle%20scoped%3E.suikawiki-bookmarklet-post%20%7B%20padding%3A%200.3em%200.6em%20%7D%20.suikawiki-bookmarklet-post%20input%3Anot%28%5Btype%3Dcheckbox%5D%29%20%7B%20width%3A%20100%25%20%7D%20.suikawiki-bookmarklet-post%20p%20%7B%20text-align%3A%20left%20%7D%20.suikawiki-bookmarklet-post%20.buttons%20%7B%20margin-top%3A%201em%3B%20text-align%3A%20center%20%7D%20.suikawiki-bookmarklet-post%20h1%20%7B%20background%3A%20none%3B%20padding%3A%200%3B%20font-weight%3A%20bolder%3B%20font-size%3A%20150%25%3B%20text-align%3A%20left%3B%20color%3A%20%23004000%20%7D%20.suikawiki-bookmarklet-post%20%5Bname%3Dtitle-lang%5D%20%7B%20width%3A%205em%20!important%20%7D%20.suikawiki-bookmarklet-post%20button%20%7B%20min-width%3A%206em%20%7D%20.suikawiki-bookmarklet-post%20.ok%20%7B%20font-weight%3A%20bolder%20%7D%20.suikawiki-bookmarklet-post%20.cancel%20%7B%20font-size%3A%20smaller%20%7D%3C%2Fstyle%3E%3Ch1%3E%3Cimg%20src%3D%22http%3A%2F%2Fsuika.fam.cx%2F~wakaba%2F-temp%2F2004%2Fsw%22%20alt%3D%5BSuikaWiki%5D%3E%20Post%20a%20URL%3C%2Fh1%3E%20%3Cp%3E%3Clabel%3EPage%3A%20%3Cinput%20name%3DpageName%20onchange%3D%22%20form%5B%26quot%3Bsubmit-button%26quot%3B%5D.disabled%20%3D%20this.value.length%20%3D%3D%200%20%22%3E%3C%2Flabel%3E%3Cp%3E%3Clabel%3EURL%3A%20%3Cinput%20type%3Durl%20name%3Durl%3E%3C%2Flabel%3E%3Cp%3E%3Clabel%20for%3Dsuikawiki-bookmarklet-post-title%3ETitle%3C%2Flabel%3E%3A%20%28%3Clabel%3ELanguage%3A%20%3Cinput%20name%3Dtitle-lang%3E%3C%2Flabel%3E%29%20%3Cinput%20name%3Dtitle%20id%3Dsuikawiki-bookmarklet-post-title%3E%3Cp%3E%3Clabel%3ECredit%3A%20%3Cinput%20name%3Dcredit%3E%3C%2Flabel%3E%3Cp%3E%3Clabel%3E%3Cinput%20type%3Dcheckbox%20name%3Dredirect%3E%20Open%20the%20posted%20page%3C%2Flabel%3E%3Cp%20class%3Dbuttons%3E%3Cbutton%20type%3Dsubmit%20class%3Dok%20name%3Dsubmit-button%20disabled%3EOK%3C%2Fbutton%3E%20%3Cbutton%20type%3Dbutton%20onclick%3D%22%20form.parentNode.removeChild%20%28form%29%20%22%20class%3Dcancel%3ECancel%3C%2Fbutton%3E%3C%2Fdiv%3E%27%3B%0Aform.url.value%20%3D%20uri%3B%0Aform.elements.title.value%20%3D%20title%3B%0Aform%5B%27title-lang%27%5D.value%20%3D%20titleLang.replace%28%2F%5C%40%2F%2C%20%27%27%29%3B%0Aform.credit.value%20%3D%20credit%3B%0Aform.onsubmit%20%3D%20function%20%28%29%20%7B%0A%20%20if%20%28form.title.length%20%3D%3D%200%29%20return%3B%0A%20%20form.action%20%3D%20%27http%3A%2F%2Fsuika.fam.cx%2F~wakaba%2Fwiki%2Fsw%2Fn%2F%27%20%2B%20encodeURIComponent%20%28form.pageName.value%29.replace%20%28%2F%252F%2Fg%2C%20%27%2B%27%29%20%2B%20%27%3Bposturl%27%3B%0A%20%20setTimeout%20%28function%20%28%29%20%7B%0A%20%20%20%20form.parentNode.removeChild%20%28form%29%3B%0A%20%20%7D%2C%201000%29%3B%0A%7D%3B%0Aform.setAttribute%28%27style%27%2C%20%27display%3A%20block%3B%20position%3A%20fixed%3B%20top%3A%201em%3B%20left%3A%201em%3B%20width%3A%2040em%3B%20min-height%3A%2020em%3B%20background%3A%20white%3B%20color%3A%20black%3B%20border%3A%20gray%201px%20solid%3B%20text-indent%3A%201.5%3B%20z-index%3A%2010000000%27%29%3B%0A%0Adocument.body.appendChild%20%28form%29%3B%0Aform.pageName.focus%20%28%29%3B%0A%0Avoid%20%280%29%3B>
* SuikaWiki に飛ぶ
[106] <javascript:var%20WikiName%3Dprompt%28%27Please%20input%20the%20WikiName%3A%27%2C%27%27%2C%27Jump%20to%20SuikaWiki%27%29%3Bif%28WikiName%29%7Blocation.href%3D%27http%3A%2F%2Fwiki.suikawiki.org%2Fn%2F%27%2BencodeURIComponent%28WikiName%29%7D> [TIME[2014-04-23T07:54:12.000Z]]
** 旧版
[DEL[
- [4] <javascript:var%20WikiName=prompt('Please%20input%20the%20WikiName:',%27%27,'Jump%20to%20SuikaWiki');if(WikiName)%7B_content.location.href='http://suika.fam.cx/%7Ewakaba/-temp/wiki/wiki%3F'+encodeURIComponent(WikiName)%7D>
- [5] ソース:
var WikiName = prompt ('Please input the WikiName:', '', 'Jump to SuikaWiki'); if (WikiName) { _content.location.href = 'http://suika.fam.cx/~wakaba/-temp/wiki/wiki?' + encodeURIComponent(WikiName) }''
- [5] 編集モード <javascript:var%20WikiName=prompt('Please%20input%20the%20WikiName:',%27%27,'Jump%20to%20SuikaWiki');if(WikiName)%7B_content.location.href='http://suika.fam.cx/%7Ewakaba/-temp/wiki/wiki%3Fmycmd=edit;mypage='+encodeURIComponent(WikiName)%7D>
- [6] >>5 ソース:
var WikiName = prompt ('Please input the WikiName:', '', 'Jump to SuikaWiki'); if (WikiName) { _content.location.href = 'http://suika.fam.cx/~wakaba/-temp/wiki/wiki?mycmd=edit;mypage=' + encodeURIComponent(WikiName) }''
- [9] [WEAK[2002-12-17 (火) 20:36]] ''[[わかば]]'': SuikaWiki に組み込みました。 Mozilla では More->jump->* (深いところに出てくるのが難点)
- [10] [WEAK[2002-12-17 (火) 20:38]] ''9'': ''More'' は Site Navigation Bar にあります。
- [11] 選択文字列を WikiName として、 SuikaWiki に飛ぶ。選択がなければ聞く。 <javascript:var%20wikiName=window.getSelection();if(wikiName+%27%27==%27%27)%7BwikiName=prompt(%27Please%20input%20the%20WikiName:%27,%27%27,%27Jump%20to%20SuikaWiki%27)%7Dif(wikiName)%7B_content.location.href=%27http://suika.fam.cx/%7Ewakaba/-temp/wiki/wiki%3F%27+encodeURIComponent(wikiName)%7D>
- [35] Mozilla 1.3b にしたら一々不要な画面表示が出るようになったので修正。
半ソース <javascript:function%20a(){var%20wikiName=window.getSelection();if(wikiName+%27%27==%27%27)%7BwikiName=prompt(%27Please%20input%20the%20WikiName:%27,%27%27,%27Jump%20to%20SuikaWiki%27)%7Dif(wikiName)%7B_content.location.href=%27http://localhost:8080/~wakaba/suikawiki/wiki%3F%27+encodeURIComponent(wikiName)%7D}a()>
[41]
文字化け対策版
<javascript:var%20WikiName=prompt('Please%20input%20the%20WikiName:','','Jump%20to%20SuikaWiki');if(WikiName)%7B_content.location.href='http://suika.fam.cx/~wakaba/-temp/wiki/wiki%3F_charset_=utf-8;mypage='+encodeURIComponent(WikiName)%7D>
([[名無しさん]] [WEAK[2005-06-02 01:30:53 +00:00]])
]DEL]
[103] [[WebKit]] 対応
<javascript:var%20WikiName=prompt('Please%20input%20the%20WikiName:','','Jump%20to%20SuikaWiki');if(WikiName)%7Blocation.href='http://suika.fam.cx/~wakaba/-temp/wiki/wiki%3F_charset_=utf-8;mypage='+encodeURIComponent(WikiName)%7D>
[TIME[2011-11-15T13:53:46.300Z]]
* 表示中の頁の題名と URI
- [8] 参照を Wiki に張るのに便利。
-- <javascript:if(prompt(%27%27,%22%27%27%22+_content.document.title+%22%27%27%20%3C%22+_content.location.href+'%3E'))%7B%7D>
-- ソース: javascript:if (prompt('', "''" + _content.document.title + "'' <" + _content.location.href + '>')) {}''
[40]
>>8 [[SuikaWiki/0.10]] の [CODE[CITE]] 要素型を使うように、それから [CODE(HTMLe)[[[title]]]] がなくても [CODE(HTMLe)[[[h1]]]] があればそれを使うようにしてみました。
半ソース:
<javascript:if(prompt(%27%27,%22[CITE[%22+(_content.document.title?_content.document.title:_content.document.getElementsByTagName(%22h1%22)[0]?_content.document.getElementsByTagName(%22h1%22)[0].textContent:%22%22)+%22]]%20%3C%22+_content.location.href+'%3E'))%7B%7D>
([[名無しさん]] [WEAK[2004-09-11 10:17:34 +00:00]])
[56]
表示中の [[HTML文書]]の題名と [[URI]]
を[[複写]]する ([[SuikaWiki]] 用)。
<javascript:%0A%0Afunction%20getElementLanguage%20%28el%29%20%7B%0A%20%20var%20xmlNS%20%3D%20%27http%3A%2F%2Fwww.w3.org%2FXML%2F1998%2Fnamespace%27%3B%0A%20%20while%20%28el%20!%3D%20null%29%20%7B%0A%20%20%20%20if%20%28el.nodeType%20%3D%3D%20el.ELEMENT_NODE%29%20%7B%0A%20%20%20%20%20%20if%20%28el.hasAttributeNS%20%28xmlNS%2C%20%27lang%27%29%29%20%7B%0A%20%20%20%20%20%20%20%20return%20el.getAttributeNS%20%28xmlNS%2C%20%27lang%27%29%3B%0A%20%20%20%20%20%20%7D%20else%20if%20%28%28el.namespaceURI%20%3D%3D%20null%20%7C%7C%0A%20%20%20%20%20%20%20%20%20%20el.namespaceURI%20%3D%3D%20%27http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%27%29%20%26%26%0A%20%20%20%20%20%20%20%20%20%20el.hasAttributeNS%20%28null%2C%20%27lang%27%29%29%20%7B%0A%20%20%20%20%20%20%20%20return%20el.getAttributeNS%20%28null%2C%20%27lang%27%29%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%20%20el%20%3D%20el.parentNode%3B%0A%20%20%7D%0A%20%20%2F*%20NOTE%3A%20%7CContent-Language%7C%20is%20not%20supported%0A%20%20%20%20%20%20since%20DOM%20provides%20no%20access%20to%20HTTP%0A%20%20%20%20%20%20header%20fields.%20%20Note%20also%20that%20%0A%20%20%20%20%20%20%7Chttp-equiv%3DContent-Langauge%7C%20is%20not%20supported.%20*%2F%0A%20%20return%20%27%27%3B%0A%7D%20%2F%2F%20getElementLanguage%0A%0Avar%20title%20%3D%20document.title%3B%0Avar%20titleLang%20%3D%20%27%27%3B%0Aif%20%28title%20%3D%3D%20null%20%7C%7C%20title%20%3D%3D%20%27%27%29%20%7B%0A%20%20var%20h1El%20%3D%20document.getElementsByTagName%20%28%27h1%27%29%5B0%5D%3B%0A%20%20if%20%28h1El%29%20%7B%0A%20%20%20%20title%20%3D%20h1El.textContent%3B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28h1El%29%3B%0A%20%20%7D%20else%20%7B%0A%20%20%20%20title%20%3D%20%27%27%3B%0A%20%20%7D%0A%7D%20else%20%7B%0A%20%20var%20titleEl%20%3D%20document.getElementsByTagName%20%28%27title%27%29%5B0%5D%3B%0A%20%20if%20%28titleEl%29%20%7B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28titleEl%29%3B%0A%20%20%7D%0A%7D%0A%0Avar%20uri%20%3D%20location.href%3B%0A%0Avoid%20%28prompt%20%28%27%27%2C%20%27%5BCITE%40%27%20%2B%20titleLang%2B%20%27%5B%27%20%2B%20title%20%2B%20%27%5D%5D%20%3C%27%20%2B%0A%20%20%20%20uri%20%2B%20%27%3E%27%29%29%3B%0A>
>>8 の改訂版。 [CODE(HTMLa)@en[[[lang]]]] や
[CODE(XMLa)@en[[[xml]]:[[lang]]]]
が指定されていればそれを保存するように。
([[名無しさん]] [WEAK[2006-12-23 15:35:37 +00:00]])
[57]
<javascript:%0A%0Avar%20documentLanguage%20%3D%20null%3B%0Avar%20documentAuthor%20%3D%20null%3B%0Afunction%20scanMeta%20%28%29%20%7B%0A%20%20var%20metas%20%3D%20document.getElementsByTagName%20%28%27meta%27%29%3B%0A%20%20var%20metasLength%20%3D%20metas.length%3B%0A%20%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20metasLength%3B%20i%2B%2B%29%20%7B%0A%20%20%20%20var%20meta%20%3D%20metas%5Bi%5D%3B%0A%20%20%20%20var%20metaFieldName%20%3D%20meta.httpEquiv.toLowerCase%20%28%29%3B%0A%20%20%20%20if%20%28metaFieldName%20%3D%3D%20%27content-language%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentLanguage%20%3D%20meta.content.split%20%28%2F%5Cs*%2C%5Cs*%2F%29%5B0%5D%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%0A%20%20%20%20var%20metaName%20%3D%20meta.name.toLowerCase%20%28%29%3B%0A%20%20%20%20if%20%28metaName%20%3D%3D%20%27author%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentAuthor%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentAuthor%20%3D%20meta.content%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%20else%20if%20%28metaName%20%3D%3D%20%27ms.locale%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentLanguage%20%3D%20meta.content%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%20%2F%2F%20scanMeta%0A%0Afunction%20getElementLanguage%20%28el%29%20%7B%0A%20%20var%20xmlNS%20%3D%20%27http%3A%2F%2Fwww.w3.org%2FXML%2F1998%2Fnamespace%27%3B%0A%20%20while%20%28el%20!%3D%20null%29%20%7B%0A%20%20%20%20if%20%28el.nodeType%20%3D%3D%20el.ELEMENT_NODE%29%20%7B%0A%20%20%20%20%20%20if%20%28el.hasAttributeNS%20%28xmlNS%2C%20%27lang%27%29%29%20%7B%0A%20%20%20%20%20%20%20%20return%20el.getAttributeNS%20%28xmlNS%2C%20%27lang%27%29%3B%0A%20%20%20%20%20%20%7D%20else%20if%20%28%28el.namespaceURI%20%3D%3D%20null%20%7C%7C%0A%20%20%20%20%20%20%20%20%20%20el.namespaceURI%20%3D%3D%20%27http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%27%29%20%26%26%0A%20%20%20%20%20%20%20%20%20%20el.hasAttributeNS%20%28null%2C%20%27lang%27%29%29%20%7B%0A%20%20%20%20%20%20%20%20return%20el.getAttributeNS%20%28null%2C%20%27lang%27%29%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%20%20el%20%3D%20el.parentNode%3B%0A%20%20%7D%0A%0A%20%20%2F*%20NOTE%3A%20%7CContent-Language%7C%20is%20not%20supported%0A%20%20%20%20%20%20since%20DOM%20provides%20no%20access%20to%20HTTP%0A%20%20%20%20%20%20header%20fields.%20*%2F%0A%20%20return%20documentLanguage%3B%0A%7D%20%2F%2F%20getElementLanguage%0A%0AscanMeta%20%28%29%3B%0A%0Avar%20title%20%3D%20document.title%3B%0Avar%20titleLang%20%3D%20%27%27%3B%0Aif%20%28title%20%3D%3D%20null%20%7C%7C%20title%20%3D%3D%20%27%27%29%20%7B%0A%20%20var%20h1El%20%3D%20document.getElementsByTagName%20%28%27h1%27%29%5B0%5D%3B%0A%20%20if%20%28h1El%29%20%7B%0A%20%20%20%20title%20%3D%20h1El.textContent%3B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28h1El%29%3B%0A%20%20%7D%20else%20%7B%0A%20%20%20%20title%20%3D%20%27%27%3B%0A%20%20%7D%0A%7D%20else%20%7B%0A%20%20var%20titleEl%20%3D%20document.getElementsByTagName%20%28%27title%27%29%5B0%5D%3B%0A%20%20if%20%28titleEl%29%20%7B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28titleEl%29%3B%0A%20%20%7D%0A%7D%0A%0Avar%20lm%20%3D%20document.lastModified%3B%0Aif%20%28lm%20!%3D%20null%20%26%26%20lm%20!%3D%20%27%27%29%20%7B%0A%20%20lm%20%3D%20new%20Date%20%28lm%29%3B%0A%7D%20else%20%7B%0A%20%20lm%20%3D%20null%3B%0A%7D%0Aif%20%28lm%20!%3D%20null%29%20%7B%0A%20%20var%20tzo%20%3D%20lm.getTimezoneOffset%20%28%29%3B%0A%20%20lm%20%3D%20%27%5BTIME%5B%27%20%2B%20lm.getFullYear%20%28%29%20%2B%20%27-%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getMonth%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27-%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getDate%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getHours%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getMinutes%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getSeconds%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%20%20%20%20%20%2B%20%28tzo%20%3E%200%20%3F%20%27-%27%20%3A%20%27%2B%27%29%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%2F%2060%29%29.substr%20%28-2%2C%202%29%0A%20%20%20%20%20%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%25%2060%29%29.substr%20%28-2%2C%202%29%0A%20%20%20%20%20%20%2B%20%27%5D%5D%27%3B%0A%7D%0A%0Avar%20credit%20%3D%20%27%27%3B%0Aif%20%28documentAuthor%20!%3D%20null%29%20%7B%0A%20%20credit%20%3D%20%27%20%28%5B%5B%27%20%2B%20documentAuthor%20%2B%20%27%5D%5D%20%E8%91%97%27%3B%0A%20%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20%20%20%20credit%20%2B%3D%20%27%2C%20%27%20%2B%20lm%20%2B%20%27%20%E4%BB%98%E3%81%91%29%27%3B%0A%20%20%7D%0A%7D%20else%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20%20credit%20%3D%20%27%20%28%27%20%2B%20lm%20%2B%20%27%20%E4%BB%98%E3%81%91%29%27%3B%0A%7D%0A%0Avar%20uri%20%3D%20location.href%3B%0A%0Avoid%20%28prompt%20%28%27%27%2C%20%27%5BCITE%40%27%20%2B%20titleLang%2B%20%27%5B%27%20%2B%20title%20%2B%20%27%5D%5D%27%0A%20%20%20%20%2B%20credit%20%2B%20%27%20%3C%27%20%2B%0A%20%20%20%20uri%20%2B%20%27%3E%27%29%29%3B%0A%0A>
>>56 の改訂版。[[著者]]名や更新日がわかればつけるように。
([[名無しさん]] [WEAK[2006-12-24 03:34:00 +00:00]])
[58]
<javascript:%0A%0Avar%20documentLanguage%20%3D%20null%3B%0Avar%20documentAuthor%20%3D%20null%3B%0Afunction%20scanMeta%20%28%29%20%7B%0A%20%20var%20metas%20%3D%20document.getElementsByTagName%20%28%27meta%27%29%3B%0A%20%20var%20metasLength%20%3D%20metas.length%3B%0A%20%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20metasLength%3B%20i%2B%2B%29%20%7B%0A%20%20%20%20var%20meta%20%3D%20metas%5Bi%5D%3B%0A%20%20%20%20var%20metaFieldName%20%3D%20meta.httpEquiv.toLowerCase%20%28%29%3B%0A%20%20%20%20if%20%28metaFieldName%20%3D%3D%20%27content-language%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentLanguage%20%3D%20meta.content.split%20%28%2F%5Cs*%2C%5Cs*%2F%29%5B0%5D%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%0A%20%20%20%20var%20metaName%20%3D%20meta.name.toLowerCase%20%28%29%3B%0A%20%20%20%20if%20%28metaName%20%3D%3D%20%27author%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentAuthor%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentAuthor%20%3D%20meta.content%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%20else%20if%20%28metaName%20%3D%3D%20%27ms.locale%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentLanguage%20%3D%20meta.content%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%20%2F%2F%20scanMeta%0A%0Afunction%20getElementLanguage%20%28el%29%20%7B%0A%20%20var%20xmlNS%20%3D%20%27http%3A%2F%2Fwww.w3.org%2FXML%2F1998%2Fnamespace%27%3B%0A%20%20while%20%28el%20!%3D%20null%29%20%7B%0A%20%20%20%20if%20%28el.nodeType%20%3D%3D%20el.ELEMENT_NODE%29%20%7B%0A%20%20%20%20%20%20if%20%28el.hasAttributeNS%20%28xmlNS%2C%20%27lang%27%29%29%20%7B%0A%20%20%20%20%20%20%20%20return%20el.getAttributeNS%20%28xmlNS%2C%20%27lang%27%29%3B%0A%20%20%20%20%20%20%7D%20else%20if%20%28%28el.namespaceURI%20%3D%3D%20null%20%7C%7C%0A%20%20%20%20%20%20%20%20%20%20el.namespaceURI%20%3D%3D%20%27http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%27%29%20%26%26%0A%20%20%20%20%20%20%20%20%20%20el.hasAttributeNS%20%28null%2C%20%27lang%27%29%29%20%7B%0A%20%20%20%20%20%20%20%20return%20el.getAttributeNS%20%28null%2C%20%27lang%27%29%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%20%20el%20%3D%20el.parentNode%3B%0A%20%20%7D%0A%0A%20%20%2F*%20NOTE%3A%20%7CContent-Language%7C%20is%20not%20supported%0A%20%20%20%20%20%20since%20DOM%20provides%20no%20access%20to%20HTTP%0A%20%20%20%20%20%20header%20fields.%20*%2F%0A%20%20return%20documentLanguage%20!%3D%20null%20%3F%20documentLanguage%20%3A%20%27%27%3B%0A%7D%20%2F%2F%20getElementLanguage%0A%0AscanMeta%20%28%29%3B%0A%0Avar%20title%20%3D%20document.title%3B%0Avar%20titleLang%20%3D%20%27%27%3B%0Aif%20%28title%20%3D%3D%20null%20%7C%7C%20title%20%3D%3D%20%27%27%29%20%7B%0A%20%20var%20h1El%20%3D%20document.getElementsByTagName%20%28%27h1%27%29%5B0%5D%3B%0A%20%20if%20%28h1El%29%20%7B%0A%20%20%20%20title%20%3D%20h1El.textContent%3B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28h1El%29%3B%0A%20%20%7D%20else%20%7B%0A%20%20%20%20title%20%3D%20%27%27%3B%0A%20%20%7D%0A%7D%20else%20%7B%0A%20%20var%20titleEl%20%3D%20document.getElementsByTagName%20%28%27title%27%29%5B0%5D%3B%0A%20%20if%20%28titleEl%29%20%7B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28titleEl%29%3B%0A%20%20%7D%0A%7D%0A%0Avar%20lm%20%3D%20document.lastModified%3B%0Aif%20%28lm%20!%3D%20null%20%26%26%20lm%20!%3D%20%27%27%29%20%7B%0A%20%20lm%20%3D%20new%20Date%20%28lm%29%3B%0A%7D%20else%20%7B%0A%20%20lm%20%3D%20null%3B%0A%7D%0Aif%20%28lm%20!%3D%20null%29%20%7B%0A%20%20var%20tzo%20%3D%20lm.getTimezoneOffset%20%28%29%3B%0A%20%20lm%20%3D%20%27%5BTIME%5B%27%20%2B%20lm.getFullYear%20%28%29%20%2B%20%27-%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getMonth%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27-%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getDate%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getHours%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getMinutes%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getSeconds%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%20%20%20%20%20%2B%20%28tzo%20%3E%200%20%3F%20%27-%27%20%3A%20%27%2B%27%29%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%2F%2060%29%29.substr%20%28-2%2C%202%29%0A%20%20%20%20%20%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%25%2060%29%29.substr%20%28-2%2C%202%29%0A%20%20%20%20%20%20%2B%20%27%5D%5D%27%3B%0A%7D%0A%0Avar%20credit%20%3D%20%27%27%3B%0Aif%20%28documentAuthor%20!%3D%20null%29%20%7B%0A%20%20credit%20%3D%20%27%20%28%5B%5B%27%20%2B%20documentAuthor%20%2B%20%27%5D%5D%20%E8%91%97%27%3B%0A%20%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20%20%20%20credit%20%2B%3D%20%27%2C%20%27%20%2B%20lm%20%2B%20%27%20%E4%BB%98%E3%81%91%29%27%3B%0A%20%20%7D%0A%7D%20else%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20%20credit%20%3D%20%27%20%28%27%20%2B%20lm%20%2B%20%27%20%E4%BB%98%E3%81%91%29%27%3B%0A%7D%0A%0Avar%20uri%20%3D%20location.href%3B%0A%0Avoid%20%28prompt%20%28%27%27%2C%20%27%5BCITE%40%27%20%2B%20titleLang%2B%20%27%5B%27%20%2B%20title%20%2B%20%27%5D%5D%27%0A%20%20%20%20%2B%20credit%20%2B%20%27%20%3C%27%20%2B%0A%20%20%20%20uri%20%2B%20%27%3E%27%29%29%3B%0A%0A%0A>
>>57 の、[[言語]]が指定されていないと [Q@en[[[null]]]]
になってしまう不具合を修正。
([[名無しさん]] [WEAK[2006-12-24 06:41:54 +00:00]])
[59]
>>58 題名に [ や ] が入っていたら ' ×3 で括るように。
<javascript:%0A%0Afunction%20swEscape%20%28s%29%20%7B%0A%20%20return%20s.replace%20%28%2F%5C%5B%2F%2C%20%22%27%27%27%5B%27%27%27%22%29.replace%20%28%2F%5C%5D%2F%2C%20%22%27%27%27%5D%27%27%27%22%29%3B%0A%7D%20%2F%2F%20swEscape%0A%0Avar%20documentLanguage%20%3D%20null%3B%0Avar%20documentAuthor%20%3D%20null%3B%0Afunction%20scanMeta%20%28%29%20%7B%0A%20%20var%20metas%20%3D%20document.getElementsByTagName%20%28%27meta%27%29%3B%0A%20%20var%20metasLength%20%3D%20metas.length%3B%0A%20%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20metasLength%3B%20i%2B%2B%29%20%7B%0A%20%20%20%20var%20meta%20%3D%20metas%5Bi%5D%3B%0A%20%20%20%20var%20metaFieldName%20%3D%20meta.httpEquiv.toLowerCase%20%28%29%3B%0A%20%20%20%20if%20%28metaFieldName%20%3D%3D%20%27content-language%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentLanguage%20%3D%20meta.content.split%20%28%2F%5Cs*%2C%5Cs*%2F%29%5B0%5D%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%0A%20%20%20%20var%20metaName%20%3D%20meta.name.toLowerCase%20%28%29%3B%0A%20%20%20%20if%20%28metaName%20%3D%3D%20%27author%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentAuthor%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentAuthor%20%3D%20meta.content%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%20else%20if%20%28metaName%20%3D%3D%20%27ms.locale%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentLanguage%20%3D%20meta.content%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%20%2F%2F%20scanMeta%0A%0Afunction%20getElementLanguage%20%28el%29%20%7B%0A%20%20var%20xmlNS%20%3D%20%27http%3A%2F%2Fwww.w3.org%2FXML%2F1998%2Fnamespace%27%3B%0A%20%20while%20%28el%20!%3D%20null%29%20%7B%0A%20%20%20%20if%20%28el.nodeType%20%3D%3D%20el.ELEMENT_NODE%29%20%7B%0A%20%20%20%20%20%20if%20%28el.hasAttributeNS%20%28xmlNS%2C%20%27lang%27%29%29%20%7B%0A%20%20%20%20%20%20%20%20return%20el.getAttributeNS%20%28xmlNS%2C%20%27lang%27%29%3B%0A%20%20%20%20%20%20%7D%20else%20if%20%28%28el.namespaceURI%20%3D%3D%20null%20%7C%7C%0A%20%20%20%20%20%20%20%20%20%20el.namespaceURI%20%3D%3D%20%27http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%27%29%20%26%26%0A%20%20%20%20%20%20%20%20%20%20el.hasAttributeNS%20%28null%2C%20%27lang%27%29%29%20%7B%0A%20%20%20%20%20%20%20%20return%20el.getAttributeNS%20%28null%2C%20%27lang%27%29%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%20%20el%20%3D%20el.parentNode%3B%0A%20%20%7D%0A%0A%20%20%2F*%20NOTE%3A%20%7CContent-Language%7C%20is%20not%20supported%0A%20%20%20%20%20%20since%20DOM%20provides%20no%20access%20to%20HTTP%0A%20%20%20%20%20%20header%20fields.%20*%2F%0A%20%20return%20documentLanguage%20!%3D%20null%20%3F%20documentLanguage%20%3A%20%27%27%3B%0A%7D%20%2F%2F%20getElementLanguage%0A%0AscanMeta%20%28%29%3B%0A%0Avar%20title%20%3D%20document.title%3B%0Avar%20titleLang%20%3D%20%27%27%3B%0Aif%20%28title%20%3D%3D%20null%20%7C%7C%20title%20%3D%3D%20%27%27%29%20%7B%0A%20%20var%20h1El%20%3D%20document.getElementsByTagName%20%28%27h1%27%29%5B0%5D%3B%0A%20%20if%20%28h1El%29%20%7B%0A%20%20%20%20title%20%3D%20swEscape%20%28h1El.textContent%29%3B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28h1El%29%3B%0A%20%20%7D%20else%20%7B%0A%20%20%20%20title%20%3D%20%27%27%3B%0A%20%20%7D%0A%7D%20else%20%7B%0A%20%20title%20%3D%20swEscape%20%28title%29%3B%0A%20%20var%20titleEl%20%3D%20document.getElementsByTagName%20%28%27title%27%29%5B0%5D%3B%0A%20%20if%20%28titleEl%29%20%7B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28titleEl%29%3B%0A%20%20%7D%0A%7D%0A%0Avar%20lm%20%3D%20document.lastModified%3B%0Aif%20%28lm%20!%3D%20null%20%26%26%20lm%20!%3D%20%27%27%29%20%7B%0A%20%20lm%20%3D%20new%20Date%20%28lm%29%3B%0A%7D%20else%20%7B%0A%20%20lm%20%3D%20null%3B%0A%7D%0Aif%20%28lm%20!%3D%20null%29%20%7B%0A%20%20var%20tzo%20%3D%20lm.getTimezoneOffset%20%28%29%3B%0A%20%20lm%20%3D%20%27%5BTIME%5B%27%20%2B%20lm.getFullYear%20%28%29%20%2B%20%27-%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getMonth%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27-%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getDate%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getHours%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getMinutes%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getSeconds%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%20%20%20%20%20%2B%20%28tzo%20%3E%200%20%3F%20%27-%27%20%3A%20%27%2B%27%29%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%2F%2060%29%29.substr%20%28-2%2C%202%29%0A%20%20%20%20%20%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%25%2060%29%29.substr%20%28-2%2C%202%29%0A%20%20%20%20%20%20%2B%20%27%5D%5D%27%3B%0A%7D%0A%0Avar%20credit%20%3D%20%27%27%3B%0Aif%20%28documentAuthor%20!%3D%20null%29%20%7B%0A%20%20credit%20%3D%20%27%20%28%5B%5B%27%20%2B%20swEscape%20%28documentAuthor%29%20%2B%20%27%5D%5D%20%E8%91%97%27%3B%0A%20%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20%20%20%20credit%20%2B%3D%20%27%2C%20%27%20%2B%20lm%20%2B%20%27%20%E4%BB%98%E3%81%91%29%27%3B%0A%20%20%7D%0A%7D%20else%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20%20credit%20%3D%20%27%20%28%27%20%2B%20lm%20%2B%20%27%20%E4%BB%98%E3%81%91%29%27%3B%0A%7D%0A%0Avar%20uri%20%3D%20location.href%3B%0A%0Avoid%20%28prompt%20%28%27%27%2C%20%27%5BCITE%40%27%20%2B%20titleLang%2B%20%27%5B%27%20%2B%20title%20%2B%20%27%5D%5D%27%0A%20%20%20%20%2B%20credit%20%2B%20%27%20%3C%27%20%2B%0A%20%20%20%20uri%20%2B%20%27%3E%27%29%29%3B%0A%0A%0A>
([[名無しさん]] [WEAK[2006-12-24 06:49:53 +00:00]])
[60]
>>59 [CODE(DOM)@en[[[document]].[[lastModified]]]]
が [CODE(HTTP)@en[[[Last-Modified]]:]] とは限らないので、
文言を少し修正。
<javascript:%0A%0Afunction%20swEscape%20%28s%29%20%7B%0A%20%20return%20s.replace%20%28%2F%5C%5B%2F%2C%20%22%27%27%27%5B%27%27%27%22%29.replace%20%28%2F%5C%5D%2F%2C%20%22%27%27%27%5D%27%27%27%22%29%3B%0A%7D%20%2F%2F%20swEscape%0A%0Avar%20documentLanguage%20%3D%20null%3B%0Avar%20documentAuthor%20%3D%20null%3B%0Afunction%20scanMeta%20%28%29%20%7B%0A%20%20var%20metas%20%3D%20document.getElementsByTagName%20%28%27meta%27%29%3B%0A%20%20var%20metasLength%20%3D%20metas.length%3B%0A%20%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20metasLength%3B%20i%2B%2B%29%20%7B%0A%20%20%20%20var%20meta%20%3D%20metas%5Bi%5D%3B%0A%20%20%20%20var%20metaFieldName%20%3D%20meta.httpEquiv.toLowerCase%20%28%29%3B%0A%20%20%20%20if%20%28metaFieldName%20%3D%3D%20%27content-language%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentLanguage%20%3D%20meta.content.split%20%28%2F%5Cs*%2C%5Cs*%2F%29%5B0%5D%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%0A%20%20%20%20var%20metaName%20%3D%20meta.name.toLowerCase%20%28%29%3B%0A%20%20%20%20if%20%28metaName%20%3D%3D%20%27author%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentAuthor%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentAuthor%20%3D%20meta.content%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%20else%20if%20%28metaName%20%3D%3D%20%27ms.locale%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentLanguage%20%3D%20meta.content%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%20%2F%2F%20scanMeta%0A%0Afunction%20getElementLanguage%20%28el%29%20%7B%0A%20%20var%20xmlNS%20%3D%20%27http%3A%2F%2Fwww.w3.org%2FXML%2F1998%2Fnamespace%27%3B%0A%20%20while%20%28el%20!%3D%20null%29%20%7B%0A%20%20%20%20if%20%28el.nodeType%20%3D%3D%20el.ELEMENT_NODE%29%20%7B%0A%20%20%20%20%20%20if%20%28el.hasAttributeNS%20%28xmlNS%2C%20%27lang%27%29%29%20%7B%0A%20%20%20%20%20%20%20%20return%20el.getAttributeNS%20%28xmlNS%2C%20%27lang%27%29%3B%0A%20%20%20%20%20%20%7D%20else%20if%20%28%28el.namespaceURI%20%3D%3D%20null%20%7C%7C%0A%20%20%20%20%20%20%20%20%20%20el.namespaceURI%20%3D%3D%20%27http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%27%29%20%26%26%0A%20%20%20%20%20%20%20%20%20%20el.hasAttributeNS%20%28null%2C%20%27lang%27%29%29%20%7B%0A%20%20%20%20%20%20%20%20return%20el.getAttributeNS%20%28null%2C%20%27lang%27%29%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%20%20el%20%3D%20el.parentNode%3B%0A%20%20%7D%0A%0A%20%20%2F*%20NOTE%3A%20%7CContent-Language%7C%20is%20not%20supported%0A%20%20%20%20%20%20since%20DOM%20provides%20no%20access%20to%20HTTP%0A%20%20%20%20%20%20header%20fields.%20*%2F%0A%20%20return%20documentLanguage%20!%3D%20null%20%3F%20documentLanguage%20%3A%20%27%27%3B%0A%7D%20%2F%2F%20getElementLanguage%0A%0AscanMeta%20%28%29%3B%0A%0Avar%20title%20%3D%20document.title%3B%0Avar%20titleLang%20%3D%20%27%27%3B%0Aif%20%28title%20%3D%3D%20null%20%7C%7C%20title%20%3D%3D%20%27%27%29%20%7B%0A%20%20var%20h1El%20%3D%20document.getElementsByTagName%20%28%27h1%27%29%5B0%5D%3B%0A%20%20if%20%28h1El%29%20%7B%0A%20%20%20%20title%20%3D%20swEscape%20%28h1El.textContent%29%3B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28h1El%29%3B%0A%20%20%7D%20else%20%7B%0A%20%20%20%20title%20%3D%20%27%27%3B%0A%20%20%7D%0A%7D%20else%20%7B%0A%20%20title%20%3D%20swEscape%20%28title%29%3B%0A%20%20var%20titleEl%20%3D%20document.getElementsByTagName%20%28%27title%27%29%5B0%5D%3B%0A%20%20if%20%28titleEl%29%20%7B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28titleEl%29%3B%0A%20%20%7D%0A%7D%0A%0Avar%20lm%20%3D%20document.lastModified%3B%0Aif%20%28lm%20!%3D%20null%20%26%26%20lm%20!%3D%20%27%27%29%20%7B%0A%20%20lm%20%3D%20new%20Date%20%28lm%29%3B%0A%7D%20else%20%7B%0A%20%20lm%20%3D%20null%3B%0A%7D%0Aif%20%28lm%20!%3D%20null%29%20%7B%0A%20%20var%20tzo%20%3D%20lm.getTimezoneOffset%20%28%29%3B%0A%20%20lm%20%3D%20%27%5BTIME%5B%27%20%2B%20lm.getFullYear%20%28%29%20%2B%20%27-%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getMonth%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27-%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getDate%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getHours%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getMinutes%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getSeconds%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%20%20%20%20%20%2B%20%28tzo%20%3E%200%20%3F%20%27-%27%20%3A%20%27%2B%27%29%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%2F%2060%29%29.substr%20%28-2%2C%202%29%0A%20%20%20%20%20%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%25%2060%29%29.substr%20%28-2%2C%202%29%0A%20%20%20%20%20%20%2B%20%27%5D%5D%27%3B%0A%7D%0A%0Avar%20credit%20%3D%20%27%27%3B%0Aif%20%28documentAuthor%20!%3D%20null%29%20%7B%0A%20%20credit%20%3D%20%27%20%28%5B%5B%27%20%2B%20swEscape%20%28documentAuthor%29%20%2B%20%27%5D%5D%20%E8%91%97%27%3B%0A%20%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20%20%20%20credit%20%2B%3D%20%27%2C%20%27%20%2B%20lm%20%2B%20%27%20%E7%89%88%29%27%3B%0A%20%20%7D%0A%7D%20else%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20%20credit%20%3D%20%27%20%28%27%20%2B%20lm%20%2B%20%27%20%E7%89%88%29%27%3B%0A%7D%0A%0Avar%20uri%20%3D%20location.href%3B%0A%0Avoid%20%28prompt%20%28%27%27%2C%20%27%5BCITE%40%27%20%2B%20titleLang%2B%20%27%5B%27%20%2B%20title%20%2B%20%27%5D%5D%27%0A%20%20%20%20%2B%20credit%20%2B%20%27%20%3C%27%20%2B%0A%20%20%20%20uri%20%2B%20%27%3E%27%29%29%3B%0A%0A%0A>
([[名無しさん]] [WEAK[2006-12-24 07:06:39 +00:00]])
[61]
>>60 [[SuikaWiki/0.10]] では[[言語札]]を[[空文字列]]にできないらしいので修正。
<javascript:%0A%0Afunction%20swEscape%20%28s%29%20%7B%0A%20%20return%20s.replace%20%28%2F%5C%5B%2F%2C%20%22%27%27%27%5B%27%27%27%22%29.replace%20%28%2F%5C%5D%2F%2C%20%22%27%27%27%5D%27%27%27%22%29%3B%0A%7D%20%2F%2F%20swEscape%0A%0Avar%20documentLanguage%20%3D%20null%3B%0Avar%20documentAuthor%20%3D%20null%3B%0Afunction%20scanMeta%20%28%29%20%7B%0A%20%20var%20metas%20%3D%20document.getElementsByTagName%20%28%27meta%27%29%3B%0A%20%20var%20metasLength%20%3D%20metas.length%3B%0A%20%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20metasLength%3B%20i%2B%2B%29%20%7B%0A%20%20%20%20var%20meta%20%3D%20metas%5Bi%5D%3B%0A%20%20%20%20var%20metaFieldName%20%3D%20meta.httpEquiv.toLowerCase%20%28%29%3B%0A%20%20%20%20if%20%28metaFieldName%20%3D%3D%20%27content-language%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentLanguage%20%3D%20meta.content.split%20%28%2F%5Cs*%2C%5Cs*%2F%29%5B0%5D%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%0A%20%20%20%20var%20metaName%20%3D%20meta.name.toLowerCase%20%28%29%3B%0A%20%20%20%20if%20%28metaName%20%3D%3D%20%27author%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentAuthor%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentAuthor%20%3D%20meta.content%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%20else%20if%20%28metaName%20%3D%3D%20%27ms.locale%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentLanguage%20%3D%20meta.content%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%20%2F%2F%20scanMeta%0A%0Afunction%20getElementLanguage%20%28el%29%20%7B%0A%20%20var%20xmlNS%20%3D%20%27http%3A%2F%2Fwww.w3.org%2FXML%2F1998%2Fnamespace%27%3B%0A%20%20while%20%28el%20!%3D%20null%29%20%7B%0A%20%20%20%20if%20%28el.nodeType%20%3D%3D%20el.ELEMENT_NODE%29%20%7B%0A%20%20%20%20%20%20if%20%28el.hasAttributeNS%20%28xmlNS%2C%20%27lang%27%29%29%20%7B%0A%20%20%20%20%20%20%20%20return%20el.getAttributeNS%20%28xmlNS%2C%20%27lang%27%29%3B%0A%20%20%20%20%20%20%7D%20else%20if%20%28%28el.namespaceURI%20%3D%3D%20null%20%7C%7C%0A%20%20%20%20%20%20%20%20%20%20el.namespaceURI%20%3D%3D%20%27http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%27%29%20%26%26%0A%20%20%20%20%20%20%20%20%20%20el.hasAttributeNS%20%28null%2C%20%27lang%27%29%29%20%7B%0A%20%20%20%20%20%20%20%20return%20el.getAttributeNS%20%28null%2C%20%27lang%27%29%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%20%20el%20%3D%20el.parentNode%3B%0A%20%20%7D%0A%0A%20%20%2F*%20NOTE%3A%20%7CContent-Language%7C%20is%20not%20supported%0A%20%20%20%20%20%20since%20DOM%20provides%20no%20access%20to%20HTTP%0A%20%20%20%20%20%20header%20fields.%20*%2F%0A%20%20return%20documentLanguage%20!%3D%20null%20%3F%20documentLanguage%20%3A%20%27%27%3B%0A%7D%20%2F%2F%20getElementLanguage%0A%0AscanMeta%20%28%29%3B%0A%0Avar%20title%20%3D%20document.title%3B%0Avar%20titleLang%20%3D%20%27%27%3B%0Aif%20%28title%20%3D%3D%20null%20%7C%7C%20title%20%3D%3D%20%27%27%29%20%7B%0A%20%20var%20h1El%20%3D%20document.getElementsByTagName%20%28%27h1%27%29%5B0%5D%3B%0A%20%20if%20%28h1El%29%20%7B%0A%20%20%20%20title%20%3D%20swEscape%20%28h1El.textContent%29%3B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28h1El%29%3B%0A%20%20%7D%20else%20%7B%0A%20%20%20%20title%20%3D%20%27%27%3B%0A%20%20%7D%0A%7D%20else%20%7B%0A%20%20title%20%3D%20swEscape%20%28title%29%3B%0A%20%20var%20titleEl%20%3D%20document.getElementsByTagName%20%28%27title%27%29%5B0%5D%3B%0A%20%20if%20%28titleEl%29%20%7B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28titleEl%29%3B%0A%20%20%7D%0A%7D%0Aif%20%28titleLang%20!%3D%20%27%27%29%20%7B%0A%20%20titleLang%20%3D%20%27%40%27%20%2B%20titleLang%3B%0A%7D%0A%0Avar%20lm%20%3D%20document.lastModified%3B%0Aif%20%28lm%20!%3D%20null%20%26%26%20lm%20!%3D%20%27%27%29%20%7B%0A%20%20lm%20%3D%20new%20Date%20%28lm%29%3B%0A%7D%20else%20%7B%0A%20%20lm%20%3D%20null%3B%0A%7D%0Aif%20%28lm%20!%3D%20null%29%20%7B%0A%20%20var%20tzo%20%3D%20lm.getTimezoneOffset%20%28%29%3B%0A%20%20lm%20%3D%20%27%5BTIME%5B%27%20%2B%20lm.getFullYear%20%28%29%20%2B%20%27-%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getMonth%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27-%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getDate%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getHours%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getMinutes%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getSeconds%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%20%20%20%20%20%2B%20%28tzo%20%3E%200%20%3F%20%27-%27%20%3A%20%27%2B%27%29%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%2F%2060%29%29.substr%20%28-2%2C%202%29%0A%20%20%20%20%20%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%25%2060%29%29.substr%20%28-2%2C%202%29%0A%20%20%20%20%20%20%2B%20%27%5D%5D%27%3B%0A%7D%0A%0Avar%20credit%20%3D%20%27%27%3B%0Aif%20%28documentAuthor%20!%3D%20null%29%20%7B%0A%20%20credit%20%3D%20%27%20%28%5B%5B%27%20%2B%20swEscape%20%28documentAuthor%29%20%2B%20%27%5D%5D%20%E8%91%97%27%3B%0A%20%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20%20%20%20credit%20%2B%3D%20%27%2C%20%27%20%2B%20lm%20%2B%20%27%20%E7%89%88%29%27%3B%0A%20%20%7D%0A%7D%20else%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20%20credit%20%3D%20%27%20%28%27%20%2B%20lm%20%2B%20%27%20%E7%89%88%29%27%3B%0A%7D%0A%0Avar%20uri%20%3D%20location.href%3B%0A%0Avoid%20%28prompt%20%28%27%27%2C%20%27%5BCITE%27%20%2B%20titleLang%2B%20%27%5B%27%20%2B%20title%20%2B%20%27%5D%5D%27%0A%20%20%20%20%2B%20credit%20%2B%20%27%20%3C%27%20%2B%0A%20%20%20%20uri%20%2B%20%27%3E%27%29%29%3B%0A%0A%0A>
([[名無しさん]] [WEAK[2006-12-24 07:11:01 +00:00]])
[62]
>>61
<javascript:%0A%0Afunction%20swEscape%20%28s%29%20%7B%0A%20%20return%20s.replace%20%28%2F%5C%5B%2F%2C%20%22%27%27%27%5B%27%27%27%22%29.replace%20%28%2F%5C%5D%2F%2C%20%22%27%27%27%5D%27%27%27%22%29%3B%0A%7D%20%2F%2F%20swEscape%0A%0Avar%20documentLanguage%20%3D%20null%3B%0Avar%20documentAuthor%20%3D%20null%3B%0Afunction%20scanMeta%20%28%29%20%7B%0A%20%20var%20metas%20%3D%20document.getElementsByTagName%20%28%27meta%27%29%3B%0A%20%20var%20metasLength%20%3D%20metas.length%3B%0A%20%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20metasLength%3B%20i%2B%2B%29%20%7B%0A%20%20%20%20var%20meta%20%3D%20metas%5Bi%5D%3B%0A%20%20%20%20var%20metaFieldName%20%3D%20meta.httpEquiv.toLowerCase%20%28%29%3B%0A%20%20%20%20if%20%28metaFieldName%20%3D%3D%20%27content-language%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentLanguage%20%3D%20meta.content.split%20%28%2F%5Cs*%2C%5Cs*%2F%29%5B0%5D%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%0A%20%20%20%20var%20metaName%20%3D%20meta.name.toLowerCase%20%28%29%3B%0A%20%20%20%20if%20%28metaName%20%3D%3D%20%27author%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentAuthor%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentAuthor%20%3D%20meta.content%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%20else%20if%20%28metaName%20%3D%3D%20%27ms.locale%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentLanguage%20%3D%20meta.content%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%20%2F%2F%20scanMeta%0A%0Afunction%20getElementLanguage%20%28el%29%20%7B%0A%20%20var%20xmlNS%20%3D%20%27http%3A%2F%2Fwww.w3.org%2FXML%2F1998%2Fnamespace%27%3B%0A%20%20while%20%28el%20!%3D%20null%29%20%7B%0A%20%20%20%20if%20%28el.nodeType%20%3D%3D%20el.ELEMENT_NODE%29%20%7B%0A%20%20%20%20%20%20if%20%28el.hasAttributeNS%20%28xmlNS%2C%20%27lang%27%29%29%20%7B%0A%20%20%20%20%20%20%20%20return%20el.getAttributeNS%20%28xmlNS%2C%20%27lang%27%29%3B%0A%20%20%20%20%20%20%7D%20else%20if%20%28%28el.namespaceURI%20%3D%3D%20null%20%7C%7C%0A%20%20%20%20%20%20%20%20%20%20el.namespaceURI%20%3D%3D%20%27http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%27%29%20%26%26%0A%20%20%20%20%20%20%20%20%20%20el.hasAttributeNS%20%28null%2C%20%27lang%27%29%29%20%7B%0A%20%20%20%20%20%20%20%20return%20el.getAttributeNS%20%28null%2C%20%27lang%27%29%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%20%20el%20%3D%20el.parentNode%3B%0A%20%20%7D%0A%0A%20%20%2F*%20NOTE%3A%20%7CContent-Language%7C%20is%20not%20supported%0A%20%20%20%20%20%20since%20DOM%20provides%20no%20access%20to%20HTTP%0A%20%20%20%20%20%20header%20fields.%20*%2F%0A%20%20return%20documentLanguage%20!%3D%20null%20%3F%20documentLanguage%20%3A%20%27%27%3B%0A%7D%20%2F%2F%20getElementLanguage%0A%0AscanMeta%20%28%29%3B%0A%0Avar%20title%20%3D%20document.title%3B%0Avar%20titleLang%20%3D%20%27%27%3B%0Aif%20%28location.host%20%3D%3D%20%27permalink.gmane.org%27%29%20%7B%0A%20%20var%20h2El%20%3D%20document.getElementsByTagName%20%28%27h2%27%29%5B0%5D%3B%0A%20%20if%20%28h2El%29%20%7B%0A%20%20%20%20title%20%3D%20swEscape%20%28h2El.textContent%29%3B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28h2El%29%3B%0A%20%20%7D%0A%7D%0Aif%20%28title%20%3D%3D%20null%20%7C%7C%20title%20%3D%3D%20%27%27%29%20%7B%0A%20%20var%20h1El%20%3D%20document.getElementsByTagName%20%28%27h1%27%29%5B0%5D%3B%0A%20%20if%20%28h1El%29%20%7B%0A%20%20%20%20title%20%3D%20swEscape%20%28h1El.textContent%29%3B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28h1El%29%3B%0A%20%20%7D%20else%20%7B%0A%20%20%20%20title%20%3D%20%27%27%3B%0A%20%20%7D%0A%7D%20else%20%7B%0A%20%20title%20%3D%20swEscape%20%28title%29%3B%0A%20%20var%20titleEl%20%3D%20document.getElementsByTagName%20%28%27title%27%29%5B0%5D%3B%0A%20%20if%20%28titleEl%29%20%7B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28titleEl%29%3B%0A%20%20%7D%0A%7D%0Aif%20%28titleLang%20!%3D%20%27%27%29%20%7B%0A%20%20titleLang%20%3D%20%27%40%27%20%2B%20titleLang%3B%0A%7D%0A%0Avar%20lm%20%3D%20document.lastModified%3B%0Aif%20%28location.host%20%3D%3D%20%27permalink.gmane.org%27%29%20%7B%0A%20%20var%20o1El%20%3D%20document.getElementById%20%28%27o1%27%29%3B%0A%20%20if%20%28o1El%29%20%7B%0A%20%20%20%20var%20o1Prop%20%3D%20%5B%5D%3B%0A%20%20%20%20o1El.textContent.split%20%28%22%5Cn%22%29.forEach%20%28function%20%28s%29%20%7B%0A%20%20%20%20%20%20var%20nv%20%3D%20s.split%20%28%27%3A%20%27%2C%202%29%3B%0A%20%20%20%20%20%20o1Prop%5Bnv%5B0%5D.toLowerCase%20%28%29%5D%20%3D%20nv%5B1%5D%3B%0A%20%20%20%20%7D%29%3B%0A%20%20%20%20if%20%28o1Prop.from%29%20%7B%0A%20%20%20%20%20%20documentAuthor%20%3D%20o1Prop.from.replace%20%28%2F%5Cs*%3C%5B%5E%3C%3E%5D%2B%3Cat%3E%5B%5E%3C%3E%5D%2B%3E%5Cs*%24%2F%2C%20%27%27%29%3B%0A%20%20%20%20%7D%0A%20%20%20%20var%20m%3B%0A%20%20%20%20if%20%28m%20%3D%20o1Prop.date.match%20%28%2F%5E%28%5Cd%2B%29-%28%5Cd%2B%29-%28%5Cd%2B%29%5Cs%2B%28%5Cd%2B%29%3A%28%5Cd%2B%29%3A%28%5Cd%2B%29%5Cs%2BGMT%24%2F%29%29%20%7B%0A%20%20%20%20%20%20lm%20%3D%20new%20Date%20%28m%5B1%5D%2C%20m%5B2%5D%20-%201%2C%20m%5B3%5D%2C%20m%5B4%5D%2C%20m%5B5%5D%2C%20m%5B6%5D%29%3B%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0Aif%20%28lm%20!%3D%20null%20%26%26%20lm%20!%3D%20%27%27%29%20%7B%0A%20%20lm%20%3D%20new%20Date%20%28lm%29%3B%0A%7D%20else%20%7B%0A%20%20lm%20%3D%20null%3B%0A%7D%0Aif%20%28lm%20!%3D%20null%29%20%7B%0A%20%20var%20tzo%20%3D%20lm.getTimezoneOffset%20%28%29%3B%0A%20%20lm%20%3D%20%27%5BTIME%5B%27%20%2B%20lm.getFullYear%20%28%29%20%2B%20%27-%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20%28lm.getMonth%20%28%29%20%2B%201%29%29.substr%20%28-2%2C%202%29%20%2B%20%27-%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getDate%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getHours%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getMinutes%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getSeconds%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%20%20%20%20%20%2B%20%28tzo%20%3E%200%20%3F%20%27-%27%20%3A%20%27%2B%27%29%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%2F%2060%29%29.substr%20%28-2%2C%202%29%0A%20%20%20%20%20%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%25%2060%29%29.substr%20%28-2%2C%202%29%0A%20%20%20%20%20%20%2B%20%27%5D%5D%27%3B%0A%7D%0A%0Avar%20credit%20%3D%20%27%27%3B%0Aif%20%28documentAuthor%20!%3D%20null%29%20%7B%0A%20%20credit%20%3D%20%27%20%28%5B%5B%27%20%2B%20swEscape%20%28documentAuthor%29%20%2B%20%27%5D%5D%20%E8%91%97%27%3B%0A%20%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20%20%20%20credit%20%2B%3D%20%27%2C%20%27%20%2B%20lm%20%2B%20%27%20%E7%89%88%29%27%3B%0A%20%20%7D%0A%7D%20else%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20%20credit%20%3D%20%27%20%28%27%20%2B%20lm%20%2B%20%27%20%E7%89%88%29%27%3B%0A%7D%0A%0Avar%20uri%20%3D%20location.href%3B%0A%0Avoid%20%28prompt%20%28%27%27%2C%20%27%5BCITE%27%20%2B%20titleLang%2B%20%27%5B%27%20%2B%20title%20%2B%20%27%5D%5D%27%0A%20%20%20%20%2B%20credit%20%2B%20%27%20%3C%27%20%2B%0A%20%20%20%20uri%20%2B%20%27%3E%27%29%29%3B%0A%0A%0A>
- [[月]]番号がずれる不具合を修正
- permalink.gmane.org ならメッセージの題名と著者と日付を取得するように変更
([[名無しさん]] [WEAK[2006-12-29 12:59:55 +00:00]])
[63]
>>62
<javascript:%0A%0Afunction%20swEscape%20%28s%29%20%7B%0A%20%20return%20s.replace%20%28%2F%5C%5B%2F%2C%20%22%27%27%27%5B%27%27%27%22%29.replace%20%28%2F%5C%5D%2F%2C%20%22%27%27%27%5D%27%27%27%22%29%3B%0A%7D%20%2F%2F%20swEscape%0A%0Avar%20documentLanguage%20%3D%20null%3B%0Avar%20documentAuthor%20%3D%20null%3B%0Afunction%20scanMeta%20%28%29%20%7B%0A%20%20var%20metas%20%3D%20document.getElementsByTagName%20%28%27meta%27%29%3B%0A%20%20var%20metasLength%20%3D%20metas.length%3B%0A%20%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20metasLength%3B%20i%2B%2B%29%20%7B%0A%20%20%20%20var%20meta%20%3D%20metas%5Bi%5D%3B%0A%20%20%20%20var%20metaFieldName%20%3D%20meta.httpEquiv.toLowerCase%20%28%29%3B%0A%20%20%20%20if%20%28metaFieldName%20%3D%3D%20%27content-language%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentLanguage%20%3D%20meta.content.split%20%28%2F%5Cs*%2C%5Cs*%2F%29%5B0%5D%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%0A%20%20%20%20var%20metaName%20%3D%20meta.name.toLowerCase%20%28%29%3B%0A%20%20%20%20if%20%28metaName%20%3D%3D%20%27author%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentAuthor%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentAuthor%20%3D%20meta.content%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%20else%20if%20%28metaName%20%3D%3D%20%27ms.locale%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentLanguage%20%3D%20meta.content%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%20%2F%2F%20scanMeta%0A%0Afunction%20getElementLanguage%20%28el%29%20%7B%0A%20%20var%20xmlNS%20%3D%20%27http%3A%2F%2Fwww.w3.org%2FXML%2F1998%2Fnamespace%27%3B%0A%20%20while%20%28el%20!%3D%20null%29%20%7B%0A%20%20%20%20if%20%28el.nodeType%20%3D%3D%20el.ELEMENT_NODE%29%20%7B%0A%20%20%20%20%20%20if%20%28el.hasAttributeNS%20%28xmlNS%2C%20%27lang%27%29%29%20%7B%0A%20%20%20%20%20%20%20%20return%20el.getAttributeNS%20%28xmlNS%2C%20%27lang%27%29%3B%0A%20%20%20%20%20%20%7D%20else%20if%20%28%28el.namespaceURI%20%3D%3D%20null%20%7C%7C%0A%20%20%20%20%20%20%20%20%20%20el.namespaceURI%20%3D%3D%20%27http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%27%29%20%26%26%0A%20%20%20%20%20%20%20%20%20%20el.hasAttributeNS%20%28null%2C%20%27lang%27%29%29%20%7B%0A%20%20%20%20%20%20%20%20return%20el.getAttributeNS%20%28null%2C%20%27lang%27%29%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%20%20el%20%3D%20el.parentNode%3B%0A%20%20%7D%0A%0A%20%20%2F*%20NOTE%3A%20%7CContent-Language%7C%20is%20not%20supported%0A%20%20%20%20%20%20since%20DOM%20provides%20no%20access%20to%20HTTP%0A%20%20%20%20%20%20header%20fields.%20*%2F%0A%20%20return%20documentLanguage%20!%3D%20null%20%3F%20documentLanguage%20%3A%20%27%27%3B%0A%7D%20%2F%2F%20getElementLanguage%0A%0AscanMeta%20%28%29%3B%0A%0Avar%20title%20%3D%20document.title%3B%0Avar%20titleLang%20%3D%20%27%27%3B%0Aif%20%28location.host%20%3D%3D%20%27permalink.gmane.org%27%29%20%7B%0A%20%20var%20h2El%20%3D%20document.getElementsByTagName%20%28%27h2%27%29%5B0%5D%3B%0A%20%20if%20%28h2El%29%20%7B%0A%20%20%20%20title%20%3D%20swEscape%20%28h2El.textContent%29%3B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28h2El%29%3B%0A%20%20%7D%0A%7D%0Aif%20%28title%20%3D%3D%20null%20%7C%7C%20title%20%3D%3D%20%27%27%29%20%7B%0A%20%20var%20h1El%20%3D%20document.getElementsByTagName%20%28%27h1%27%29%5B0%5D%3B%0A%20%20H1EL%3A%20%7B%0A%20%20%20%20if%20%28h1El%29%20%7B%0A%20%20%20%20%20%20break%20H1EL%3B%0A%20%20%20%20%7D%0A%20%20%20%20var%20fonts%20%3D%20document.getElementsByTagName%20%28%27font%27%29%3B%0A%20%20%20%20fontsLength%20%3D%20fonts.length%3B%0A%20%20%20%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20fontsLength%3B%20i%2B%2B%29%20%7B%0A%20%20%20%20%20%20var%20font%20%3D%20fonts%5Bi%5D%3B%0A%20%20%20%20%20%20if%20%28font.size%20%3D%3D%20%277%27%20%7C%7C%20font.size%20%3D%3D%20%27%2B4%27%29%20%7B%0A%20%20%20%20%20%20%20%20h1El%20%3D%20font%3B%0A%20%20%20%20%20%20%20%20break%20H1EL%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%20%2F%2F%20H1EL%0A%20%20if%20%28h1El%29%20%7B%0A%20%20%20%20title%20%3D%20swEscape%20%28h1El.textContent%29%3B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28h1El%29%3B%0A%20%20%7D%20else%20%7B%0A%20%20%20%20title%20%3D%20%27%27%3B%0A%20%20%7D%0A%7D%20else%20%7B%0A%20%20title%20%3D%20swEscape%20%28title%29%3B%0A%20%20var%20titleEl%20%3D%20document.getElementsByTagName%20%28%27title%27%29%5B0%5D%3B%0A%20%20if%20%28titleEl%29%20%7B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28titleEl%29%3B%0A%20%20%7D%0A%7D%0Aif%20%28titleLang%20!%3D%20%27%27%29%20%7B%0A%20%20titleLang%20%3D%20%27%40%27%20%2B%20titleLang%3B%0A%7D%0A%0Avar%20lm%20%3D%20document.lastModified%3B%0Aif%20%28location.host%20%3D%3D%20%27permalink.gmane.org%27%29%20%7B%0A%20%20var%20o1El%20%3D%20document.getElementById%20%28%27o1%27%29%3B%0A%20%20if%20%28o1El%29%20%7B%0A%20%20%20%20var%20o1Prop%20%3D%20%5B%5D%3B%0A%20%20%20%20o1El.textContent.split%20%28%22%5Cn%22%29.forEach%20%28function%20%28s%29%20%7B%0A%20%20%20%20%20%20var%20nv%20%3D%20s.split%20%28%27%3A%20%27%2C%202%29%3B%0A%20%20%20%20%20%20o1Prop%5Bnv%5B0%5D.toLowerCase%20%28%29%5D%20%3D%20nv%5B1%5D%3B%0A%20%20%20%20%7D%29%3B%0A%20%20%20%20if%20%28o1Prop.from%29%20%7B%0A%20%20%20%20%20%20documentAuthor%20%3D%20o1Prop.from.replace%20%28%2F%5Cs*%3C%5B%5E%3C%3E%5D%2B%3Cat%3E%5B%5E%3C%3E%5D%2B%3E%5Cs*%24%2F%2C%20%27%27%29%3B%0A%20%20%20%20%7D%0A%20%20%20%20var%20m%3B%0A%20%20%20%20if%20%28m%20%3D%20o1Prop.date.match%20%28%2F%5E%28%5Cd%2B%29-%28%5Cd%2B%29-%28%5Cd%2B%29%5Cs%2B%28%5Cd%2B%29%3A%28%5Cd%2B%29%3A%28%5Cd%2B%29%5Cs%2BGMT%24%2F%29%29%20%7B%0A%20%20%20%20%20%20lm%20%3D%20new%20Date%20%28m%5B1%5D%2C%20m%5B2%5D%20-%201%2C%20m%5B3%5D%2C%20m%5B4%5D%2C%20m%5B5%5D%2C%20m%5B6%5D%29%3B%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0Aif%20%28lm%20!%3D%20null%20%26%26%20lm%20!%3D%20%27%27%29%20%7B%0A%20%20lm%20%3D%20new%20Date%20%28lm%29%3B%0A%7D%20else%20%7B%0A%20%20lm%20%3D%20null%3B%0A%7D%0Aif%20%28lm%20!%3D%20null%29%20%7B%0A%20%20var%20tzo%20%3D%20lm.getTimezoneOffset%20%28%29%3B%0A%20%20lm%20%3D%20%27%5BTIME%5B%27%20%2B%20lm.getFullYear%20%28%29%20%2B%20%27-%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20%28lm.getMonth%20%28%29%20%2B%201%29%29.substr%20%28-2%2C%202%29%20%2B%20%27-%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getDate%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getHours%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getMinutes%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getSeconds%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%20%20%20%20%20%2B%20%28tzo%20%3E%200%20%3F%20%27-%27%20%3A%20%27%2B%27%29%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%2F%2060%29%29.substr%20%28-2%2C%202%29%0A%20%20%20%20%20%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%25%2060%29%29.substr%20%28-2%2C%202%29%0A%20%20%20%20%20%20%2B%20%27%5D%5D%27%3B%0A%7D%0A%0Avar%20credit%20%3D%20%27%27%3B%0Aif%20%28documentAuthor%20!%3D%20null%29%20%7B%0A%20%20credit%20%3D%20%27%20%28%5B%5B%27%20%2B%20swEscape%20%28documentAuthor%29%20%2B%20%27%5D%5D%20%E8%91%97%27%3B%0A%20%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20%20%20%20credit%20%2B%3D%20%27%2C%20%27%20%2B%20lm%20%2B%20%27%20%E7%89%88%29%27%3B%0A%20%20%7D%0A%7D%20else%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20%20credit%20%3D%20%27%20%28%27%20%2B%20lm%20%2B%20%27%20%E7%89%88%29%27%3B%0A%7D%0A%0Avar%20uri%20%3D%20location.href%3B%0A%0Avoid%20%28prompt%20%28%27%27%2C%20%27%5BCITE%27%20%2B%20titleLang%2B%20%27%5B%27%20%2B%20title%20%2B%20%27%5D%5D%27%0A%20%20%20%20%2B%20credit%20%2B%20%27%20%3C%27%20%2B%0A%20%20%20%20uri%20%2B%20%27%3E%27%29%29%3B%0A%0A%0A%0A>
[CODE(HTMLe)@en[[[title]]]] も [CODE(HTMle)@en[[[h1]]]]
もなくても、
[CODE(HTMLe)@en[[[font]]]] [CODE(HTMLa)@en[[[size]]]] = 7 or +4
があれば題名として使うように。
([[名無しさん]] [WEAK[2007-01-05 08:42:01 +00:00]])
[70]
>>63
[[lists.w3.org]] に対応
<javascript:%0A%0Afunction%20swEscape%20%28s%29%20%7B%0A%20%20return%20s.replace%20%28%2F%5C%5B%2F%2C%20%22%27%27%27%5B%27%27%27%22%29.replace%20%28%2F%5C%5D%2F%2C%20%22%27%27%27%5D%27%27%27%22%29%3B%0A%7D%20%2F%2F%20swEscape%0A%0Avar%20documentLanguage%20%3D%20null%3B%0Avar%20documentAuthor%20%3D%20null%3B%0Afunction%20scanMeta%20%28%29%20%7B%0A%20%20var%20metas%20%3D%20document.getElementsByTagName%20%28%27meta%27%29%3B%0A%20%20var%20metasLength%20%3D%20metas.length%3B%0A%20%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20metasLength%3B%20i%2B%2B%29%20%7B%0A%20%20%20%20var%20meta%20%3D%20metas%5Bi%5D%3B%0A%20%20%20%20var%20metaFieldName%20%3D%20meta.httpEquiv.toLowerCase%20%28%29%3B%0A%20%20%20%20if%20%28metaFieldName%20%3D%3D%20%27content-language%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentLanguage%20%3D%20meta.content.split%20%28%2F%5Cs*%2C%5Cs*%2F%29%5B0%5D%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%0A%20%20%20%20var%20metaName%20%3D%20meta.name.toLowerCase%20%28%29%3B%0A%20%20%20%20if%20%28metaName%20%3D%3D%20%27author%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentAuthor%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentAuthor%20%3D%20meta.content%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%20else%20if%20%28metaName%20%3D%3D%20%27ms.locale%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentLanguage%20%3D%20meta.content%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%20%2F%2F%20scanMeta%0A%0Afunction%20getElementLanguage%20%28el%29%20%7B%0A%20%20var%20xmlNS%20%3D%20%27http%3A%2F%2Fwww.w3.org%2FXML%2F1998%2Fnamespace%27%3B%0A%20%20while%20%28el%20!%3D%20null%29%20%7B%0A%20%20%20%20if%20%28el.nodeType%20%3D%3D%20el.ELEMENT_NODE%29%20%7B%0A%20%20%20%20%20%20if%20%28el.hasAttributeNS%20%28xmlNS%2C%20%27lang%27%29%29%20%7B%0A%20%20%20%20%20%20%20%20return%20el.getAttributeNS%20%28xmlNS%2C%20%27lang%27%29%3B%0A%20%20%20%20%20%20%7D%20else%20if%20%28%28el.namespaceURI%20%3D%3D%20null%20%7C%7C%0A%20%20%20%20%20%20%20%20%20%20el.namespaceURI%20%3D%3D%20%27http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%27%29%20%26%26%0A%20%20%20%20%20%20%20%20%20%20el.hasAttributeNS%20%28null%2C%20%27lang%27%29%29%20%7B%0A%20%20%20%20%20%20%20%20return%20el.getAttributeNS%20%28null%2C%20%27lang%27%29%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%20%20el%20%3D%20el.parentNode%3B%0A%20%20%7D%0A%0A%20%20%2F*%20NOTE%3A%20%7CContent-Language%7C%20is%20not%20supported%0A%20%20%20%20%20%20since%20DOM%20provides%20no%20access%20to%20HTTP%0A%20%20%20%20%20%20header%20fields.%20*%2F%0A%20%20return%20documentLanguage%20!%3D%20null%20%3F%20documentLanguage%20%3A%20%27%27%3B%0A%7D%20%2F%2F%20getElementLanguage%0A%0AscanMeta%20%28%29%3B%0A%0Avar%20locationHost%3B%0Atry%20%7B%0A%20%20locationHost%20%3D%20location.host%3B%0A%7D%20catch%20%28e%29%20%7B%0A%20%20locationHost%20%3D%20null%3B%0A%7D%0A%0Avar%20title%20%3D%20document.title%3B%0Avar%20titleLang%20%3D%20%27%27%3B%0Aif%20%28locationHost%20%3D%3D%20%27permalink.gmane.org%27%29%20%7B%0A%20%20var%20h2El%20%3D%20document.getElementsByTagName%20%28%27h2%27%29%5B0%5D%3B%0A%20%20if%20%28h2El%29%20%7B%0A%20%20%20%20title%20%3D%20swEscape%20%28h2El.textContent%29%3B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28h2El%29%3B%0A%20%20%7D%0A%7D%0Aif%20%28title%20%3D%3D%20null%20%7C%7C%20title%20%3D%3D%20%27%27%20%7C%7C%0A%20%20%20%20locationHost%20%3D%3D%20%27lists.w3.org%27%29%20%7B%0A%20%20var%20h1El%20%3D%20document.getElementsByTagName%20%28%27h1%27%29%5B0%5D%3B%0A%20%20H1EL%3A%20%7B%0A%20%20%20%20if%20%28h1El%29%20%7B%0A%20%20%20%20%20%20break%20H1EL%3B%0A%20%20%20%20%7D%0A%20%20%20%20var%20fonts%20%3D%20document.getElementsByTagName%20%28%27font%27%29%3B%0A%20%20%20%20fontsLength%20%3D%20fonts.length%3B%0A%20%20%20%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20fontsLength%3B%20i%2B%2B%29%20%7B%0A%20%20%20%20%20%20var%20font%20%3D%20fonts%5Bi%5D%3B%0A%20%20%20%20%20%20if%20%28font.size%20%3D%3D%20%277%27%20%7C%7C%20font.size%20%3D%3D%20%27%2B4%27%29%20%7B%0A%20%20%20%20%20%20%20%20h1El%20%3D%20font%3B%0A%20%20%20%20%20%20%20%20break%20H1EL%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%20%2F%2F%20H1EL%0A%20%20if%20%28h1El%29%20%7B%0A%20%20%20%20title%20%3D%20swEscape%20%28h1El.textContent%29%3B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28h1El%29%3B%0A%20%20%7D%20else%20%7B%0A%20%20%20%20title%20%3D%20title%20%3D%3D%20null%20%3F%20%27%27%20%3A%20title%3B%0A%20%20%7D%0A%7D%20else%20%7B%0A%20%20title%20%3D%20swEscape%20%28title%29%3B%0A%20%20var%20titleEl%20%3D%20document.getElementsByTagName%20%28%27title%27%29%5B0%5D%3B%0A%20%20if%20%28titleEl%29%20%7B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28titleEl%29%3B%0A%20%20%7D%0A%7D%0Aif%20%28titleLang%20!%3D%20%27%27%29%20%7B%0A%20%20titleLang%20%3D%20%27%40%27%20%2B%20titleLang%3B%0A%7D%0A%0Avar%20lm%20%3D%20document.lastModified%3B%0Aif%20%28locationHost%20%3D%3D%20%27permalink.gmane.org%27%29%20%7B%0A%20%20var%20o1El%20%3D%20document.getElementById%20%28%27o1%27%29%3B%0A%20%20if%20%28o1El%29%20%7B%0A%20%20%20%20var%20o1Prop%20%3D%20%5B%5D%3B%0A%20%20%20%20o1El.textContent.split%20%28%22%5Cn%22%29.forEach%20%28function%20%28s%29%20%7B%0A%20%20%20%20%20%20var%20nv%20%3D%20s.split%20%28%27%3A%20%27%2C%202%29%3B%0A%20%20%20%20%20%20o1Prop%5Bnv%5B0%5D.toLowerCase%20%28%29%5D%20%3D%20nv%5B1%5D%3B%0A%20%20%20%20%7D%29%3B%0A%20%20%20%20if%20%28o1Prop.from%29%20%7B%0A%20%20%20%20%20%20documentAuthor%20%3D%20o1Prop.from.replace%20%28%2F%5Cs*%3C%5B%5E%3C%3E%5D%2B%3Cat%3E%5B%5E%3C%3E%5D%2B%3E%5Cs*%24%2F%2C%20%27%27%29%3B%0A%20%20%20%20%7D%0A%20%20%20%20var%20m%3B%0A%20%20%20%20if%20%28m%20%3D%20o1Prop.date.match%20%28%2F%5E%28%5Cd%2B%29-%28%5Cd%2B%29-%28%5Cd%2B%29%5Cs%2B%28%5Cd%2B%29%3A%28%5Cd%2B%29%3A%28%5Cd%2B%29%5Cs%2BGMT%24%2F%29%29%20%7B%0A%20%20%20%20%20%20lm%20%3D%20new%20Date%20%28m%5B1%5D%2C%20m%5B2%5D%20-%201%2C%20m%5B3%5D%2C%20m%5B4%5D%2C%20m%5B5%5D%2C%20m%5B6%5D%29%3B%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%20else%20if%20%28locationHost%20%3D%3D%20%27lists.w3.org%27%29%20%7B%0A%20%20if%20%28documentAuthor%20!%3D%20null%29%20%7B%0A%20%20%20%20documentAuthor%0A%20%20%20%20%20%20%20%20%3D%20documentAuthor.replace%20%28%2F%5Cs%2B%5C%28%5B%5E%28%29%5D%2B%5C%29%24%2F%2C%20%27%27%29%3B%0A%20%20%7D%0A%20%20var%20dateEl%20%3D%20document.getElementById%20%28%27date%27%29%3B%0A%20%20if%20%28dateEl%29%20%7B%0A%20%20%20%20var%20m%20%3D%20dateEl.textContent%0A%20%20%20%20%20%20%20%20.replace%20%28%2F%5EDate%3A%5Cs%2B%2F%2C%20%27%27%29%3B%0A%20%20%20%20lm%20%3D%20new%20Date%20%28m%29%3B%0A%20%20%7D%0A%7D%0Aif%20%28lm%20!%3D%20null%20%26%26%20lm%20!%3D%20%27%27%29%20%7B%0A%20%20lm%20%3D%20new%20Date%20%28lm%29%3B%0A%7D%20else%20%7B%0A%20%20lm%20%3D%20null%3B%0A%7D%0Aif%20%28lm%20!%3D%20null%29%20%7B%0A%20%20var%20tzo%20%3D%20lm.getTimezoneOffset%20%28%29%3B%0A%20%20lm%20%3D%20%27%5BTIME%5B%27%20%2B%20lm.getFullYear%20%28%29%20%2B%20%27-%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20%28lm.getMonth%20%28%29%20%2B%201%29%29.substr%20%28-2%2C%202%29%20%2B%20%27-%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getDate%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getHours%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getMinutes%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getSeconds%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%20%20%20%20%20%2B%20%28tzo%20%3E%200%20%3F%20%27-%27%20%3A%20%27%2B%27%29%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%2F%2060%29%29.substr%20%28-2%2C%202%29%0A%20%20%20%20%20%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%25%2060%29%29.substr%20%28-2%2C%202%29%0A%20%20%20%20%20%20%2B%20%27%5D%5D%27%3B%0A%7D%0A%0Avar%20credit%20%3D%20%27%27%3B%0Aif%20%28documentAuthor%20!%3D%20null%29%20%7B%0A%20%20credit%20%3D%20%27%20%28%5B%5B%27%20%2B%20swEscape%20%28documentAuthor%29%20%2B%20%27%5D%5D%20%E8%91%97%27%3B%0A%20%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20%20%20%20credit%20%2B%3D%20%27%2C%20%27%20%2B%20lm%20%2B%20%27%20%E7%89%88%29%27%3B%0A%20%20%7D%0A%7D%20else%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20%20credit%20%3D%20%27%20%28%27%20%2B%20lm%20%2B%20%27%20%E7%89%88%29%27%3B%0A%7D%0A%0Avar%20uri%20%3D%20location.href%3B%0A%0Avoid%20%28prompt%20%28%27%27%2C%20%27%5BCITE%27%20%2B%20titleLang%2B%20%27%5B%27%20%2B%20title%20%2B%20%27%5D%5D%27%0A%20%20%20%20%2B%20credit%20%2B%20%27%20%3C%27%20%2B%0A%20%20%20%20uri%20%2B%20%27%3E%27%29%29%3B%0A%0A%0A%0A>
([[名無しさん]] [WEAK[2007-01-28 11:45:40 +00:00]])
[89]
>>63
[[ietf-html]] archive に対応
<javascript:%0A%0Afunction%20swEscape%20%28s%29%20%7B%0A%20%20return%20s.replace%20%28%2F%5C%5B%2F%2C%20%22%27%27%27%5B%27%27%27%22%29.replace%20%28%2F%5C%5D%2F%2C%20%22%27%27%27%5D%27%27%27%22%29%3B%0A%7D%20%2F%2F%20swEscape%0A%0Avar%20documentLanguage%20%3D%20null%3B%0Avar%20documentAuthor%20%3D%20null%3B%0Afunction%20scanMeta%20%28%29%20%7B%0A%20%20var%20metas%20%3D%20document.getElementsByTagName%20%28%27meta%27%29%3B%0A%20%20var%20metasLength%20%3D%20metas.length%3B%0A%20%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20metasLength%3B%20i%2B%2B%29%20%7B%0A%20%20%20%20var%20meta%20%3D%20metas%5Bi%5D%3B%0A%20%20%20%20var%20metaFieldName%20%3D%20meta.httpEquiv.toLowerCase%20%28%29%3B%0A%20%20%20%20if%20%28metaFieldName%20%3D%3D%20%27content-language%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentLanguage%20%3D%20meta.content.split%20%28%2F%5Cs*%2C%5Cs*%2F%29%5B0%5D%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%0A%20%20%20%20var%20metaName%20%3D%20meta.name.toLowerCase%20%28%29%3B%0A%20%20%20%20if%20%28metaName%20%3D%3D%20%27author%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentAuthor%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentAuthor%20%3D%20meta.content%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%20else%20if%20%28metaName%20%3D%3D%20%27ms.locale%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentLanguage%20%3D%20meta.content%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%20%2F%2F%20scanMeta%0A%0Afunction%20getElementLanguage%20%28el%29%20%7B%0A%20%20var%20xmlNS%20%3D%20%27http%3A%2F%2Fwww.w3.org%2FXML%2F1998%2Fnamespace%27%3B%0A%20%20while%20%28el%20!%3D%20null%29%20%7B%0A%20%20%20%20if%20%28el.nodeType%20%3D%3D%20el.ELEMENT_NODE%29%20%7B%0A%20%20%20%20%20%20if%20%28el.hasAttributeNS%20%28xmlNS%2C%20%27lang%27%29%29%20%7B%0A%20%20%20%20%20%20%20%20return%20el.getAttributeNS%20%28xmlNS%2C%20%27lang%27%29%3B%0A%20%20%20%20%20%20%7D%20else%20if%20%28%28el.namespaceURI%20%3D%3D%20null%20%7C%7C%0A%20%20%20%20%20%20%20%20%20%20el.namespaceURI%20%3D%3D%20%27http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%27%29%20%26%26%0A%20%20%20%20%20%20%20%20%20%20el.hasAttributeNS%20%28null%2C%20%27lang%27%29%29%20%7B%0A%20%20%20%20%20%20%20%20return%20el.getAttributeNS%20%28null%2C%20%27lang%27%29%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%20%20el%20%3D%20el.parentNode%3B%0A%20%20%7D%0A%0A%20%20%2F*%20NOTE%3A%20%7CContent-Language%7C%20is%20not%20supported%0A%20%20%20%20%20%20since%20DOM%20provides%20no%20access%20to%20HTTP%0A%20%20%20%20%20%20header%20fields.%20*%2F%0A%20%20return%20documentLanguage%20!%3D%20null%20%3F%20documentLanguage%20%3A%20%27%27%3B%0A%7D%20%2F%2F%20getElementLanguage%0A%0AscanMeta%20%28%29%3B%0A%0Avar%20locationHost%3B%0Atry%20%7B%0A%20%20locationHost%20%3D%20location.host%3B%0A%7D%20catch%20%28e%29%20%7B%0A%20%20locationHost%20%3D%20null%3B%0A%7D%0A%0Avar%20title%20%3D%20document.title%3B%0Avar%20titleLang%20%3D%20%27%27%3B%0Aif%20%28locationHost%20%3D%3D%20%27permalink.gmane.org%27%29%20%7B%0A%20%20var%20h2El%20%3D%20document.getElementsByTagName%20%28%27h2%27%29%5B0%5D%3B%0A%20%20if%20%28h2El%29%20%7B%0A%20%20%20%20title%20%3D%20swEscape%20%28h2El.textContent%29%3B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28h2El%29%3B%0A%20%20%7D%0A%7D%0Aif%20%28title%20%3D%3D%20null%20%7C%7C%20title%20%3D%3D%20%27%27%20%7C%7C%0A%20%20%20%20locationHost%20%3D%3D%20%27lists.w3.org%27%29%20%7B%0A%20%20var%20h1El%20%3D%20document.getElementsByTagName%20%28%27h1%27%29%5B0%5D%3B%0A%20%20H1EL%3A%20%7B%0A%20%20%20%20if%20%28h1El%29%20%7B%0A%20%20%20%20%20%20break%20H1EL%3B%0A%20%20%20%20%7D%0A%20%20%20%20var%20fonts%20%3D%20document.getElementsByTagName%20%28%27font%27%29%3B%0A%20%20%20%20fontsLength%20%3D%20fonts.length%3B%0A%20%20%20%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20fontsLength%3B%20i%2B%2B%29%20%7B%0A%20%20%20%20%20%20var%20font%20%3D%20fonts%5Bi%5D%3B%0A%20%20%20%20%20%20if%20%28font.size%20%3D%3D%20%277%27%20%7C%7C%20font.size%20%3D%3D%20%27%2B4%27%29%20%7B%0A%20%20%20%20%20%20%20%20h1El%20%3D%20font%3B%0A%20%20%20%20%20%20%20%20break%20H1EL%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%20%2F%2F%20H1EL%0A%20%20if%20%28h1El%29%20%7B%0A%20%20%20%20title%20%3D%20swEscape%20%28h1El.textContent%29%3B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28h1El%29%3B%0A%20%20%7D%20else%20%7B%0A%20%20%20%20title%20%3D%20title%20%3D%3D%20null%20%3F%20%27%27%20%3A%20title%3B%0A%20%20%7D%0A%7D%20else%20%7B%0A%20%20title%20%3D%20swEscape%20%28title%29%3B%0A%20%20var%20titleEl%20%3D%20document.getElementsByTagName%20%28%27title%27%29%5B0%5D%3B%0A%20%20if%20%28titleEl%29%20%7B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28titleEl%29%3B%0A%20%20%7D%0A%7D%0Aif%20%28titleLang%20!%3D%20%27%27%29%20%7B%0A%20%20titleLang%20%3D%20%27%40%27%20%2B%20titleLang%3B%0A%7D%0A%0Avar%20lm%20%3D%20document.lastModified%3B%0Aif%20%28locationHost%20%3D%3D%20%27permalink.gmane.org%27%29%20%7B%0A%20%20var%20o1El%20%3D%20document.getElementById%20%28%27o1%27%29%3B%0A%20%20if%20%28o1El%29%20%7B%0A%20%20%20%20var%20o1Prop%20%3D%20%5B%5D%3B%0A%20%20%20%20o1El.textContent.split%20%28%22%5Cn%22%29.forEach%20%28function%20%28s%29%20%7B%0A%20%20%20%20%20%20var%20nv%20%3D%20s.split%20%28%27%3A%20%27%2C%202%29%3B%0A%20%20%20%20%20%20o1Prop%5Bnv%5B0%5D.toLowerCase%20%28%29%5D%20%3D%20nv%5B1%5D%3B%0A%20%20%20%20%7D%29%3B%0A%20%20%20%20if%20%28o1Prop.from%29%20%7B%0A%20%20%20%20%20%20documentAuthor%20%3D%20o1Prop.from.replace%20%28%2F%5Cs*%3C%5B%5E%3C%3E%5D%2B%3Cat%3E%5B%5E%3C%3E%5D%2B%3E%5Cs*%24%2F%2C%20%27%27%29%3B%0A%20%20%20%20%7D%0A%20%20%20%20var%20m%3B%0A%20%20%20%20if%20%28m%20%3D%20o1Prop.date.match%20%28%2F%5E%28%5Cd%2B%29-%28%5Cd%2B%29-%28%5Cd%2B%29%5Cs%2B%28%5Cd%2B%29%3A%28%5Cd%2B%29%3A%28%5Cd%2B%29%5Cs%2BGMT%24%2F%29%29%20%7B%0A%20%20%20%20%20%20lm%20%3D%20new%20Date%20%28m%5B1%5D%2C%20m%5B2%5D%20-%201%2C%20m%5B3%5D%2C%20m%5B4%5D%2C%20m%5B5%5D%2C%20m%5B6%5D%29%3B%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%20else%20if%20%28locationHost%20%3D%3D%20%27lists.w3.org%27%29%20%7B%0A%20%20if%20%28documentAuthor%20!%3D%20null%29%20%7B%0A%20%20%20%20documentAuthor%0A%20%20%20%20%20%20%20%20%3D%20documentAuthor.replace%20%28%2F%5Cs%2B%5C%28%5B%5E%28%29%5D%2B%5C%29%24%2F%2C%20%27%27%29%3B%0A%20%20%7D%0A%20%20var%20dateEl%20%3D%20document.getElementById%20%28%27date%27%29%3B%0A%20%20if%20%28dateEl%29%20%7B%0A%20%20%20%20var%20m%20%3D%20dateEl.textContent%0A%20%20%20%20%20%20%20%20.replace%20%28%2F%5EDate%3A%5Cs%2B%2F%2C%20%27%27%29%3B%0A%20%20%20%20lm%20%3D%20new%20Date%20%28m%29%3B%0A%20%20%7D%0A%7D%20else%20if%20%28locationHost%20%3D%3D%20%27listserv.heanet.ie%27%29%20%7B%0A%20%20var%20docText%20%3D%20document.documentElement.textContent%3B%0A%20%20var%20m%3B%0A%20%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbSubject%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20%20%20%20title%20%3D%20swEscape%20%28m%5B1%5D%29%3B%0A%20%20%20%20titleLang%20%3D%20%27en%27%3B%0A%20%20%7D%0A%20%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbFrom%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20%20%20%20var%20documentAuthor%20%3D%20m%5B1%5D%3B%0A%20%20%20%20if%20%28m%20%3D%20documentAuthor.match%0A%20%20%20%20%20%20%20%20%28%2F%5E%5C%5Blog%20in%20to%20unmask%5C%5D%5Cs*%5C%28%28%5B%5E%28%29%5D%2B%29%5C%29%24%2F%29%29%20%7B%0A%20%20%20%20%20%20documentAuthor%20%3D%20m%5B1%5D%3B%0A%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20documentAuthor%20%3D%20documentAuthor.replace%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%28%2F%5Cs*%3C%5C%5Blog%20in%20to%20unmask%5C%5D%3E%2F%2C%20%27%27%29%0A%20%20%20%20%20%20%20%20%20%20.replace%20%28%2F%22%2Fg%2C%20%27%27%29%0A%20%20%20%20%20%20%20%20%20%20.replace%20%28%2F%5C%5Blog%20in%20to%20unmask%5C%5D%2F%2C%20%27%27%29%3B%0A%20%20%20%20%7D%0A%20%20%20%20if%20%28!documentAuthor%29%20documentAuthor%20%3D%20null%3B%0A%20%20%7D%0A%20%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbDate%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20%20%20%20if%20%28m%20%3D%20m%5B1%5D.match%20%28%2F%5E%5BA-Za-z%5D%2B%2C%20%28%5Cd%2B%29%20%28%5CS%2B%29%20%28%5Cd%2B%20%5Cd%2B%3A%5Cd%2B%3A%5Cd%2B%20E%5BSD%5DT%29%24%2F%29%29%20%7B%0A%20%20%20%20%20%20lm%20%3D%20new%20Date%20%28m%5B2%5D%20%2B%20%27%20%27%20%2B%20m%5B1%5D%20%2B%20%27%2C%20%27%20%2B%20m%5B3%5D%29%3B%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0Aif%20%28lm%20!%3D%20null%20%26%26%20lm%20!%3D%20%27%27%29%20%7B%0A%20%20lm%20%3D%20new%20Date%20%28lm%29%3B%0A%7D%20else%20%7B%0A%20%20lm%20%3D%20null%3B%0A%7D%0Aif%20%28lm%20!%3D%20null%29%20%7B%0A%20%20var%20tzo%20%3D%20lm.getTimezoneOffset%20%28%29%3B%0A%20%20lm%20%3D%20%27%5BTIME%5B%27%20%2B%20lm.getFullYear%20%28%29%20%2B%20%27-%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20%28lm.getMonth%20%28%29%20%2B%201%29%29.substr%20%28-2%2C%202%29%20%2B%20%27-%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getDate%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getHours%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getMinutes%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getSeconds%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%20%20%20%20%20%2B%20%28tzo%20%3E%200%20%3F%20%27-%27%20%3A%20%27%2B%27%29%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%2F%2060%29%29.substr%20%28-2%2C%202%29%0A%20%20%20%20%20%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%25%2060%29%29.substr%20%28-2%2C%202%29%0A%20%20%20%20%20%20%2B%20%27%5D%5D%27%3B%0A%7D%0A%0Avar%20credit%20%3D%20%27%27%3B%0Aif%20%28documentAuthor%20!%3D%20null%29%20%7B%0A%20%20credit%20%3D%20%27%20%28%5B%5B%27%20%2B%20swEscape%20%28documentAuthor%29%20%2B%20%27%5D%5D%20%E8%91%97%27%3B%0A%20%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20%20%20%20credit%20%2B%3D%20%27%2C%20%27%20%2B%20lm%20%2B%20%27%20%E7%89%88%29%27%3B%0A%20%20%7D%0A%7D%20else%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20%20credit%20%3D%20%27%20%28%27%20%2B%20lm%20%2B%20%27%20%E7%89%88%29%27%3B%0A%7D%0A%0Avar%20uri%20%3D%20location.href%3B%0A%0Avar%20text%20%3D%20%27%5BCITE%27%20%2B%20titleLang%2B%20%27%5B%27%20%2B%20title%20%2B%20%27%5D%5D%27%0A%20%20%20%20%2B%20credit%20%2B%20%27%20%3C%27%20%2B%0A%20%20%20%20uri%20%2B%20%27%3E%27%3B%0Atext%20%3D%20text.replace%20%28%2F%5Cs%2B%2F%2C%20%27%20%27%29%3B%0A%0Avoid%20%28prompt%20%28%27%27%2C%20text%29%29%3B%0A%0A%0A%0A>
([[名無しさん]] [WEAK[2007-07-01 11:30:49 +00:00]])
[90]
>>89 [[言語札]]の構文誤りを修正
<javascript:%0A%0Afunction%20swEscape%20%28s%29%20%7B%0A%20%20return%20s.replace%20%28%2F%5C%5B%2F%2C%20%22%27%27%27%5B%27%27%27%22%29.replace%20%28%2F%5C%5D%2F%2C%20%22%27%27%27%5D%27%27%27%22%29%3B%0A%7D%20%2F%2F%20swEscape%0A%0Avar%20documentLanguage%20%3D%20null%3B%0Avar%20documentAuthor%20%3D%20null%3B%0Afunction%20scanMeta%20%28%29%20%7B%0A%20%20var%20metas%20%3D%20document.getElementsByTagName%20%28%27meta%27%29%3B%0A%20%20var%20metasLength%20%3D%20metas.length%3B%0A%20%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20metasLength%3B%20i%2B%2B%29%20%7B%0A%20%20%20%20var%20meta%20%3D%20metas%5Bi%5D%3B%0A%20%20%20%20var%20metaFieldName%20%3D%20meta.httpEquiv.toLowerCase%20%28%29%3B%0A%20%20%20%20if%20%28metaFieldName%20%3D%3D%20%27content-language%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentLanguage%20%3D%20meta.content.split%20%28%2F%5Cs*%2C%5Cs*%2F%29%5B0%5D%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%0A%20%20%20%20var%20metaName%20%3D%20meta.name.toLowerCase%20%28%29%3B%0A%20%20%20%20if%20%28metaName%20%3D%3D%20%27author%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentAuthor%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentAuthor%20%3D%20meta.content%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%20else%20if%20%28metaName%20%3D%3D%20%27ms.locale%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentLanguage%20%3D%20meta.content%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%20%2F%2F%20scanMeta%0A%0Afunction%20getElementLanguage%20%28el%29%20%7B%0A%20%20var%20xmlNS%20%3D%20%27http%3A%2F%2Fwww.w3.org%2FXML%2F1998%2Fnamespace%27%3B%0A%20%20while%20%28el%20!%3D%20null%29%20%7B%0A%20%20%20%20if%20%28el.nodeType%20%3D%3D%20el.ELEMENT_NODE%29%20%7B%0A%20%20%20%20%20%20if%20%28el.hasAttributeNS%20%28xmlNS%2C%20%27lang%27%29%29%20%7B%0A%20%20%20%20%20%20%20%20return%20el.getAttributeNS%20%28xmlNS%2C%20%27lang%27%29%3B%0A%20%20%20%20%20%20%7D%20else%20if%20%28%28el.namespaceURI%20%3D%3D%20null%20%7C%7C%0A%20%20%20%20%20%20%20%20%20%20el.namespaceURI%20%3D%3D%20%27http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%27%29%20%26%26%0A%20%20%20%20%20%20%20%20%20%20el.hasAttributeNS%20%28null%2C%20%27lang%27%29%29%20%7B%0A%20%20%20%20%20%20%20%20return%20el.getAttributeNS%20%28null%2C%20%27lang%27%29%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%20%20el%20%3D%20el.parentNode%3B%0A%20%20%7D%0A%0A%20%20%2F*%20NOTE%3A%20%7CContent-Language%7C%20is%20not%20supported%0A%20%20%20%20%20%20since%20DOM%20provides%20no%20access%20to%20HTTP%0A%20%20%20%20%20%20header%20fields.%20*%2F%0A%20%20return%20documentLanguage%20!%3D%20null%20%3F%20documentLanguage%20%3A%20%27%27%3B%0A%7D%20%2F%2F%20getElementLanguage%0A%0AscanMeta%20%28%29%3B%0A%0Avar%20locationHost%3B%0Atry%20%7B%0A%20%20locationHost%20%3D%20location.host%3B%0A%7D%20catch%20%28e%29%20%7B%0A%20%20locationHost%20%3D%20null%3B%0A%7D%0A%0Avar%20title%20%3D%20document.title%3B%0Avar%20titleLang%20%3D%20%27%27%3B%0Aif%20%28locationHost%20%3D%3D%20%27permalink.gmane.org%27%29%20%7B%0A%20%20var%20h2El%20%3D%20document.getElementsByTagName%20%28%27h2%27%29%5B0%5D%3B%0A%20%20if%20%28h2El%29%20%7B%0A%20%20%20%20title%20%3D%20swEscape%20%28h2El.textContent%29%3B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28h2El%29%3B%0A%20%20%7D%0A%7D%0Aif%20%28title%20%3D%3D%20null%20%7C%7C%20title%20%3D%3D%20%27%27%20%7C%7C%0A%20%20%20%20locationHost%20%3D%3D%20%27lists.w3.org%27%29%20%7B%0A%20%20var%20h1El%20%3D%20document.getElementsByTagName%20%28%27h1%27%29%5B0%5D%3B%0A%20%20H1EL%3A%20%7B%0A%20%20%20%20if%20%28h1El%29%20%7B%0A%20%20%20%20%20%20break%20H1EL%3B%0A%20%20%20%20%7D%0A%20%20%20%20var%20fonts%20%3D%20document.getElementsByTagName%20%28%27font%27%29%3B%0A%20%20%20%20fontsLength%20%3D%20fonts.length%3B%0A%20%20%20%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20fontsLength%3B%20i%2B%2B%29%20%7B%0A%20%20%20%20%20%20var%20font%20%3D%20fonts%5Bi%5D%3B%0A%20%20%20%20%20%20if%20%28font.size%20%3D%3D%20%277%27%20%7C%7C%20font.size%20%3D%3D%20%27%2B4%27%29%20%7B%0A%20%20%20%20%20%20%20%20h1El%20%3D%20font%3B%0A%20%20%20%20%20%20%20%20break%20H1EL%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%20%2F%2F%20H1EL%0A%20%20if%20%28h1El%29%20%7B%0A%20%20%20%20title%20%3D%20swEscape%20%28h1El.textContent%29%3B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28h1El%29%3B%0A%20%20%7D%20else%20%7B%0A%20%20%20%20title%20%3D%20title%20%3D%3D%20null%20%3F%20%27%27%20%3A%20title%3B%0A%20%20%7D%0A%7D%20else%20%7B%0A%20%20title%20%3D%20swEscape%20%28title%29%3B%0A%20%20var%20titleEl%20%3D%20document.getElementsByTagName%20%28%27title%27%29%5B0%5D%3B%0A%20%20if%20%28titleEl%29%20%7B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28titleEl%29%3B%0A%20%20%7D%0A%7D%0Aif%20%28titleLang%20!%3D%20%27%27%29%20%7B%0A%20%20titleLang%20%3D%20%27%40%27%20%2B%20titleLang%3B%0A%7D%0A%0Avar%20lm%20%3D%20document.lastModified%3B%0Aif%20%28locationHost%20%3D%3D%20%27permalink.gmane.org%27%29%20%7B%0A%20%20var%20o1El%20%3D%20document.getElementById%20%28%27o1%27%29%3B%0A%20%20if%20%28o1El%29%20%7B%0A%20%20%20%20var%20o1Prop%20%3D%20%5B%5D%3B%0A%20%20%20%20o1El.textContent.split%20%28%22%5Cn%22%29.forEach%20%28function%20%28s%29%20%7B%0A%20%20%20%20%20%20var%20nv%20%3D%20s.split%20%28%27%3A%20%27%2C%202%29%3B%0A%20%20%20%20%20%20o1Prop%5Bnv%5B0%5D.toLowerCase%20%28%29%5D%20%3D%20nv%5B1%5D%3B%0A%20%20%20%20%7D%29%3B%0A%20%20%20%20if%20%28o1Prop.from%29%20%7B%0A%20%20%20%20%20%20documentAuthor%20%3D%20o1Prop.from.replace%20%28%2F%5Cs*%3C%5B%5E%3C%3E%5D%2B%3Cat%3E%5B%5E%3C%3E%5D%2B%3E%5Cs*%24%2F%2C%20%27%27%29%3B%0A%20%20%20%20%7D%0A%20%20%20%20var%20m%3B%0A%20%20%20%20if%20%28m%20%3D%20o1Prop.date.match%20%28%2F%5E%28%5Cd%2B%29-%28%5Cd%2B%29-%28%5Cd%2B%29%5Cs%2B%28%5Cd%2B%29%3A%28%5Cd%2B%29%3A%28%5Cd%2B%29%5Cs%2BGMT%24%2F%29%29%20%7B%0A%20%20%20%20%20%20lm%20%3D%20new%20Date%20%28m%5B1%5D%2C%20m%5B2%5D%20-%201%2C%20m%5B3%5D%2C%20m%5B4%5D%2C%20m%5B5%5D%2C%20m%5B6%5D%29%3B%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%20else%20if%20%28locationHost%20%3D%3D%20%27lists.w3.org%27%29%20%7B%0A%20%20if%20%28documentAuthor%20!%3D%20null%29%20%7B%0A%20%20%20%20documentAuthor%0A%20%20%20%20%20%20%20%20%3D%20documentAuthor.replace%20%28%2F%5Cs%2B%5C%28%5B%5E%28%29%5D%2B%5C%29%24%2F%2C%20%27%27%29%3B%0A%20%20%7D%0A%20%20var%20dateEl%20%3D%20document.getElementById%20%28%27date%27%29%3B%0A%20%20if%20%28dateEl%29%20%7B%0A%20%20%20%20var%20m%20%3D%20dateEl.textContent%0A%20%20%20%20%20%20%20%20.replace%20%28%2F%5EDate%3A%5Cs%2B%2F%2C%20%27%27%29%3B%0A%20%20%20%20lm%20%3D%20new%20Date%20%28m%29%3B%0A%20%20%7D%0A%7D%20else%20if%20%28locationHost%20%3D%3D%20%27listserv.heanet.ie%27%29%20%7B%0A%20%20var%20docText%20%3D%20document.documentElement.textContent%3B%0A%20%20var%20m%3B%0A%20%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbSubject%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20%20%20%20title%20%3D%20swEscape%20%28m%5B1%5D%29%3B%0A%20%20%20%20titleLang%20%3D%20%27%40en%27%3B%0A%20%20%7D%0A%20%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbFrom%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20%20%20%20var%20documentAuthor%20%3D%20m%5B1%5D%3B%0A%20%20%20%20if%20%28m%20%3D%20documentAuthor.match%0A%20%20%20%20%20%20%20%20%28%2F%5E%5C%5Blog%20in%20to%20unmask%5C%5D%5Cs*%5C%28%28%5B%5E%28%29%5D%2B%29%5C%29%24%2F%29%29%20%7B%0A%20%20%20%20%20%20documentAuthor%20%3D%20m%5B1%5D%3B%0A%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20documentAuthor%20%3D%20documentAuthor.replace%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%28%2F%5Cs*%3C%5C%5Blog%20in%20to%20unmask%5C%5D%3E%2F%2C%20%27%27%29%0A%20%20%20%20%20%20%20%20%20%20.replace%20%28%2F%22%2Fg%2C%20%27%27%29%0A%20%20%20%20%20%20%20%20%20%20.replace%20%28%2F%5C%5Blog%20in%20to%20unmask%5C%5D%2F%2C%20%27%27%29%3B%0A%20%20%20%20%7D%0A%20%20%20%20if%20%28!documentAuthor%29%20documentAuthor%20%3D%20null%3B%0A%20%20%7D%0A%20%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbDate%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20%20%20%20if%20%28m%20%3D%20m%5B1%5D.match%20%28%2F%5E%5BA-Za-z%5D%2B%2C%20%28%5Cd%2B%29%20%28%5CS%2B%29%20%28%5Cd%2B%20%5Cd%2B%3A%5Cd%2B%3A%5Cd%2B%20E%5BSD%5DT%29%24%2F%29%29%20%7B%0A%20%20%20%20%20%20lm%20%3D%20new%20Date%20%28m%5B2%5D%20%2B%20%27%20%27%20%2B%20m%5B1%5D%20%2B%20%27%2C%20%27%20%2B%20m%5B3%5D%29%3B%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0Aif%20%28lm%20!%3D%20null%20%26%26%20lm%20!%3D%20%27%27%29%20%7B%0A%20%20lm%20%3D%20new%20Date%20%28lm%29%3B%0A%7D%20else%20%7B%0A%20%20lm%20%3D%20null%3B%0A%7D%0Aif%20%28lm%20!%3D%20null%29%20%7B%0A%20%20var%20tzo%20%3D%20lm.getTimezoneOffset%20%28%29%3B%0A%20%20lm%20%3D%20%27%5BTIME%5B%27%20%2B%20lm.getFullYear%20%28%29%20%2B%20%27-%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20%28lm.getMonth%20%28%29%20%2B%201%29%29.substr%20%28-2%2C%202%29%20%2B%20%27-%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getDate%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getHours%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getMinutes%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getSeconds%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%20%20%20%20%20%2B%20%28tzo%20%3E%200%20%3F%20%27-%27%20%3A%20%27%2B%27%29%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%2F%2060%29%29.substr%20%28-2%2C%202%29%0A%20%20%20%20%20%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%25%2060%29%29.substr%20%28-2%2C%202%29%0A%20%20%20%20%20%20%2B%20%27%5D%5D%27%3B%0A%7D%0A%0Avar%20credit%20%3D%20%27%27%3B%0Aif%20%28documentAuthor%20!%3D%20null%29%20%7B%0A%20%20credit%20%3D%20%27%20%28%5B%5B%27%20%2B%20swEscape%20%28documentAuthor%29%20%2B%20%27%5D%5D%20%E8%91%97%27%3B%0A%20%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20%20%20%20credit%20%2B%3D%20%27%2C%20%27%20%2B%20lm%20%2B%20%27%20%E7%89%88%29%27%3B%0A%20%20%7D%0A%7D%20else%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20%20credit%20%3D%20%27%20%28%27%20%2B%20lm%20%2B%20%27%20%E7%89%88%29%27%3B%0A%7D%0A%0Avar%20uri%20%3D%20location.href%3B%0A%0Avar%20text%20%3D%20%27%5BCITE%27%20%2B%20titleLang%2B%20%27%5B%27%20%2B%20title%20%2B%20%27%5D%5D%27%0A%20%20%20%20%2B%20credit%20%2B%20%27%20%3C%27%20%2B%0A%20%20%20%20uri%20%2B%20%27%3E%27%3B%0Atext%20%3D%20text.replace%20%28%2F%5Cs%2B%2F%2C%20%27%20%27%29%3B%0A%0Avoid%20%28prompt%20%28%27%27%2C%20text%29%29%3B%0A%0A%0A%0A>
([[名無しさん]] [WEAK[2007-07-01 12:36:37 +00:00]])
[96]
gmane 側の変更に追随、 html5.org 対応 [TIME[2010-08-15T23:45:47.900Z]]
<javascript:%0A%0Afunction%20swEscape%20%28s%29%20%7B%0A%20%20return%20s.replace%20%28%2F%5C%5B%2F%2C%20%22%27%27%27%5B%27%27%27%22%29.replace%20%28%2F%5C%5D%2F%2C%20%22%27%27%27%5D%27%27%27%22%29%3B%0A%7D%20%2F%2F%20swEscape%0A%0Afunction%20setTimeZoneToUTC%20%28d%29%20%7B%0A%20%20d.setUTCFullYear%20%28d.getFullYear%20%28%29%2C%20d.getMonth%20%28%29%2C%20d.getDate%20%28%29%29%3B%0A%20%20d.setUTCHours%20%28d.getHours%20%28%29%2C%20d.getMinutes%20%28%29%2C%20d.getSeconds%20%28%29%29%3B%0A%20%20return%20d%3B%0A%7D%20%2F%2F%20setTimeZoneToUTC%0A%0Avar%20documentLanguage%20%3D%20null%3B%0Avar%20documentAuthor%20%3D%20null%3B%0Afunction%20scanMeta%20%28%29%20%7B%0A%20%20var%20metas%20%3D%20document.getElementsByTagName%20%28%27meta%27%29%3B%0A%20%20var%20metasLength%20%3D%20metas.length%3B%0A%20%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20metasLength%3B%20i%2B%2B%29%20%7B%0A%20%20%20%20var%20meta%20%3D%20metas%5Bi%5D%3B%0A%20%20%20%20var%20metaFieldName%20%3D%20meta.httpEquiv.toLowerCase%20%28%29%3B%0A%20%20%20%20if%20%28metaFieldName%20%3D%3D%20%27content-language%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentLanguage%20%3D%20meta.content.split%20%28%2F%5Cs*%2C%5Cs*%2F%29%5B0%5D%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%0A%20%20%20%20var%20metaName%20%3D%20meta.name.toLowerCase%20%28%29%3B%0A%20%20%20%20if%20%28metaName%20%3D%3D%20%27author%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentAuthor%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentAuthor%20%3D%20meta.content%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%20else%20if%20%28metaName%20%3D%3D%20%27ms.locale%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentLanguage%20%3D%20meta.content%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%20%2F%2F%20scanMeta%0A%0Afunction%20getElementLanguage%20%28el%29%20%7B%0A%20%20var%20xmlNS%20%3D%20%27http%3A%2F%2Fwww.w3.org%2FXML%2F1998%2Fnamespace%27%3B%0A%20%20while%20%28el%20!%3D%20null%29%20%7B%0A%20%20%20%20if%20%28el.nodeType%20%3D%3D%20el.ELEMENT_NODE%29%20%7B%0A%20%20%20%20%20%20if%20%28el.hasAttributeNS%20%28xmlNS%2C%20%27lang%27%29%29%20%7B%0A%20%20%20%20%20%20%20%20return%20el.getAttributeNS%20%28xmlNS%2C%20%27lang%27%29%3B%0A%20%20%20%20%20%20%7D%20else%20if%20%28%28el.namespaceURI%20%3D%3D%20null%20%7C%7C%0A%20%20%20%20%20%20%20%20%20%20el.namespaceURI%20%3D%3D%20%27http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%27%29%20%26%26%0A%20%20%20%20%20%20%20%20%20%20el.hasAttributeNS%20%28null%2C%20%27lang%27%29%29%20%7B%0A%20%20%20%20%20%20%20%20return%20el.getAttributeNS%20%28null%2C%20%27lang%27%29%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%20%20el%20%3D%20el.parentNode%3B%0A%20%20%7D%0A%0A%20%20%2F*%20NOTE%3A%20%7CContent-Language%7C%20is%20not%20supported%0A%20%20%20%20%20%20since%20DOM%20provides%20no%20access%20to%20HTTP%0A%20%20%20%20%20%20header%20fields.%20*%2F%0A%20%20return%20documentLanguage%20!%3D%20null%20%3F%20documentLanguage%20%3A%20%27%27%3B%0A%7D%20%2F%2F%20getElementLanguage%0A%0AscanMeta%20%28%29%3B%0A%0Avar%20locationHost%3B%0Atry%20%7B%0A%20%20locationHost%20%3D%20location.host%3B%0A%7D%20catch%20%28e%29%20%7B%0A%20%20locationHost%20%3D%20null%3B%0A%7D%0A%0Avar%20title%20%3D%20document.title%3B%0Avar%20titleLang%20%3D%20%27%27%3B%0Avar%20lm%20%3D%20document.lastModified%3B%0Aif%20%28locationHost%20%3D%3D%20%27permalink.gmane.org%27%29%20%7B%0A%20%20var%20h2El%20%3D%20document.getElementsByTagName%20%28%27h2%27%29%5B0%5D%3B%0A%20%20if%20%28h2El%29%20%7B%0A%20%20%20%20title%20%3D%20swEscape%20%28h2El.textContent%29%3B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28h2El%29%3B%0A%20%20%7D%0A%7D%0Aif%20%28locationHost%20%3D%3D%20%27html5.org%27%29%20%7B%0A%20%20var%20logEl%20%3D%20document.getElementById%20%28%27log%27%29%3B%0A%20%20if%20%28logEl%29%20%7B%0A%20%20%20%20var%20rows%20%3D%20logEl.rows%3B%0A%20%20%20%20if%20%28rows.length%20%3D%3D%202%29%20%7B%0A%20%20%20%20%20%20var%20row%20%3D%20rows%5B1%5D%3B%0A%20%20%20%20%20%20var%20revCell%20%3D%20row.cells%5B0%5D%3B%0A%20%20%20%20%20%20if%20%28revCell%29%20%7B%0A%20%20%20%20%20%20%20%20var%20rev%20%3D%20parseInt%20%28revCell.textContent%29%3B%0A%20%20%20%20%20%20%20%20if%20%28rev%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20var%20titleCell%20%3D%20row.cells%5B1%5D%3B%0A%20%20%20%20%20%20%20%20%20%20if%20%28titleCell%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20title%20%3D%20%27Web%20Applications%201.0%20r%27%20%2B%20rev%20%2B%20%27%20%27%20%2B%20swEscape%20%28titleCell.textContent%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28titleCell%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20var%20m%20%3D%20row.cells%5B2%5D.textContent.match%20%28%2F%5E%28%5B0-9%5D%7B4%7D%29-%28%5B0-9%5D%7B2%7D%29-%28%5B0-9%5D%7B2%7D%29%5Cs%2B%28%5B0-9%5D%7B2%7D%29%3A%28%5B0-9%5D%7B2%7D%29%24%2F%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20lm%20%3D%20setTimeZoneToUTC%20%28new%20Date%20%28m%5B1%5D%2C%20m%5B2%5D%20-%201%2C%20m%5B3%5D%2C%20m%5B4%5D%2C%20m%5B5%5D%29%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%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0Aif%20%28title%20%3D%3D%20null%20%7C%7C%20title%20%3D%3D%20%27%27%20%7C%7C%0A%20%20%20%20locationHost%20%3D%3D%20%27lists.w3.org%27%29%20%7B%0A%20%20var%20h1El%20%3D%20document.getElementsByTagName%20%28%27h1%27%29%5B0%5D%3B%0A%20%20H1EL%3A%20%7B%0A%20%20%20%20if%20%28h1El%29%20%7B%0A%20%20%20%20%20%20break%20H1EL%3B%0A%20%20%20%20%7D%0A%20%20%20%20var%20fonts%20%3D%20document.getElementsByTagName%20%28%27font%27%29%3B%0A%20%20%20%20fontsLength%20%3D%20fonts.length%3B%0A%20%20%20%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20fontsLength%3B%20i%2B%2B%29%20%7B%0A%20%20%20%20%20%20var%20font%20%3D%20fonts%5Bi%5D%3B%0A%20%20%20%20%20%20if%20%28font.size%20%3D%3D%20%277%27%20%7C%7C%20font.size%20%3D%3D%20%27%2B4%27%29%20%7B%0A%20%20%20%20%20%20%20%20h1El%20%3D%20font%3B%0A%20%20%20%20%20%20%20%20break%20H1EL%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%20%2F%2F%20H1EL%0A%20%20if%20%28h1El%29%20%7B%0A%20%20%20%20title%20%3D%20swEscape%20%28h1El.textContent%29%3B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28h1El%29%3B%0A%20%20%7D%20else%20%7B%0A%20%20%20%20title%20%3D%20title%20%3D%3D%20null%20%3F%20%27%27%20%3A%20title%3B%0A%20%20%7D%0A%7D%20else%20%7B%0A%20%20title%20%3D%20swEscape%20%28title%29%3B%0A%20%20var%20titleEl%20%3D%20document.getElementsByTagName%20%28%27title%27%29%5B0%5D%3B%0A%20%20if%20%28titleEl%29%20%7B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28titleEl%29%3B%0A%20%20%7D%0A%7D%0Aif%20%28titleLang%20!%3D%20%27%27%29%20%7B%0A%20%20titleLang%20%3D%20%27%40%27%20%2B%20titleLang%3B%0A%7D%0A%0Aif%20%28locationHost%20%3D%3D%20%27permalink.gmane.org%27%29%20%7B%0A%20%20var%20o1El%20%3D%20document.getElementById%20%28%27o1%27%29%3B%0A%20%20if%20%28o1El%29%20%7B%0A%20%20%20%20var%20o1Prop%20%3D%20%7B%7D%3B%0A%20%20%20%20o1El.textContent.split%20%28%22%5Cn%22%29.forEach%20%28function%20%28s%29%20%7B%0A%20%20%20%20%20%20var%20nv%20%3D%20s.split%20%28%27%3A%20%27%2C%202%29%3B%0A%20%20%20%20%20%20if%20%28nv%5B1%5D%29%20%7B%0A%20%20%20%20%20%20%20%20o1Prop%5Bnv%5B0%5D.toLowerCase%20%28%29%5D%20%3D%20nv%5B1%5D%3B%0A%20%20%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20if%20%28!o1Prop.from%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20o1Prop.from%20%3D%20s%3B%0A%20%20%20%20%20%20%20%20%7D%20else%20if%20%28!o1Prop.date%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20o1Prop.date%20%3D%20s%3B%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%29%3B%0A%20%20%20%20if%20%28o1Prop.from%29%20%7B%0A%20%20%20%20%20%20documentAuthor%20%3D%20o1Prop.from.replace%20%28%2F%5Cs*%3C%5B%5E%3C%3E%5D%2B%3Cat%3E%5B%5E%3C%3E%5D%2B%3E%5Cs*%24%2F%2C%20%27%27%29%3B%0A%20%20%20%20%7D%0A%20%20%20%20if%20%28o1Prop.date%29%20%7B%0A%20%20%20%20%20%20var%20m%3B%0A%20%20%20%20%20%20if%20%28m%20%3D%20o1Prop.date.match%20%28%2F%5E%28%5Cd%2B%29-%28%5Cd%2B%29-%28%5Cd%2B%29%5Cs%2B%28%5Cd%2B%29%3A%28%5Cd%2B%29%3A%28%5Cd%2B%29%5Cs%2BGMT%24%2F%29%29%20%7B%0A%20%20%20%20%20%20%20%20lm%20%3D%20setTimeZoneToUTC%20%28new%20Date%20%28m%5B1%5D%2C%20m%5B2%5D%20-%201%2C%20m%5B3%5D%2C%20m%5B4%5D%2C%20m%5B5%5D%2C%20m%5B6%5D%29%29%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%20else%20if%20%28locationHost%20%3D%3D%20%27lists.w3.org%27%29%20%7B%0A%20%20if%20%28documentAuthor%20!%3D%20null%29%20%7B%0A%20%20%20%20documentAuthor%0A%20%20%20%20%20%20%20%20%3D%20documentAuthor.replace%20%28%2F%5Cs%2B%5C%28%5B%5E%28%29%5D%2B%5C%29%24%2F%2C%20%27%27%29%3B%0A%20%20%7D%0A%20%20var%20dateEl%20%3D%20document.getElementById%20%28%27date%27%29%3B%0A%20%20if%20%28dateEl%29%20%7B%0A%20%20%20%20var%20m%20%3D%20dateEl.textContent%0A%20%20%20%20%20%20%20%20.replace%20%28%2F%5EDate%3A%5Cs%2B%2F%2C%20%27%27%29%3B%0A%20%20%20%20lm%20%3D%20new%20Date%20%28m%29%3B%0A%20%20%7D%0A%7D%20else%20if%20%28locationHost%20%3D%3D%20%27listserv.heanet.ie%27%29%20%7B%0A%20%20var%20docText%20%3D%20document.documentElement.textContent%3B%0A%20%20var%20m%3B%0A%20%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbSubject%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20%20%20%20title%20%3D%20swEscape%20%28m%5B1%5D%29%3B%0A%20%20%20%20titleLang%20%3D%20%27%40en%27%3B%0A%20%20%7D%0A%20%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbFrom%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20%20%20%20var%20documentAuthor%20%3D%20m%5B1%5D%3B%0A%20%20%20%20if%20%28m%20%3D%20documentAuthor.match%0A%20%20%20%20%20%20%20%20%28%2F%5E%5C%5Blog%20in%20to%20unmask%5C%5D%5Cs*%5C%28%28%5B%5E%28%29%5D%2B%29%5C%29%24%2F%29%29%20%7B%0A%20%20%20%20%20%20documentAuthor%20%3D%20m%5B1%5D%3B%0A%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20documentAuthor%20%3D%20documentAuthor.replace%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%28%2F%5Cs*%3C%5C%5Blog%20in%20to%20unmask%5C%5D%3E%2F%2C%20%27%27%29%0A%20%20%20%20%20%20%20%20%20%20.replace%20%28%2F%22%2Fg%2C%20%27%27%29%0A%20%20%20%20%20%20%20%20%20%20.replace%20%28%2F%5C%5Blog%20in%20to%20unmask%5C%5D%2F%2C%20%27%27%29%3B%0A%20%20%20%20%7D%0A%20%20%20%20if%20%28!documentAuthor%29%20documentAuthor%20%3D%20null%3B%0A%20%20%7D%0A%20%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbDate%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20%20%20%20if%20%28m%20%3D%20m%5B1%5D.match%20%28%2F%5E%5BA-Za-z%5D%2B%2C%20%28%5Cd%2B%29%20%28%5CS%2B%29%20%28%5Cd%2B%20%5Cd%2B%3A%5Cd%2B%3A%5Cd%2B%20E%5BSD%5DT%29%24%2F%29%29%20%7B%0A%20%20%20%20%20%20lm%20%3D%20new%20Date%20%28m%5B2%5D%20%2B%20%27%20%27%20%2B%20m%5B1%5D%20%2B%20%27%2C%20%27%20%2B%20m%5B3%5D%29%3B%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0Aif%20%28lm%20!%3D%20null%20%26%26%20lm%20!%3D%20%27%27%29%20%7B%0A%20%20lm%20%3D%20new%20Date%20%28lm%29%3B%0A%7D%20else%20%7B%0A%20%20lm%20%3D%20null%3B%0A%7D%0Aif%20%28lm%20!%3D%20null%29%20%7B%0A%20%20var%20tzo%20%3D%20lm.getTimezoneOffset%20%28%29%3B%0A%20%20lm%20%3D%20%27%5BTIME%5B%27%20%2B%20lm.getFullYear%20%28%29%20%2B%20%27-%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20%28lm.getMonth%20%28%29%20%2B%201%29%29.substr%20%28-2%2C%202%29%20%2B%20%27-%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getDate%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getHours%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getMinutes%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getSeconds%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%20%20%20%20%20%2B%20%28tzo%20%3E%200%20%3F%20%27-%27%20%3A%20%27%2B%27%29%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%2F%2060%29%29.substr%20%28-2%2C%202%29%0A%20%20%20%20%20%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%25%2060%29%29.substr%20%28-2%2C%202%29%0A%20%20%20%20%20%20%2B%20%27%5D%5D%27%3B%0A%7D%0A%0Avar%20credit%20%3D%20%27%27%3B%0Aif%20%28documentAuthor%20!%3D%20null%29%20%7B%0A%20%20credit%20%3D%20%27%20%28%5B%5B%27%20%2B%20swEscape%20%28documentAuthor%29%20%2B%20%27%5D%5D%20%E8%91%97%27%3B%0A%20%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20%20%20%20credit%20%2B%3D%20%27%2C%20%27%20%2B%20lm%20%2B%20%27%20%E7%89%88%29%27%3B%0A%20%20%7D%0A%7D%20else%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20%20credit%20%3D%20%27%20%28%27%20%2B%20lm%20%2B%20%27%20%E7%89%88%29%27%3B%0A%7D%0A%0Avar%20uri%20%3D%20location.href%3B%0A%0Avar%20text%20%3D%20%27%5BCITE%27%20%2B%20titleLang%2B%20%27%5B%27%20%2B%20title%20%2B%20%27%5D%5D%27%0A%20%20%20%20%2B%20credit%20%2B%20%27%20%3C%27%20%2B%0A%20%20%20%20uri%20%2B%20%27%3E%27%3B%0Atext%20%3D%20text.replace%20%28%2F%5Cs%2B%2F%2C%20%27%20%27%29%3B%0A%0Avoid%20%28prompt%20%28%27%27%2C%20text%29%29%3B%0A%0A%0A%0A>
[100] >>96 [[HTML5]] Tracker の変更に追随 [TIME[2010-11-16T00:01:51.000Z]]
<javascript:%0A%0Afunction%20swEscape%20%28s%29%20%7B%0A%20%20return%20s.replace%20%28%2F%5C%5B%2F%2C%20%22%27%27%27%5B%27%27%27%22%29.replace%20%28%2F%5C%5D%2F%2C%20%22%27%27%27%5D%27%27%27%22%29%3B%0A%7D%20%2F%2F%20swEscape%0A%0Afunction%20setTimeZoneToUTC%20%28d%29%20%7B%0A%20%20d.setUTCFullYear%20%28d.getFullYear%20%28%29%2C%20d.getMonth%20%28%29%2C%20d.getDate%20%28%29%29%3B%0A%20%20d.setUTCHours%20%28d.getHours%20%28%29%2C%20d.getMinutes%20%28%29%2C%20d.getSeconds%20%28%29%29%3B%0A%20%20return%20d%3B%0A%7D%20%2F%2F%20setTimeZoneToUTC%0A%0Avar%20documentLanguage%20%3D%20null%3B%0Avar%20documentAuthor%20%3D%20null%3B%0Afunction%20scanMeta%20%28%29%20%7B%0A%20%20var%20metas%20%3D%20document.getElementsByTagName%20%28%27meta%27%29%3B%0A%20%20var%20metasLength%20%3D%20metas.length%3B%0A%20%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20metasLength%3B%20i%2B%2B%29%20%7B%0A%20%20%20%20var%20meta%20%3D%20metas%5Bi%5D%3B%0A%20%20%20%20var%20metaFieldName%20%3D%20meta.httpEquiv.toLowerCase%20%28%29%3B%0A%20%20%20%20if%20%28metaFieldName%20%3D%3D%20%27content-language%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentLanguage%20%3D%20meta.content.split%20%28%2F%5Cs*%2C%5Cs*%2F%29%5B0%5D%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%0A%20%20%20%20var%20metaName%20%3D%20meta.name.toLowerCase%20%28%29%3B%0A%20%20%20%20if%20%28metaName%20%3D%3D%20%27author%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentAuthor%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentAuthor%20%3D%20meta.content%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%20else%20if%20%28metaName%20%3D%3D%20%27ms.locale%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentLanguage%20%3D%20meta.content%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%20%2F%2F%20scanMeta%0A%0Afunction%20getElementLanguage%20%28el%29%20%7B%0A%20%20var%20xmlNS%20%3D%20%27http%3A%2F%2Fwww.w3.org%2FXML%2F1998%2Fnamespace%27%3B%0A%20%20while%20%28el%20!%3D%20null%29%20%7B%0A%20%20%20%20if%20%28el.nodeType%20%3D%3D%20el.ELEMENT_NODE%29%20%7B%0A%20%20%20%20%20%20if%20%28el.hasAttributeNS%20%28xmlNS%2C%20%27lang%27%29%29%20%7B%0A%20%20%20%20%20%20%20%20return%20el.getAttributeNS%20%28xmlNS%2C%20%27lang%27%29%3B%0A%20%20%20%20%20%20%7D%20else%20if%20%28%28el.namespaceURI%20%3D%3D%20null%20%7C%7C%0A%20%20%20%20%20%20%20%20%20%20el.namespaceURI%20%3D%3D%20%27http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%27%29%20%26%26%0A%20%20%20%20%20%20%20%20%20%20el.hasAttributeNS%20%28null%2C%20%27lang%27%29%29%20%7B%0A%20%20%20%20%20%20%20%20return%20el.getAttributeNS%20%28null%2C%20%27lang%27%29%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%20%20el%20%3D%20el.parentNode%3B%0A%20%20%7D%0A%0A%20%20%2F*%20NOTE%3A%20%7CContent-Language%7C%20is%20not%20supported%0A%20%20%20%20%20%20since%20DOM%20provides%20no%20access%20to%20HTTP%0A%20%20%20%20%20%20header%20fields.%20*%2F%0A%20%20return%20documentLanguage%20!%3D%20null%20%3F%20documentLanguage%20%3A%20%27%27%3B%0A%7D%20%2F%2F%20getElementLanguage%0A%0AscanMeta%20%28%29%3B%0A%0Avar%20locationHost%3B%0Atry%20%7B%0A%20%20locationHost%20%3D%20location.host%3B%0A%7D%20catch%20%28e%29%20%7B%0A%20%20locationHost%20%3D%20null%3B%0A%7D%0A%0Avar%20title%20%3D%20document.title%3B%0Avar%20titleLang%20%3D%20%27%27%3B%0Avar%20lm%20%3D%20document.lastModified%3B%0Aif%20%28locationHost%20%3D%3D%20%27permalink.gmane.org%27%29%20%7B%0A%20%20var%20h2El%20%3D%20document.getElementsByTagName%20%28%27h2%27%29%5B0%5D%3B%0A%20%20if%20%28h2El%29%20%7B%0A%20%20%20%20title%20%3D%20swEscape%20%28h2El.textContent%29%3B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28h2El%29%3B%0A%20%20%7D%0A%7D%0Aif%20%28locationHost%20%3D%3D%20%27html5.org%27%29%20%7B%0A%20%20var%20logEl%20%3D%20document.getElementById%20%28%27log%27%29%3B%0A%20%20if%20%28logEl%29%20%7B%0A%20%20%20%20var%20rows%20%3D%20logEl.rows%3B%0A%20%20%20%20if%20%28rows.length%20%3D%3D%202%29%20%7B%0A%20%20%20%20%20%20var%20row%20%3D%20rows%5B1%5D%3B%0A%20%20%20%20%20%20var%20revCell%20%3D%20row.cells%5B0%5D%3B%0A%20%20%20%20%20%20if%20%28revCell%29%20%7B%0A%20%20%20%20%20%20%20%20var%20rev%20%3D%20parseInt%20%28revCell.textContent%29%3B%0A%20%20%20%20%20%20%20%20if%20%28rev%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20var%20titleCell%20%3D%20row.cells%5B1%5D%3B%0A%20%20%20%20%20%20%20%20%20%20if%20%28titleCell%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20title%20%3D%20%27Web%20Applications%201.0%20r%27%20%2B%20rev%20%2B%20%27%20%27%20%2B%20swEscape%20%28titleCell.textContent%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28titleCell%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20var%20m%20%3D%20row.cells%5B3%5D.textContent.match%20%28%2F%5E%28%5B0-9%5D%7B4%7D%29-%28%5B0-9%5D%7B2%7D%29-%28%5B0-9%5D%7B2%7D%29%5Cs%2B%28%5B0-9%5D%7B2%7D%29%3A%28%5B0-9%5D%7B2%7D%29%24%2F%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20%28m%29%20lm%20%3D%20setTimeZoneToUTC%20%28new%20Date%20%28m%5B1%5D%2C%20m%5B2%5D%20-%201%2C%20m%5B3%5D%2C%20m%5B4%5D%2C%20m%5B5%5D%29%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%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0Aif%20%28title%20%3D%3D%20null%20%7C%7C%20title%20%3D%3D%20%27%27%20%7C%7C%0A%20%20%20%20locationHost%20%3D%3D%20%27lists.w3.org%27%29%20%7B%0A%20%20var%20h1El%20%3D%20document.getElementsByTagName%20%28%27h1%27%29%5B0%5D%3B%0A%20%20H1EL%3A%20%7B%0A%20%20%20%20if%20%28h1El%29%20%7B%0A%20%20%20%20%20%20break%20H1EL%3B%0A%20%20%20%20%7D%0A%20%20%20%20var%20fonts%20%3D%20document.getElementsByTagName%20%28%27font%27%29%3B%0A%20%20%20%20fontsLength%20%3D%20fonts.length%3B%0A%20%20%20%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20fontsLength%3B%20i%2B%2B%29%20%7B%0A%20%20%20%20%20%20var%20font%20%3D%20fonts%5Bi%5D%3B%0A%20%20%20%20%20%20if%20%28font.size%20%3D%3D%20%277%27%20%7C%7C%20font.size%20%3D%3D%20%27%2B4%27%29%20%7B%0A%20%20%20%20%20%20%20%20h1El%20%3D%20font%3B%0A%20%20%20%20%20%20%20%20break%20H1EL%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%20%2F%2F%20H1EL%0A%20%20if%20%28h1El%29%20%7B%0A%20%20%20%20title%20%3D%20swEscape%20%28h1El.textContent%29%3B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28h1El%29%3B%0A%20%20%7D%20else%20%7B%0A%20%20%20%20title%20%3D%20title%20%3D%3D%20null%20%3F%20%27%27%20%3A%20title%3B%0A%20%20%7D%0A%7D%20else%20%7B%0A%20%20title%20%3D%20swEscape%20%28title%29%3B%0A%20%20var%20titleEl%20%3D%20document.getElementsByTagName%20%28%27title%27%29%5B0%5D%3B%0A%20%20if%20%28titleEl%29%20%7B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28titleEl%29%3B%0A%20%20%7D%0A%7D%0Aif%20%28titleLang%20!%3D%20%27%27%29%20%7B%0A%20%20titleLang%20%3D%20%27%40%27%20%2B%20titleLang%3B%0A%7D%0A%0Aif%20%28locationHost%20%3D%3D%20%27permalink.gmane.org%27%29%20%7B%0A%20%20var%20o1El%20%3D%20document.getElementById%20%28%27o1%27%29%3B%0A%20%20if%20%28o1El%29%20%7B%0A%20%20%20%20var%20o1Prop%20%3D%20%7B%7D%3B%0A%20%20%20%20o1El.textContent.split%20%28%22%5Cn%22%29.forEach%20%28function%20%28s%29%20%7B%0A%20%20%20%20%20%20var%20nv%20%3D%20s.split%20%28%27%3A%20%27%2C%202%29%3B%0A%20%20%20%20%20%20if%20%28nv%5B1%5D%29%20%7B%0A%20%20%20%20%20%20%20%20o1Prop%5Bnv%5B0%5D.toLowerCase%20%28%29%5D%20%3D%20nv%5B1%5D%3B%0A%20%20%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20if%20%28!o1Prop.from%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20o1Prop.from%20%3D%20s%3B%0A%20%20%20%20%20%20%20%20%7D%20else%20if%20%28!o1Prop.date%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20o1Prop.date%20%3D%20s%3B%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%29%3B%0A%20%20%20%20if%20%28o1Prop.from%29%20%7B%0A%20%20%20%20%20%20documentAuthor%20%3D%20o1Prop.from.replace%20%28%2F%5Cs*%3C%5B%5E%3C%3E%5D%2B%3Cat%3E%5B%5E%3C%3E%5D%2B%3E%5Cs*%24%2F%2C%20%27%27%29%3B%0A%20%20%20%20%7D%0A%20%20%20%20if%20%28o1Prop.date%29%20%7B%0A%20%20%20%20%20%20var%20m%3B%0A%20%20%20%20%20%20if%20%28m%20%3D%20o1Prop.date.match%20%28%2F%5E%28%5Cd%2B%29-%28%5Cd%2B%29-%28%5Cd%2B%29%5Cs%2B%28%5Cd%2B%29%3A%28%5Cd%2B%29%3A%28%5Cd%2B%29%5Cs%2BGMT%24%2F%29%29%20%7B%0A%20%20%20%20%20%20%20%20lm%20%3D%20setTimeZoneToUTC%20%28new%20Date%20%28m%5B1%5D%2C%20m%5B2%5D%20-%201%2C%20m%5B3%5D%2C%20m%5B4%5D%2C%20m%5B5%5D%2C%20m%5B6%5D%29%29%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%20else%20if%20%28locationHost%20%3D%3D%20%27lists.w3.org%27%29%20%7B%0A%20%20if%20%28documentAuthor%20!%3D%20null%29%20%7B%0A%20%20%20%20documentAuthor%0A%20%20%20%20%20%20%20%20%3D%20documentAuthor.replace%20%28%2F%5Cs%2B%5C%28%5B%5E%28%29%5D%2B%5C%29%24%2F%2C%20%27%27%29%3B%0A%20%20%7D%0A%20%20var%20dateEl%20%3D%20document.getElementById%20%28%27date%27%29%3B%0A%20%20if%20%28dateEl%29%20%7B%0A%20%20%20%20var%20m%20%3D%20dateEl.textContent%0A%20%20%20%20%20%20%20%20.replace%20%28%2F%5EDate%3A%5Cs%2B%2F%2C%20%27%27%29%3B%0A%20%20%20%20lm%20%3D%20new%20Date%20%28m%29%3B%0A%20%20%7D%0A%7D%20else%20if%20%28locationHost%20%3D%3D%20%27listserv.heanet.ie%27%29%20%7B%0A%20%20var%20docText%20%3D%20document.documentElement.textContent%3B%0A%20%20var%20m%3B%0A%20%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbSubject%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20%20%20%20title%20%3D%20swEscape%20%28m%5B1%5D%29%3B%0A%20%20%20%20titleLang%20%3D%20%27%40en%27%3B%0A%20%20%7D%0A%20%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbFrom%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20%20%20%20var%20documentAuthor%20%3D%20m%5B1%5D%3B%0A%20%20%20%20if%20%28m%20%3D%20documentAuthor.match%0A%20%20%20%20%20%20%20%20%28%2F%5E%5C%5Blog%20in%20to%20unmask%5C%5D%5Cs*%5C%28%28%5B%5E%28%29%5D%2B%29%5C%29%24%2F%29%29%20%7B%0A%20%20%20%20%20%20documentAuthor%20%3D%20m%5B1%5D%3B%0A%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20documentAuthor%20%3D%20documentAuthor.replace%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%28%2F%5Cs*%3C%5C%5Blog%20in%20to%20unmask%5C%5D%3E%2F%2C%20%27%27%29%0A%20%20%20%20%20%20%20%20%20%20.replace%20%28%2F%22%2Fg%2C%20%27%27%29%0A%20%20%20%20%20%20%20%20%20%20.replace%20%28%2F%5C%5Blog%20in%20to%20unmask%5C%5D%2F%2C%20%27%27%29%3B%0A%20%20%20%20%7D%0A%20%20%20%20if%20%28!documentAuthor%29%20documentAuthor%20%3D%20null%3B%0A%20%20%7D%0A%20%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbDate%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20%20%20%20if%20%28m%20%3D%20m%5B1%5D.match%20%28%2F%5E%5BA-Za-z%5D%2B%2C%20%28%5Cd%2B%29%20%28%5CS%2B%29%20%28%5Cd%2B%20%5Cd%2B%3A%5Cd%2B%3A%5Cd%2B%20E%5BSD%5DT%29%24%2F%29%29%20%7B%0A%20%20%20%20%20%20lm%20%3D%20new%20Date%20%28m%5B2%5D%20%2B%20%27%20%27%20%2B%20m%5B1%5D%20%2B%20%27%2C%20%27%20%2B%20m%5B3%5D%29%3B%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0Aif%20%28lm%20!%3D%20null%20%26%26%20lm%20!%3D%20%27%27%29%20%7B%0A%20%20lm%20%3D%20new%20Date%20%28lm%29%3B%0A%7D%20else%20%7B%0A%20%20lm%20%3D%20null%3B%0A%7D%0Aif%20%28lm%20!%3D%20null%29%20%7B%0A%20%20var%20tzo%20%3D%20lm.getTimezoneOffset%20%28%29%3B%0A%20%20lm%20%3D%20%27%5BTIME%5B%27%20%2B%20lm.getFullYear%20%28%29%20%2B%20%27-%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20%28lm.getMonth%20%28%29%20%2B%201%29%29.substr%20%28-2%2C%202%29%20%2B%20%27-%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getDate%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getHours%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getMinutes%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getSeconds%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%20%20%20%20%20%2B%20%28tzo%20%3E%200%20%3F%20%27-%27%20%3A%20%27%2B%27%29%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%2F%2060%29%29.substr%20%28-2%2C%202%29%0A%20%20%20%20%20%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%25%2060%29%29.substr%20%28-2%2C%202%29%0A%20%20%20%20%20%20%2B%20%27%5D%5D%27%3B%0A%7D%0A%0Avar%20credit%20%3D%20%27%27%3B%0Aif%20%28documentAuthor%20!%3D%20null%29%20%7B%0A%20%20credit%20%3D%20%27%20%28%5B%5B%27%20%2B%20swEscape%20%28documentAuthor%29%20%2B%20%27%5D%5D%20%E8%91%97%27%3B%0A%20%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20%20%20%20credit%20%2B%3D%20%27%2C%20%27%20%2B%20lm%20%2B%20%27%20%E7%89%88%29%27%3B%0A%20%20%7D%0A%7D%20else%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20%20credit%20%3D%20%27%20%28%27%20%2B%20lm%20%2B%20%27%20%E7%89%88%29%27%3B%0A%7D%0A%0Avar%20uri%20%3D%20location.href%3B%0A%0Avar%20text%20%3D%20%27%5BCITE%27%20%2B%20titleLang%2B%20%27%5B%27%20%2B%20title%20%2B%20%27%5D%5D%27%0A%20%20%20%20%2B%20credit%20%2B%20%27%20%3C%27%20%2B%0A%20%20%20%20uri%20%2B%20%27%3E%27%3B%0Atext%20%3D%20text.replace%20%28%2F%5Cs%2B%2F%2C%20%27%20%27%29%3B%0A%0Avoid%20%28prompt%20%28%27%27%2C%20text%29%29%3B%0A%0A%0A%0A>
[101]
html5.org [TIME[2011-04-25T13:53:54.500Z]]
<javascript:%0A%0Afunction%20swEscape%20%28s%29%20%7B%0A%20%20return%20s.replace%20%28%2F%5C%5B%2F%2C%20%22%27%27%27%5B%27%27%27%22%29.replace%20%28%2F%5C%5D%2F%2C%20%22%27%27%27%5D%27%27%27%22%29%3B%0A%7D%20%2F%2F%20swEscape%0A%0Afunction%20setTimeZoneToUTC%20%28d%29%20%7B%0A%20%20d.setUTCFullYear%20%28d.getFullYear%20%28%29%2C%20d.getMonth%20%28%29%2C%20d.getDate%20%28%29%29%3B%0A%20%20d.setUTCHours%20%28d.getHours%20%28%29%2C%20d.getMinutes%20%28%29%2C%20d.getSeconds%20%28%29%29%3B%0A%20%20return%20d%3B%0A%7D%20%2F%2F%20setTimeZoneToUTC%0A%0Avar%20documentLanguage%20%3D%20null%3B%0Avar%20documentAuthor%20%3D%20null%3B%0Afunction%20scanMeta%20%28%29%20%7B%0A%20%20var%20metas%20%3D%20document.getElementsByTagName%20%28%27meta%27%29%3B%0A%20%20var%20metasLength%20%3D%20metas.length%3B%0A%20%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20metasLength%3B%20i%2B%2B%29%20%7B%0A%20%20%20%20var%20meta%20%3D%20metas%5Bi%5D%3B%0A%20%20%20%20var%20metaFieldName%20%3D%20meta.httpEquiv.toLowerCase%20%28%29%3B%0A%20%20%20%20if%20%28metaFieldName%20%3D%3D%20%27content-language%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentLanguage%20%3D%20meta.content.split%20%28%2F%5Cs*%2C%5Cs*%2F%29%5B0%5D%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%0A%20%20%20%20var%20metaName%20%3D%20meta.name.toLowerCase%20%28%29%3B%0A%20%20%20%20if%20%28metaName%20%3D%3D%20%27author%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentAuthor%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentAuthor%20%3D%20meta.content%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%20else%20if%20%28metaName%20%3D%3D%20%27ms.locale%27%29%20%7B%0A%20%20%20%20%20%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20%20%20%20%20%20%20%20documentLanguage%20%3D%20meta.content%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%20%2F%2F%20scanMeta%0A%0Afunction%20getElementLanguage%20%28el%29%20%7B%0A%20%20var%20xmlNS%20%3D%20%27http%3A%2F%2Fwww.w3.org%2FXML%2F1998%2Fnamespace%27%3B%0A%20%20while%20%28el%20!%3D%20null%29%20%7B%0A%20%20%20%20if%20%28el.nodeType%20%3D%3D%20el.ELEMENT_NODE%29%20%7B%0A%20%20%20%20%20%20if%20%28el.hasAttributeNS%20%28xmlNS%2C%20%27lang%27%29%29%20%7B%0A%20%20%20%20%20%20%20%20return%20el.getAttributeNS%20%28xmlNS%2C%20%27lang%27%29%3B%0A%20%20%20%20%20%20%7D%20else%20if%20%28%28el.namespaceURI%20%3D%3D%20null%20%7C%7C%0A%20%20%20%20%20%20%20%20%20%20el.namespaceURI%20%3D%3D%20%27http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%27%29%20%26%26%0A%20%20%20%20%20%20%20%20%20%20el.hasAttributeNS%20%28null%2C%20%27lang%27%29%29%20%7B%0A%20%20%20%20%20%20%20%20return%20el.getAttributeNS%20%28null%2C%20%27lang%27%29%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%20%20el%20%3D%20el.parentNode%3B%0A%20%20%7D%0A%0A%20%20%2F*%20NOTE%3A%20%7CContent-Language%7C%20is%20not%20supported%0A%20%20%20%20%20%20since%20DOM%20provides%20no%20access%20to%20HTTP%0A%20%20%20%20%20%20header%20fields.%20*%2F%0A%20%20return%20documentLanguage%20!%3D%20null%20%3F%20documentLanguage%20%3A%20%27%27%3B%0A%7D%20%2F%2F%20getElementLanguage%0A%0AscanMeta%20%28%29%3B%0A%0Avar%20locationHost%3B%0Atry%20%7B%0A%20%20locationHost%20%3D%20location.host%3B%0A%7D%20catch%20%28e%29%20%7B%0A%20%20locationHost%20%3D%20null%3B%0A%7D%0A%0Avar%20title%20%3D%20document.title%3B%0Avar%20titleLang%20%3D%20%27%27%3B%0Avar%20lm%20%3D%20document.lastModified%3B%0Aif%20%28locationHost%20%3D%3D%20%27permalink.gmane.org%27%29%20%7B%0A%20%20var%20h2El%20%3D%20document.getElementsByTagName%20%28%27h2%27%29%5B0%5D%3B%0A%20%20if%20%28h2El%29%20%7B%0A%20%20%20%20title%20%3D%20swEscape%20%28h2El.textContent%29%3B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28h2El%29%3B%0A%20%20%7D%0A%7D%0Aif%20%28locationHost%20%3D%3D%20%27html5.org%27%29%20%7B%0A%20%20var%20logEl%20%3D%20document.getElementById%20%28%27log%27%29%3B%0A%20%20if%20%28logEl%29%20%7B%0A%20%20%20%20var%20rows%20%3D%20logEl.rows%3B%0A%20%20%20%20if%20%28rows.length%20%3D%3D%202%29%20%7B%0A%20%20%20%20%20%20var%20row%20%3D%20rows%5B1%5D%3B%0A%20%20%20%20%20%20var%20revCell%20%3D%20row.cells%5B0%5D%3B%0A%20%20%20%20%20%20if%20%28revCell%29%20%7B%0A%20%20%20%20%20%20%20%20var%20rev%20%3D%20parseInt%20%28revCell.textContent%29%3B%0A%20%20%20%20%20%20%20%20if%20%28rev%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20var%20titleCell%20%3D%20row.cells%5B2%5D%3B%0A%20%20%20%20%20%20%20%20%20%20if%20%28titleCell%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20title%20%3D%20%27Web%20Applications%201.0%20r%27%20%2B%20rev%20%2B%20%27%20%27%20%2B%20swEscape%20%28titleCell.textContent%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28titleCell%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20var%20m%20%3D%20row.cells%5B3%5D.textContent.match%20%28%2F%5E%28%5B0-9%5D%7B4%7D%29-%28%5B0-9%5D%7B2%7D%29-%28%5B0-9%5D%7B2%7D%29%5Cs%2B%28%5B0-9%5D%7B2%7D%29%3A%28%5B0-9%5D%7B2%7D%29%24%2F%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20%28m%29%20lm%20%3D%20setTimeZoneToUTC%20%28new%20Date%20%28m%5B1%5D%2C%20m%5B2%5D%20-%201%2C%20m%5B3%5D%2C%20m%5B4%5D%2C%20m%5B5%5D%29%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%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0Aif%20%28title%20%3D%3D%20null%20%7C%7C%20title%20%3D%3D%20%27%27%20%7C%7C%0A%20%20%20%20locationHost%20%3D%3D%20%27lists.w3.org%27%29%20%7B%0A%20%20var%20h1El%20%3D%20document.getElementsByTagName%20%28%27h1%27%29%5B0%5D%3B%0A%20%20H1EL%3A%20%7B%0A%20%20%20%20if%20%28h1El%29%20%7B%0A%20%20%20%20%20%20break%20H1EL%3B%0A%20%20%20%20%7D%0A%20%20%20%20var%20fonts%20%3D%20document.getElementsByTagName%20%28%27font%27%29%3B%0A%20%20%20%20fontsLength%20%3D%20fonts.length%3B%0A%20%20%20%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20fontsLength%3B%20i%2B%2B%29%20%7B%0A%20%20%20%20%20%20var%20font%20%3D%20fonts%5Bi%5D%3B%0A%20%20%20%20%20%20if%20%28font.size%20%3D%3D%20%277%27%20%7C%7C%20font.size%20%3D%3D%20%27%2B4%27%29%20%7B%0A%20%20%20%20%20%20%20%20h1El%20%3D%20font%3B%0A%20%20%20%20%20%20%20%20break%20H1EL%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%20%2F%2F%20H1EL%0A%20%20if%20%28h1El%29%20%7B%0A%20%20%20%20title%20%3D%20swEscape%20%28h1El.textContent%29%3B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28h1El%29%3B%0A%20%20%7D%20else%20%7B%0A%20%20%20%20title%20%3D%20title%20%3D%3D%20null%20%3F%20%27%27%20%3A%20title%3B%0A%20%20%7D%0A%7D%20else%20%7B%0A%20%20title%20%3D%20swEscape%20%28title%29%3B%0A%20%20var%20titleEl%20%3D%20document.getElementsByTagName%20%28%27title%27%29%5B0%5D%3B%0A%20%20if%20%28titleEl%29%20%7B%0A%20%20%20%20titleLang%20%3D%20getElementLanguage%20%28titleEl%29%3B%0A%20%20%7D%0A%7D%0Aif%20%28titleLang%20!%3D%20%27%27%29%20%7B%0A%20%20titleLang%20%3D%20%27%40%27%20%2B%20titleLang%3B%0A%7D%0A%0Aif%20%28locationHost%20%3D%3D%20%27permalink.gmane.org%27%29%20%7B%0A%20%20var%20o1El%20%3D%20document.getElementById%20%28%27o1%27%29%3B%0A%20%20if%20%28o1El%29%20%7B%0A%20%20%20%20var%20o1Prop%20%3D%20%7B%7D%3B%0A%20%20%20%20o1El.textContent.split%20%28%22%5Cn%22%29.forEach%20%28function%20%28s%29%20%7B%0A%20%20%20%20%20%20var%20nv%20%3D%20s.split%20%28%27%3A%20%27%2C%202%29%3B%0A%20%20%20%20%20%20if%20%28nv%5B1%5D%29%20%7B%0A%20%20%20%20%20%20%20%20o1Prop%5Bnv%5B0%5D.toLowerCase%20%28%29%5D%20%3D%20nv%5B1%5D%3B%0A%20%20%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20if%20%28!o1Prop.from%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20o1Prop.from%20%3D%20s%3B%0A%20%20%20%20%20%20%20%20%7D%20else%20if%20%28!o1Prop.date%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20o1Prop.date%20%3D%20s%3B%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%29%3B%0A%20%20%20%20if%20%28o1Prop.from%29%20%7B%0A%20%20%20%20%20%20documentAuthor%20%3D%20o1Prop.from.replace%20%28%2F%5Cs*%3C%5B%5E%3C%3E%5D%2B%3Cat%3E%5B%5E%3C%3E%5D%2B%3E%5Cs*%24%2F%2C%20%27%27%29%3B%0A%20%20%20%20%7D%0A%20%20%20%20if%20%28o1Prop.date%29%20%7B%0A%20%20%20%20%20%20var%20m%3B%0A%20%20%20%20%20%20if%20%28m%20%3D%20o1Prop.date.match%20%28%2F%5E%28%5Cd%2B%29-%28%5Cd%2B%29-%28%5Cd%2B%29%5Cs%2B%28%5Cd%2B%29%3A%28%5Cd%2B%29%3A%28%5Cd%2B%29%5Cs%2BGMT%24%2F%29%29%20%7B%0A%20%20%20%20%20%20%20%20lm%20%3D%20setTimeZoneToUTC%20%28new%20Date%20%28m%5B1%5D%2C%20m%5B2%5D%20-%201%2C%20m%5B3%5D%2C%20m%5B4%5D%2C%20m%5B5%5D%2C%20m%5B6%5D%29%29%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%20else%20if%20%28locationHost%20%3D%3D%20%27lists.w3.org%27%29%20%7B%0A%20%20if%20%28documentAuthor%20!%3D%20null%29%20%7B%0A%20%20%20%20documentAuthor%0A%20%20%20%20%20%20%20%20%3D%20documentAuthor.replace%20%28%2F%5Cs%2B%5C%28%5B%5E%28%29%5D%2B%5C%29%24%2F%2C%20%27%27%29%3B%0A%20%20%7D%0A%20%20var%20dateEl%20%3D%20document.getElementById%20%28%27date%27%29%3B%0A%20%20if%20%28dateEl%29%20%7B%0A%20%20%20%20var%20m%20%3D%20dateEl.textContent%0A%20%20%20%20%20%20%20%20.replace%20%28%2F%5EDate%3A%5Cs%2B%2F%2C%20%27%27%29%3B%0A%20%20%20%20lm%20%3D%20new%20Date%20%28m%29%3B%0A%20%20%7D%0A%7D%20else%20if%20%28locationHost%20%3D%3D%20%27listserv.heanet.ie%27%29%20%7B%0A%20%20var%20docText%20%3D%20document.documentElement.textContent%3B%0A%20%20var%20m%3B%0A%20%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbSubject%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20%20%20%20title%20%3D%20swEscape%20%28m%5B1%5D%29%3B%0A%20%20%20%20titleLang%20%3D%20%27%40en%27%3B%0A%20%20%7D%0A%20%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbFrom%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20%20%20%20var%20documentAuthor%20%3D%20m%5B1%5D%3B%0A%20%20%20%20if%20%28m%20%3D%20documentAuthor.match%0A%20%20%20%20%20%20%20%20%28%2F%5E%5C%5Blog%20in%20to%20unmask%5C%5D%5Cs*%5C%28%28%5B%5E%28%29%5D%2B%29%5C%29%24%2F%29%29%20%7B%0A%20%20%20%20%20%20documentAuthor%20%3D%20m%5B1%5D%3B%0A%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20documentAuthor%20%3D%20documentAuthor.replace%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%28%2F%5Cs*%3C%5C%5Blog%20in%20to%20unmask%5C%5D%3E%2F%2C%20%27%27%29%0A%20%20%20%20%20%20%20%20%20%20.replace%20%28%2F%22%2Fg%2C%20%27%27%29%0A%20%20%20%20%20%20%20%20%20%20.replace%20%28%2F%5C%5Blog%20in%20to%20unmask%5C%5D%2F%2C%20%27%27%29%3B%0A%20%20%20%20%7D%0A%20%20%20%20if%20%28!documentAuthor%29%20documentAuthor%20%3D%20null%3B%0A%20%20%7D%0A%20%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbDate%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20%20%20%20if%20%28m%20%3D%20m%5B1%5D.match%20%28%2F%5E%5BA-Za-z%5D%2B%2C%20%28%5Cd%2B%29%20%28%5CS%2B%29%20%28%5Cd%2B%20%5Cd%2B%3A%5Cd%2B%3A%5Cd%2B%20E%5BSD%5DT%29%24%2F%29%29%20%7B%0A%20%20%20%20%20%20lm%20%3D%20new%20Date%20%28m%5B2%5D%20%2B%20%27%20%27%20%2B%20m%5B1%5D%20%2B%20%27%2C%20%27%20%2B%20m%5B3%5D%29%3B%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0Aif%20%28lm%20!%3D%20null%20%26%26%20lm%20!%3D%20%27%27%29%20%7B%0A%20%20lm%20%3D%20new%20Date%20%28lm%29%3B%0A%7D%20else%20%7B%0A%20%20lm%20%3D%20null%3B%0A%7D%0Aif%20%28lm%20!%3D%20null%29%20%7B%0A%20%20var%20tzo%20%3D%20lm.getTimezoneOffset%20%28%29%3B%0A%20%20lm%20%3D%20%27%5BTIME%5B%27%20%2B%20lm.getFullYear%20%28%29%20%2B%20%27-%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20%28lm.getMonth%20%28%29%20%2B%201%29%29.substr%20%28-2%2C%202%29%20%2B%20%27-%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getDate%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getHours%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getMinutes%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20lm.getSeconds%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%20%20%20%20%20%2B%20%28tzo%20%3E%200%20%3F%20%27-%27%20%3A%20%27%2B%27%29%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%2F%2060%29%29.substr%20%28-2%2C%202%29%0A%20%20%20%20%20%20%2B%20%27%3A%27%0A%20%20%20%20%20%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%25%2060%29%29.substr%20%28-2%2C%202%29%0A%20%20%20%20%20%20%2B%20%27%5D%5D%27%3B%0A%7D%0A%0Avar%20credit%20%3D%20%27%27%3B%0Aif%20%28documentAuthor%20!%3D%20null%29%20%7B%0A%20%20credit%20%3D%20%27%20%28%5B%5B%27%20%2B%20swEscape%20%28documentAuthor%29%20%2B%20%27%5D%5D%20%E8%91%97%27%3B%0A%20%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20%20%20%20credit%20%2B%3D%20%27%2C%20%27%20%2B%20lm%20%2B%20%27%20%E7%89%88%29%27%3B%0A%20%20%7D%0A%7D%20else%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20%20credit%20%3D%20%27%20%28%27%20%2B%20lm%20%2B%20%27%20%E7%89%88%29%27%3B%0A%7D%0A%0Avar%20uri%20%3D%20location.href%3B%0A%0Avar%20text%20%3D%20%27%5BCITE%27%20%2B%20titleLang%2B%20%27%5B%27%20%2B%20title%20%2B%20%27%5D%5D%27%0A%20%20%20%20%2B%20credit%20%2B%20%27%20%3C%27%20%2B%0A%20%20%20%20uri%20%2B%20%27%3E%27%3B%0Atext%20%3D%20text.replace%20%28%2F%5Cs%2B%2F%2C%20%27%20%27%29%3B%0A%0Avoid%20%28prompt%20%28%27%27%2C%20text%29%29%3B%0A%0A%0A%0A>
[104] <javascript:%0A%0Afunction%20swEscape%20%28s%29%20%7B%0A%20return%20s.replace%20%28%2F%5C%5B%2F%2C%20%22%27%27%27%5B%27%27%27%22%29.replace%20%28%2F%5C%5D%2F%2C%20%22%27%27%27%5D%27%27%27%22%29%3B%0A%7D%20%2F%2F%20swEscape%0A%0Afunction%20setTimeZoneToUTC%20%28d%29%20%7B%0A%20d.setUTCFullYear%20%28d.getFullYear%20%28%29%2C%20d.getMonth%20%28%29%2C%20d.getDate%20%28%29%29%3B%0A%20d.setUTCHours%20%28d.getHours%20%28%29%2C%20d.getMinutes%20%28%29%2C%20d.getSeconds%20%28%29%29%3B%0A%20return%20d%3B%0A%7D%20%2F%2F%20setTimeZoneToUTC%0A%0Avar%20documentLanguage%20%3D%20null%3B%0Avar%20documentAuthor%20%3D%20null%3B%0Afunction%20scanMeta%20%28%29%20%7B%0A%20var%20metas%20%3D%20document.getElementsByTagName%20%28%27meta%27%29%3B%0A%20var%20metasLength%20%3D%20metas.length%3B%0A%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20metasLength%3B%20i%2B%2B%29%20%7B%0A%20var%20meta%20%3D%20metas%5Bi%5D%3B%0A%20var%20metaFieldName%20%3D%20meta.httpEquiv.toLowerCase%20%28%29%3B%0A%20if%20%28metaFieldName%20%3D%3D%20%27content-language%27%29%20%7B%0A%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20documentLanguage%20%3D%20meta.content.split%20%28%2F%5Cs*%2C%5Cs*%2F%29%5B0%5D%3B%0A%20%7D%0A%20%7D%0A%0A%20var%20metaName%20%3D%20meta.name.toLowerCase%20%28%29%3B%0A%20if%20%28metaName%20%3D%3D%20%27author%27%29%20%7B%0A%20if%20%28documentAuthor%20%3D%3D%20null%29%20%7B%0A%20documentAuthor%20%3D%20meta.content%3B%0A%20%7D%0A%20%7D%20else%20if%20%28metaName%20%3D%3D%20%27ms.locale%27%29%20%7B%0A%20if%20%28documentLanguage%20%3D%3D%20null%29%20%7B%0A%20documentLanguage%20%3D%20meta.content%3B%0A%20%7D%0A%20%7D%0A%20%7D%0A%7D%20%2F%2F%20scanMeta%0A%0Afunction%20getElementLanguage%20%28el%29%20%7B%0A%20var%20xmlNS%20%3D%20%27http%3A%2F%2Fwww.w3.org%2FXML%2F1998%2Fnamespace%27%3B%0A%20while%20%28el%20!%3D%20null%29%20%7B%0A%20if%20%28el.nodeType%20%3D%3D%20el.ELEMENT_NODE%29%20%7B%0A%20if%20%28el.hasAttributeNS%20%28xmlNS%2C%20%27lang%27%29%29%20%7B%0A%20return%20el.getAttributeNS%20%28xmlNS%2C%20%27lang%27%29%3B%0A%20%7D%20else%20if%20%28%28el.namespaceURI%20%3D%3D%20null%20%7C%7C%0A%20el.namespaceURI%20%3D%3D%20%27http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%27%29%20%26%26%0A%20el.hasAttributeNS%20%28null%2C%20%27lang%27%29%29%20%7B%0A%20return%20el.getAttributeNS%20%28null%2C%20%27lang%27%29%3B%0A%20%7D%0A%20%7D%0A%20el%20%3D%20el.parentNode%3B%0A%20%7D%0A%0A%20%2F*%20NOTE%3A%20%7CContent-Language%7C%20is%20not%20supported%0A%20since%20DOM%20provides%20no%20access%20to%20HTTP%0A%20header%20fields.%20*%2F%0A%20return%20documentLanguage%20!%3D%20null%20%3F%20documentLanguage%20%3A%20%27%27%3B%0A%7D%20%2F%2F%20getElementLanguage%0A%0AscanMeta%20%28%29%3B%0A%0Avar%20locationHost%3B%0Atry%20%7B%0A%20locationHost%20%3D%20location.host%3B%0A%7D%20catch%20%28e%29%20%7B%0A%20locationHost%20%3D%20null%3B%0A%7D%0A%0Avar%20title%20%3D%20document.title%3B%0Avar%20titleLang%20%3D%20%27%27%3B%0Avar%20lm%20%3D%20document.lastModified%3B%0Aif%20%28locationHost%20%3D%3D%20%27permalink.gmane.org%27%29%20%7B%0A%20var%20h2El%20%3D%20document.getElementsByTagName%20%28%27h2%27%29%5B0%5D%3B%0A%20if%20%28h2El%29%20%7B%0A%20title%20%3D%20swEscape%20%28h2El.textContent%29%3B%0A%20titleLang%20%3D%20getElementLanguage%20%28h2El%29%3B%0A%20%7D%0A%7D%0Aif%20%28locationHost%20%3D%3D%20%27html5.org%27%29%20%7B%0A%20var%20logEl%20%3D%20document.getElementById%20%28%27log%27%29%3B%0A%20if%20%28logEl%29%20%7B%0A%20var%20rows%20%3D%20logEl.rows%3B%0A%20if%20%28rows.length%20%3D%3D%202%29%20%7B%0A%20var%20row%20%3D%20rows%5B1%5D%3B%0A%20var%20revCell%20%3D%20row.cells%5B0%5D%3B%0A%20if%20%28revCell%29%20%7B%0A%20var%20rev%20%3D%20parseInt%20%28revCell.textContent%29%3B%0A%20if%20%28rev%29%20%7B%0A%20var%20titleCell%20%3D%20row.cells%5B2%5D%3B%0A%20if%20%28titleCell%29%20%7B%0A%20title%20%3D%20%27Web%20Applications%201.0%20r%27%20%2B%20rev%20%2B%20%27%20%27%20%2B%20swEscape%20%28titleCell.textContent%29%3B%0A%20titleLang%20%3D%20getElementLanguage%20%28titleCell%29%3B%0A%20var%20m%20%3D%20row.cells%5B3%5D.textContent.match%20%28%2F%5E%28%5B0-9%5D%7B4%7D%29-%28%5B0-9%5D%7B2%7D%29-%28%5B0-9%5D%7B2%7D%29%5Cs%2B%28%5B0-9%5D%7B2%7D%29%3A%28%5B0-9%5D%7B2%7D%29%24%2F%29%3B%0A%20if%20%28m%29%20lm%20%3D%20setTimeZoneToUTC%20%28new%20Date%20%28m%5B1%5D%2C%20m%5B2%5D%20-%201%2C%20m%5B3%5D%2C%20m%5B4%5D%2C%20m%5B5%5D%29%29%3B%0A%20%7D%0A%20%7D%0A%20%7D%0A%20%7D%0A%20%7D%0A%7D%0Aif%20%28title%20%3D%3D%20null%20%7C%7C%20title%20%3D%3D%20%27%27%20%7C%7C%0A%20locationHost%20%3D%3D%20%27lists.w3.org%27%29%20%7B%0A%20var%20h1El%20%3D%20document.getElementsByTagName%20%28%27h1%27%29%5B0%5D%3B%0A%20H1EL%3A%20%7B%0A%20if%20%28h1El%29%20%7B%0A%20break%20H1EL%3B%0A%20%7D%0A%20var%20fonts%20%3D%20document.getElementsByTagName%20%28%27font%27%29%3B%0A%20fontsLength%20%3D%20fonts.length%3B%0A%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20fontsLength%3B%20i%2B%2B%29%20%7B%0A%20var%20font%20%3D%20fonts%5Bi%5D%3B%0A%20if%20%28font.size%20%3D%3D%20%277%27%20%7C%7C%20font.size%20%3D%3D%20%27%2B4%27%29%20%7B%0A%20h1El%20%3D%20font%3B%0A%20break%20H1EL%3B%0A%20%7D%0A%20%7D%0A%20%7D%20%2F%2F%20H1EL%0A%20if%20%28h1El%29%20%7B%0A%20title%20%3D%20swEscape%20%28h1El.textContent%29%3B%0A%20titleLang%20%3D%20getElementLanguage%20%28h1El%29%3B%0A%20%7D%20else%20%7B%0A%20title%20%3D%20title%20%3D%3D%20null%20%3F%20%27%27%20%3A%20title%3B%0A%20%7D%0A%7D%20else%20%7B%0A%20title%20%3D%20swEscape%20%28title%29%3B%0A%20var%20titleEl%20%3D%20document.getElementsByTagName%20%28%27title%27%29%5B0%5D%3B%0A%20if%20%28titleEl%29%20%7B%0A%20titleLang%20%3D%20getElementLanguage%20%28titleEl%29%3B%0A%20%7D%0A%7D%0Aif%20%28titleLang%20!%3D%20%27%27%29%20%7B%0A%20titleLang%20%3D%20%27%40%27%20%2B%20titleLang%3B%0A%7D%0A%0Aif%20%28locationHost%20%3D%3D%20%27permalink.gmane.org%27%29%20%7B%0A%20var%20o1El%20%3D%20document.getElementById%20%28%27o1%27%29%3B%0A%20if%20%28o1El%29%20%7B%0A%20var%20o1Prop%20%3D%20%7B%7D%3B%0A%20o1El.textContent.split%20%28%22%5Cn%22%29.forEach%20%28function%20%28s%29%20%7B%0A%20var%20nv%20%3D%20s.split%20%28%27%3A%20%27%2C%202%29%3B%0A%20if%20%28nv%5B1%5D%29%20%7B%0A%20o1Prop%5Bnv%5B0%5D.toLowerCase%20%28%29%5D%20%3D%20nv%5B1%5D%3B%0A%20%7D%20else%20%7B%0A%20if%20%28!o1Prop.from%29%20%7B%0A%20o1Prop.from%20%3D%20s%3B%0A%20%7D%20else%20if%20%28!o1Prop.date%29%20%7B%0A%20o1Prop.date%20%3D%20s%3B%0A%20%7D%0A%20%7D%0A%20%7D%29%3B%0A%20if%20%28o1Prop.from%29%20%7B%0A%20documentAuthor%20%3D%20o1Prop.from.replace%20%28%2F%5Cs*%3C%5B%5E%3C%3E%5D%2B%3Cat%3E%5B%5E%3C%3E%5D%2B%3E%5Cs*%24%2F%2C%20%27%27%29%3B%0A%20%7D%0A%20if%20%28o1Prop.date%29%20%7B%0A%20var%20m%3B%0A%20if%20%28m%20%3D%20o1Prop.date.match%20%28%2F%5E%28%5Cd%2B%29-%28%5Cd%2B%29-%28%5Cd%2B%29%5Cs%2B%28%5Cd%2B%29%3A%28%5Cd%2B%29%3A%28%5Cd%2B%29%5Cs%2BGMT%24%2F%29%29%20%7B%0A%20lm%20%3D%20setTimeZoneToUTC%20%28new%20Date%20%28m%5B1%5D%2C%20m%5B2%5D%20-%201%2C%20m%5B3%5D%2C%20m%5B4%5D%2C%20m%5B5%5D%2C%20m%5B6%5D%29%29%3B%0A%20%7D%0A%20%7D%0A%20%7D%0A%7D%20else%20if%20%28locationHost%20%3D%3D%20%27lists.w3.org%27%29%20%7B%0A%20if%20%28documentAuthor%20!%3D%20null%29%20%7B%0A%20documentAuthor%0A%20%3D%20documentAuthor.replace%20%28%2F%5Cs%2B%5C%28%5B%5E%28%29%5D%2B%5C%29%24%2F%2C%20%27%27%29%3B%0A%20%7D%0A%20var%20dateEl%20%3D%20document.getElementById%20%28%27date%27%29%3B%0A%20if%20%28dateEl%29%20%7B%0A%20var%20m%20%3D%20dateEl.textContent%0A%20.replace%20%28%2F%5EDate%3A%5Cs%2B%2F%2C%20%27%27%29%3B%0A%20lm%20%3D%20new%20Date%20%28m%29%3B%0A%20%7D%0A%7D%20else%20if%20%28locationHost%20%3D%3D%20%27listserv.heanet.ie%27%29%20%7B%0A%20var%20docText%20%3D%20document.documentElement.textContent%3B%0A%20var%20m%3B%0A%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbSubject%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20title%20%3D%20swEscape%20%28m%5B1%5D%29%3B%0A%20titleLang%20%3D%20%27%40en%27%3B%0A%20%7D%0A%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbFrom%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20var%20documentAuthor%20%3D%20m%5B1%5D%3B%0A%20if%20%28m%20%3D%20documentAuthor.match%0A%20%28%2F%5E%5C%5Blog%20in%20to%20unmask%5C%5D%5Cs*%5C%28%28%5B%5E%28%29%5D%2B%29%5C%29%24%2F%29%29%20%7B%0A%20documentAuthor%20%3D%20m%5B1%5D%3B%0A%20%7D%20else%20%7B%0A%20documentAuthor%20%3D%20documentAuthor.replace%0A%20%28%2F%5Cs*%3C%5C%5Blog%20in%20to%20unmask%5C%5D%3E%2F%2C%20%27%27%29%0A%20.replace%20%28%2F%22%2Fg%2C%20%27%27%29%0A%20.replace%20%28%2F%5C%5Blog%20in%20to%20unmask%5C%5D%2F%2C%20%27%27%29%3B%0A%20%7D%0A%20if%20%28!documentAuthor%29%20documentAuthor%20%3D%20null%3B%0A%20%7D%0A%20if%20%28m%20%3D%20docText.match%20%28%2F%5CbDate%3A%5Cs*%28%5B%5E%5Cn%5D%2B%29%2F%29%29%20%7B%0A%20if%20%28m%20%3D%20m%5B1%5D.match%20%28%2F%5E%5BA-Za-z%5D%2B%2C%20%28%5Cd%2B%29%20%28%5CS%2B%29%20%28%5Cd%2B%20%5Cd%2B%3A%5Cd%2B%3A%5Cd%2B%20E%5BSD%5DT%29%24%2F%29%29%20%7B%0A%20lm%20%3D%20new%20Date%20%28m%5B2%5D%20%2B%20%27%20%27%20%2B%20m%5B1%5D%20%2B%20%27%2C%20%27%20%2B%20m%5B3%5D%29%3B%0A%20%7D%0A%20%7D%0A%7D%0Aif%20%28lm%20!%3D%20null%20%26%26%20lm%20!%3D%20%27%27%29%20%7B%0A%20lm%20%3D%20new%20Date%20%28lm%29%3B%0A%7D%20else%20%7B%0A%20lm%20%3D%20null%3B%0A%7D%0Aif%20%28lm%20!%3D%20null%29%20%7B%0A%20var%20tzo%20%3D%20lm.getTimezoneOffset%20%28%29%3B%0A%20lm%20%3D%20%27%5BTIME%5B%27%20%2B%20lm.getFullYear%20%28%29%20%2B%20%27-%27%0A%20%2B%20%28%270%27%20%2B%20%28lm.getMonth%20%28%29%20%2B%201%29%29.substr%20%28-2%2C%202%29%20%2B%20%27-%27%0A%20%2B%20%28%270%27%20%2B%20lm.getDate%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%2B%20%28%270%27%20%2B%20lm.getHours%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%2B%20%28%270%27%20%2B%20lm.getMinutes%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%3A%27%0A%20%2B%20%28%270%27%20%2B%20lm.getSeconds%20%28%29%29.substr%20%28-2%2C%202%29%20%2B%20%27%20%27%0A%20%2B%20%28tzo%20%3E%200%20%3F%20%27-%27%20%3A%20%27%2B%27%29%0A%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%2F%2060%29%29.substr%20%28-2%2C%202%29%0A%20%2B%20%27%3A%27%0A%20%2B%20%28%270%27%20%2B%20Math.floor%20%28Math.abs%20%28tzo%29%20%25%2060%29%29.substr%20%28-2%2C%202%29%0A%20%2B%20%27%5D%5D%27%3B%0A%7D%0A%0Avar%20credit%20%3D%20%27%27%3B%0Aif%20%28documentAuthor%20!%3D%20null%29%20%7B%0A%20credit%20%3D%20%27%20%28%5B%5B%27%20%2B%20swEscape%20%28documentAuthor%29%20%2B%20%27%5D%5D%20%E8%91%97%27%3B%0A%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20credit%20%2B%3D%20%27%2C%20%27%20%2B%20lm%20%2B%20%27%20%E7%89%88%29%27%3B%0A%20%7D%0A%7D%20else%20if%20%28lm%20!%3D%20null%29%20%7B%0A%20credit%20%3D%20%27%20%28%27%20%2B%20lm%20%2B%20%27%20%E7%89%88%29%27%3B%0A%7D%0A%0Avar%20uri%20%3D%20location.href%3B%0A%0Avar%20form%20%3D%20document.createElement%20%28%27form%27%29%3B%0Aform.method%20%3D%20%27post%27%3B%0Aform.acceptCharset%20%3D%20%27utf-8%27%3B%0Aform.lang%20%3D%20%27en%27%3B%0Aform.innerHTML%20%3D%20%27%3Cdiv%20class%3Dsuikawiki-bookmarklet-post%3E%3Cstyle%20scoped%3E.suikawiki-bookmarklet-post%20%7B%20padding%3A%200.3em%200.6em%20%7D%20.suikawiki-bookmarklet-post%20input%3Anot%28%5Btype%3Dcheckbox%5D%29%20%7B%20width%3A%20100%25%20%7D%20.suikawiki-bookmarklet-post%20p%20%7B%20text-align%3A%20left%20%7D%20.suikawiki-bookmarklet-post%20.buttons%20%7B%20margin-top%3A%201em%3B%20text-align%3A%20center%20%7D%20.suikawiki-bookmarklet-post%20h1%20%7B%20background%3A%20none%3B%20padding%3A%200%3B%20font-weight%3A%20bolder%3B%20font-size%3A%20150%25%3B%20text-align%3A%20left%3B%20color%3A%20%23004000%20%7D%20.suikawiki-bookmarklet-post%20%5Bname%3Dtitle-lang%5D%20%7B%20width%3A%205em%20!important%20%7D%20.suikawiki-bookmarklet-post%20button%20%7B%20min-width%3A%206em%20%7D%20.suikawiki-bookmarklet-post%20.ok%20%7B%20font-weight%3A%20bolder%20%7D%20.suikawiki-bookmarklet-post%20.cancel%20%7B%20font-size%3A%20smaller%20%7D%3C%2Fstyle%3E%3Ch1%3E%3Cimg%20src%3D%22http%3A%2F%2Fsuika.suikawiki.org%2F~wakaba%2F-temp%2F2004%2Fsw%22%20alt%3D%5BSuikaWiki%5D%3E%20Post%20a%20URL%3C%2Fh1%3E%20%3Cp%3E%3Clabel%3EPage%3A%20%3Cinput%20name%3DpageName%20onchange%3D%22%20form%5B%26quot%3Bsubmit-button%26quot%3B%5D.disabled%20%3D%20this.value.length%20%3D%3D%200%20%22%3E%3C%2Flabel%3E%3Cp%3E%3Clabel%3EURL%3A%20%3Cinput%20type%3Durl%20name%3Durl%3E%3C%2Flabel%3E%3Cp%3E%3Clabel%20for%3Dsuikawiki-bookmarklet-post-title%3ETitle%3C%2Flabel%3E%3A%20%28%3Clabel%3ELanguage%3A%20%3Cinput%20name%3Dtitle-lang%3E%3C%2Flabel%3E%29%20%3Cinput%20name%3Dtitle%20id%3Dsuikawiki-bookmarklet-post-title%3E%3Cp%3E%3Clabel%3ECredit%3A%20%3Cinput%20name%3Dcredit%3E%3C%2Flabel%3E%3Cp%3E%3Clabel%3E%3Cinput%20type%3Dcheckbox%20name%3Dredirect%3E%20Open%20the%20posted%20page%3C%2Flabel%3E%3Cp%20class%3Dbuttons%3E%3Cbutton%20type%3Dsubmit%20class%3Dok%20name%3Dsubmit-button%3EOK%3C%2Fbutton%3E%20%3Cbutton%20type%3Dbutton%20onclick%3D%22%20form.parentNode.removeChild%20%28form%29%20%22%20class%3Dcancel%3ECancel%3C%2Fbutton%3E%3C%2Fdiv%3E%27%3B%0Aform.url.value%20%3D%20uri%3B%0Aform.elements.title.value%20%3D%20title%3B%0Aform%5B%27title-lang%27%5D.value%20%3D%20titleLang.replace%28%2F%5C%40%2F%2C%20%27%27%29%3B%0Aform.credit.value%20%3D%20credit%3B%0Aform.onsubmit%20%3D%20function%20%28%29%20%7B%0A%20if%20%28form.title.length%20%3D%3D%200%29%20return%3B%0A%20form.action%20%3D%20%27http%3A%2F%2Fsuika.suikawiki.org%2F~wakaba%2Fwiki%2Fsw%2Fn%2F%27%20%2B%20encodeURIComponent%20%28form.pageName.value%29.replace%20%28%2F%252F%2Fg%2C%20%27%2B%27%29%20%2B%20%27%3Bposturl%27%3B%0A%20setTimeout%20%28function%20%28%29%20%7B%0A%20form.parentNode.removeChild%20%28form%29%3B%0A%20%7D%2C%201000%29%3B%0A%7D%3B%0Aform.setAttribute%28%27style%27%2C%20%27display%3A%20block%3B%20position%3A%20fixed%3B%20top%3A%201em%3B%20left%3A%201em%3B%20width%3A%2040em%3B%20min-height%3A%2020em%3B%20background%3A%20white%3B%20color%3A%20black%3B%20border%3A%20gray%201px%20solid%3B%20text-indent%3A%201.5%3B%20z-index%3A%2010000000%27%29%3B%0A%0Adocument.body.appendChild%20%28form%29%3B%0Aform.pageName.focus%20%28%29%3B%0A%0Avoid%20%280%29%3B> [TIME[2013-12-27T06:45:56.300Z]]
* License
[4] この WikiPage 内にある bookmarklet 及び関連 code は、特に注記の無い限り
Public Domain (著作権を主張しない。) とします。