Changeset 16982 for lang/javascript/userscripts
- Timestamp:
- 08/02/08 18:39:04 (4 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/javascript/userscripts/hatena.haiku.expandrepliestree.user.js
r16981 r16982 10 10 (function (Global) { with (D()) { 11 11 const WAIT = 1; 12 const LEVEL = 5;12 const LEVEL = 3; 13 13 const ICON = [ 14 14 "data:image/png;base64,", … … 33 33 function applyJavaScript (entry) { 34 34 entry = entry.parentNode.removeChild(entry); 35 35 36 // remove event handlers 36 37 entry.innerHTML = entry.innerHTML; 38 37 39 // append to temporary element 38 40 var t = h(); 39 41 t.appendChild(entry); 42 40 43 // remove duplicated star elements 41 44 $X("../*/div/*[@class='title']/span[@class='hatena-star-comment-container' or @class='hatena-star-star-container']", entry).forEach(function (e) { 42 45 e.parentNode.removeChild(e); 46 }); 47 48 $X("./div/div/span[@class='expand']", entry).forEach(function (i) { 49 i.parentNode.removeChild(i); 43 50 }); 44 51
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)