CLANNAD #5

アニメーションの構図じゃないなぁと思った次の瞬間に怒涛のアニメーション!
これだよなぁ・・・

偶に取れるんです。

バロスwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww

やっぱ野中藍はすたちゃが関わってない方が100倍良いな。

喜久子先生ktkrwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww

Amazon.com用のAutoPagerize SITEINFOを書いた。

何故か無かったので。

{
  url:          'http:\/\/(?:www\.)?amazon\.com\/s\/.*',
  nextLink:     'id("pagnNextLink")',
  insertBefore: '//table[@class="headingBar"][2]',
  pageElement:  'id("Results")',
}

というか、これ適用しちゃうとHistoryとかに色々と影響が出ちゃうんだろうなぁ。

追記

上のだとちょっと都合が悪いので、こんなカンジで、

{
  url:          'http:\/\/(?:www\.)?amazon\.com\/s\/.*',
  nextLink:     'id("pagnNextLink")',
  insertBefore: 'id("Results")/following-sibling::node()[1]',
  pageElement:  'id("Results")',
}

後、LDRizeの方の既存のAmazon用SITEINFOだとstripeが適用されてしまうので、以下のようにstripe無しにする。

{
  name:      'amazon.com',
  domain:    'http:\/\/(?:www\.)?amazon\.com\/s\/.*',
  paragraph: '//td[contains(@class,"searchitem")]',
  link:      '(.//td[@class="dataColumn"]/table/tbody/tr[1]/td/a | .//div[@id][1]/a)',
  height:    0,
}

bbs2chreader用のLDRize SITEINFOを書いた。

こんなカンジ。

{
  name:      'bbs2chreader',
  domain:    'http://127.0.0.1:8823/thread/',
  paragraph: '//dl[@class="resContainer"] | //dl[@class="resContainer resNew"]',
}

stripeをtrueにすると、レス指定されたレス先の背景がstripeの色になって読めなかったので、stripeは書いてない。
というかstripe有り、stripe無し、だと後者の方が軽いね。

つーかSITEINFO wikiの下のほうのXPath式がすごすぐるwww

追記

あ、reloadして新しく追加されたresにはresNewっていうクラス名が追加されるのか。
ということで直した。

はてなブックマーク用ブックマークレット(笑)

javascript:(function(){document.getElementsByClassName('comment').forEach(function(e){Array.forEach(e.childNodes,function(e){if(e.nodeType==3){if(!e.textContent.match(/\(笑\)$|(笑)$/)){e.textContent+='(笑)'}}})})})();

[ref. スイーツ(笑)とは - はてなキーワード]
[ref. ライフハック(笑)]