Changeset 3229
- Timestamp:
- 12/17/07 21:45:21 (5 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/javascript/userscripts/hatena.haiku.expandrepliestree.user.js
r3228 r3229 6 6 7 7 (function () { with (D()) { 8 function applyJavaScript (entry) { 9 unsafeWindow.Hatena.Haiku.ReplyButton.loadButtons(entry); 10 } 11 8 12 function expandChildReplies (entry) { 9 13 var body = $X("div[@class='list-body']", entry)[0]; … … 17 21 var t = h(data.responseText.replace(/<\/?(script|i?frame)[^>]*>/g, "")); 18 22 return parallel($X(".//ul[@class='list']/li[@class='entry']", t).map(function (e) { 23 applyJavaScript(e); 19 24 body.appendChild(e); 20 25 return wait(1).next(function () { … … 34 39 var t = h(data.responseText.replace(/<\/?(script|i?frame)[^>]*>/g, "")); 35 40 return parallel($X(".//ul[@class='list']/li[@class='entry']", t).map(function (e) { 41 applyJavaScript(e); 36 42 var body = $X("div[@class='list-body']", e)[0]; 37 43 entry.parentNode.insertBefore(e, entry);
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)