siteinfo incomplete
- 不完全なSITEINFO
- 自信ない人はここへ (exampleUrlを付けてないのもここに入れておきます)
SITEINFO投稿前のチェックリスト
- urlは正規表現で記述しましたか? ワイルドカードではありませんよ!
- exampleUrlはつけましたか? see; http://d.hatena.ne.jp/swdyh/20071206/1196922989
Google Search http://www.google.co.jp/
url: ^http://[^.]+\.google\.(?:[^.]+\.)?[^./]+/(?:search|custom|cse)
nextLink: id("nav")//td[last()]/a
pageElement: id("res")/div[not(@id="nav")]
exampleUrl: http://www.google.co.jp/search?q=AutoPagerize
insertBefore: id("nav")
autopagerize.user.jsのsampleを直接書きかえた時は動作したが,wedataに登録した時は動作しなかった.また,日本Google(co.jp)とアメリカGoogle(com)のナビゲーションバーのidの違い(navとnavbar)を考え忘れていた.(2008-07-02)
eventcast http://clip.eventcast.jp/
url: http://clip.eventcast.jp/.+, nextLink: (//div[@class="pager"]//a)[last()] pageElement: //div[@class="event-list"] nsertBefore: (//div[@class="pager"])[last()] exampleUrl: http://clip.eventcast.jp/
Most interesting - rePhoto - http://rephoto.jpn.org/
url: http://rephoto.jpn.org/ nextLink: //div[@id="pagination"]/a[last()] insertBefore: //div[@id="container"]/hr pageElement: //div[@id="content"]
どうでしょ?
2chan.net http://www.2chan.net/
url: http://[^.]+.2chan.net/ nextLink: //body/form/table[last()]/tbody/tr/td[2]/b/following-sibling::a[1] insertBefore: //body/form/center[last()] pageElement: //body/form/center[last()]/preceding-sibling::*
動きませんorz
url: http://[^.]+\.2chan\.net/[^/]+/.*htm nextLink: //body/form[last()]/table[last()]/tbody/tr/form insertBefore: //body/form[last()]/following-sibling::node() pageElement: //body/form
2ch.ruを参考にがんばってみたけどあきらめた 読み込みいくけどterminatedと出てしまう
url: http://[^\.]+.2chan.net/.* nextLink: //form[contains(@action,".htm")][last()] insertBefore: //form[1]/hr[last()] pageElement: //form[1][@action="futaba.php"][contains(text(),":")]/*[not(self::table[contains(@align,"right")])]
これで使ってる。フレーム対応復活してくれないかな…
Yahoo掲示板
url: http://messages.yahoo.co.jp/ nextLink: //a[string(.)=\"\u6B21\u306E\u30E1\u30C3\u30BB\u30FC\u30B8\"] insertBefore: //center/table[15]/following-sibling::node()[1] pageElement: //center/table[15]
自分でここに書いたのですが動かないorz 動かないというかYahoo掲示板でAutopagerizeがonにならない。 手元で試すと動くときもあるのに。 誰か直してもらえませんか?
Yahoo Groups
url: http://.*groups.yahoo.com/group/.+/messages/
nextLink: //td[@class="viewright"]/a[contains(text(),">")]
pageElement: //div[@id='ygrp-msg-ext']/div/table[@class="datatable"]
insertBefore: //div[@id='ygrp-msg-ext']/div/table[@class="datatable"]/following-sibling::node()
faceFunction: function (node) {
var pattern = /^\s*document.writeln\("\s*(.+)\s*"\);/;
$X('.//script', node).forEach(function(script) {
script.innerHTML.split(/\n/).forEach(function(line) {
if(line.match(pattern)) {
var linkStr = RegExp.$1.replace(/\\/g,'');
var div = document.createElement('div');
div.innerHTML = linkStr;
var link = div.firstChild;
if(! $S('.//a[@href="'+ link.pathname +'"]',node) ) {
script.parentNode.replaceChild(link, script);
}
}
});
});
}
ITアーキテクト - Technology & Programming
url: ^http://www\.itarchitect\.jp/technology_and_programming/-/ nextLink: //p[@class="pagenav"]/a[last()] insertBefore: //ul[@class="related"] pageElement: //div[@id="nesycms"]/*[not(@class="related")]
ITPro http://itpro.nikkeibp.co.jp/
url: http://itpro.nikkeibp.co.jp/article/*
nextLink: //span[@class="no_now"]/following-sibling::node()[2]
insertBefore: id("kiji")/following-sibling::node()
pageElement: id("kiji")
Google ブック検索 http://books.google.com/books
url: http://books.google.com/books.* nextLink: //div[@id="navbar"]/table/tbody/tr/td[@class="b"]/a insertBefore: //div[@id="navbar"] pageElement: //div[@id="results\_container"]
CNET Japan インタビュー
url: http://japan.cnet.com/interview/* nextLink: //li[@class="next"]/a, insertBefore: //div[@class="leaf_body article_body"]/following-sibling::node() pageElement: //div[@class="leaf_body article_body"]
java.net forum
url: http://forums\.java\.net/jive/forum\.jspa.* nextLink: //span[@class="jive-paginator"]/a[last()] insertBefore: //div[@class="jive-legend"] pageElement: //div[@class="jive-thread-list"]
jQuery-plugin / Most Popular Plugins , Latest Releases
url: http://plugins.jquery.com/ nextLink: //div[@class="pager"]/a[@class="pager-next active"] insertBefore: //div[@class="view view-latest-release" or @class="view-content view-content-popular-plugins"]/following-sibling::node() pageElement: //div[@class="view view-latest-release" or @class="view-content view-content-popular-plugins"] exampleUrl: http://plugins.jquery.com/latest_releases exampleUrl: http://plugins.jquery.com/most_popular
Amazon 注文履歴 過去半年 or 注文状況 xxxx
https://www.amazon.co.jp/gp/css/history/view.html?ie=UTF8&startAtIndex=0&orderFilter=months-6&groupID=0
サインイン直後はURLが違うのでうまくいきません。 また、 jAutopagerize の方でしかまだテストできていないです。
url: https://www\.amazon\.co\.jp/gp/css/history/.*
nextLink: //strong/font[last()]/following-sibling::a
insertBefore: id("orders_shipped")/descendant::table[@cellspacing="3"][@bgcolor="#ffffff"]/following-sibling::node()
pageElement: id("orders_shipped")/descendant::table[@cellspacing="3"][@bgcolor="#ffffff"]
PSDTuts - Photoshop Tutorials and Links
url: 'http://psdtuts.com/',
nextLink: '//div[@class="nav-previous"]/a',
insertBefore: 'id("content")/following-sibling::node()',
pageElement: 'id("content")',
exampleUrl: http://psdtuts.com/
DesignFlavr - Design Inspiration
url: 'http://www.designflavr.com/',
nextLink: '//div[@class="pagination"]/a[position()=last()]',
insertBefore: 'id("leftcolumn")/following-sibling::node()',
pageElement: 'id("leftcolumn")',
exampleUrl: http://www.designflavr.com/
- Photoshop Tutorials and Links
url: 'http://psdtuts.com/',
nextLink: '//div[@class="nav-previous"]/a',
insertBefore: 'id("content")/following-sibling::node()',
pageElement: 'id("content")',
exampleUrl: http://psdtuts.com/