url |
^https://ameblo\.jp/nishino-akihiro/entry |
nextLink |
//a[./span[contains(@data-uranus-icon,"paging_next")]] |
pageElement |
//div[@class="skin-blogFooterNav"]/preceding-sibling::* |
exampleUrl |
https://ameblo.jp/nishino-akihiro/entry-12401820954.html |
bookmarklet2 |
location.reload(); |
bookmarklet |
var result = document.evaluate('//div[@class="skin-entryBody"]//a[not(@alt0)][./img]',document, null, 7, null);
var result2 = document.evaluate('//div[@class="skin-entryBody"]//a[not(@alt0)]/img',document, null, 7, null);
for(var i=0;i<result.snapshotLength;i++)
{
result2.snapshotItem(i).src=result.snapshotItem(i).href;
} |
comment |
This may load an illegal url. In that case the correct url may be loaded on reload. |