Changeset 3421
- Timestamp:
- 12/21/07 23:27:10 (5 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/javascript/bookmarklets/hatena.haiku.autoloadentries.bookmarklet.js
r3294 r3421 8 8 9 9 (function () { with (D()) { 10 var container = $X("// ul[@class='list']")[0];10 var container = $X("//div[@class='entries']")[0]; 11 11 wait(5). 12 12 next(function main () { 13 var ref = $X(" li[not(.//form)][1]", container)[0];13 var ref = $X("div[not(.//form)][1]", container)[0]; 14 14 log("loading"); 15 15 return http.get(location.pathname+".body").next(function (d) { 16 16 var es = h(d.responseText); 17 17 Hatena.Star.EntryLoader.loadNewEntries(es); 18 $X(" li", es).forEach(function (e) {18 $X("div", es).forEach(function (e) { 19 19 var raw_href = $X("string(.//span[@class='timestamp']/a/@href)", e); 20 20 if (!$X("boolean(//span[@class='timestamp']/a[@href = '"+raw_href+"'])")) {
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)