Created
March 10, 2013 13:33
-
-
Save t-f-m/5128584 to your computer and use it in GitHub Desktop.
AutoPagerize for greasemonkey siteinfoを山ほど書きたしたローカルのバックアップ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name AutoPagerize | |
// @namespace http://swdyh.yu.to/ | |
// @description loading next page and inserting into current page. | |
// @include http://* | |
// @include https://* | |
// @exclude https://mail.google.com/* | |
// @exclude http://b.hatena.ne.jp/* | |
// @exclude http://www.facebook.com/plugins/like.php* | |
// @exclude http://api.tweetmeme.com/button.js* | |
// @version 0.0.66 | |
// @updateURL https://userscripts.org/scripts/source/8551.user.js | |
// @icon http://autopagerize.net/img/icons/icon_032.png | |
// @grant GM_getValue | |
// @grant GM_setValue | |
// @grant GM_addStyle | |
// @grant GM_log | |
// @grant GM_xmlhttpRequest | |
// @grant GM_registerMenuCommand | |
// ==/UserScript== | |
// | |
// auther: swdyh http://d.hatena.ne.jp/swdyh/ | |
// version: 0.0.66 2012-08-31T18:23:34+09:00 | |
// | |
// this script based on | |
// GoogleAutoPager(http://la.ma.la/blog/diary_200506231749.htm) and | |
// estseek autopager(http://la.ma.la/blog/diary_200601100209.htm). | |
// thanks to ma.la. | |
// | |
// Released under the GPL license | |
// http://www.gnu.org/copyleft/gpl.html | |
// | |
if (isGreasemonkey()) { | |
var ep = getPref('exclude_patterns') | |
if (ep && isExclude(ep)) { | |
// FIXME | |
// return | |
} | |
} | |
else { | |
gmCompatible() | |
} | |
var URL = 'http://autopagerize.net/' | |
var VERSION = '0.0.66' | |
var DEBUG = true | |
var AUTO_START = true | |
var CACHE_EXPIRE = 24 * 60 * 60 * 1000 | |
var BASE_REMAIN_HEIGHT = 4000 | |
var FORCE_TARGET_WINDOW = getPref('force_target_window', true) | |
var XHR_TIMEOUT = 30 * 1000 | |
var SITEINFO_IMPORT_URLS = [ | |
'http://wedata.net/databases/AutoPagerize/items.json', | |
'http://ss-o.net/json/wedataAutoPagerize.json', | |
] | |
var COLOR = { | |
on: '#0f0', | |
off: '#ccc', | |
loading: '#0ff', | |
terminated: '#00f', | |
error: '#f0f' | |
} | |
var SITEINFO = [ | |
/* sample | |
{ | |
url: 'http://(.*).google.+/(search).+', | |
nextLink: 'id("navbar")//td[last()]/a', | |
pageElement: '//div[@id="res"]/div', | |
exampleUrl: 'http://www.google.com/search?q=nsIObserver', | |
}, | |
*/ | |
/* template | |
{ | |
url: '', | |
nextLink: '', | |
pageElement: '', | |
exampleUrl: '', | |
}, | |
*/ | |
/* sample | |
{ | |
url: 'http://(.*).google.+/(search).+', | |
nextLink: 'id("navbar")//td[last()]/a', | |
pageElement: '//div[@id="res"]/div', | |
exampleUrl: 'http://www.google.com/search?q=nsIObserver', | |
}, | |
*/ | |
/* template | |
{ | |
url: '', | |
nextLink: '', | |
pageElement: '', | |
exampleUrl: '', | |
}, | |
*/ | |
/* sample | |
{ | |
url: 'http://(.*).google.+/(search).+', | |
nextLink: 'id("navbar")//td[last()]/a', | |
pageElement: '//div[@id="res"]/div', | |
exampleUrl: 'http://www.google.com/search?q=nsIObserver', | |
}, | |
*/ | |
/* template | |
{ | |
url: '', | |
nextLink: '', | |
pageElement: '', | |
exampleUrl: '', | |
}, | |
*/ | |
/* sample | |
{ | |
url: 'http://(.*).google.+/(search).+', | |
nextLink: 'id("navbar")//td[last()]/a', | |
pageElement: '//div[@id="res"]/div', | |
exampleUrl: 'http://www.google.com/search?q=nsIObserver', | |
}, | |
*/ | |
/* template | |
{ | |
url: '', | |
nextLink: '', | |
pageElement: '', | |
exampleUrl: '', | |
}, | |
*/ | |
/* sample | |
{ | |
url: 'http://(.*).google.+/(search).+', | |
nextLink: 'id("navbar")//td[last()]/a', | |
pageElement: '//div[@id="res"]/div', | |
exampleUrl: 'http://www.google.com/search?q=nsIObserver', | |
}, | |
*/ | |
/* template | |
{ | |
url: '', | |
nextLink: '', | |
pageElement: '', | |
exampleUrl: '', | |
}, | |
*/ | |
/* sample | |
{ | |
url: 'http://(.*).google.+/(search).+', | |
nextLink: 'id("navbar")//td[last()]/a', | |
pageElement: '//div[@id="res"]/div', | |
exampleUrl: 'http://www.google.com/search?q=nsIObserver', | |
}, | |
*/ | |
/* | |
{ | |
url: '', | |
nextLink: '', | |
pageElement: '', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
/* sample | |
{ | |
url: 'http://(.*).google.+/(search).+', | |
nextLink: 'id("navbar")//td[last()]/a', | |
pageElement: '//div[@id="res"]/div', | |
exampleUrl: 'http://www.google.com/search?q=nsIObserver', | |
}, | |
*/ | |
/* template | |
{ | |
url: '', | |
nextLink: '', | |
pageElement: '', | |
exampleUrl: '', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://www.discogs.com/artist/', | |
nextLink: '//span[@class="currentpage"]/following-sibling::a', | |
pageElement: 'id("releases")//table[@class="discography"]', | |
exampleUrl: 'http://www.discogs.com/artist/Oasis+(2)', | |
}, | |
{ | |
url: 'http://musicbrainz.org/artist/', | |
nextLink: '//a[@rel="xhv:next"]', | |
pageElement: 'id("content")/form', | |
exampleUrl: 'http://musicbrainz.org/artist/39ab1aed-75e0-4140-bd47-540276886b60', | |
}, | |
{ | |
url: 'http://up.null-x.me/poverty/', | |
nextLink: '//p[@class="bline"]/strong/following-sibling::a', | |
pageElement: 'id("main_section")', | |
exampleUrl: 'http://up.null-x.me/poverty/', | |
}, | |
{ | |
url: 'http://www.askray.jp/nicky.cgi', | |
nextLink: '//a[contains(.,"OLD")]', | |
pageElement: '//div[@align="left"][table and form]/a[@name][1]/preceding-sibling::*[1]/following-sibling::*', | |
exampleUrl: 'http://www.askray.jp/nicky.cgi', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://www.shareee.jp/', | |
nextLink: 'id("pagelink")/nobr[span]/following-sibling::nobr/a', | |
pageElement: 'id("coupon_lists")/* ', | |
exampleUrl: 'http://www.shareee.jp/?page=1&page_flag=G', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://www.bikebros.co.jp/bikesearch2/', | |
nextLink: '//a[@title="next page"] ', | |
pageElement: '//div[@class="bikelistbox"] ', | |
exampleUrl: 'http://www.bikebros.co.jp/bikesearch2/1/1010596/prc-AS/', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://kiki.mods.jp/be/stalker.php', | |
nextLink: '//span[not(a)][number(text())>0]/following-sibling::span/a[number(text())>0] ', | |
pageElement: 'id("contents")/*[self::h3 or self::div] ', | |
exampleUrl: 'http://kiki.mods.jp/be/stalker.php?id=53578&board=poverty', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://paizuri2ch.sakura.ne.jp/cgi-bin/imgboard.cgi', | |
nextLink: '//a[number(text()) = number(//option[@selected]/@value)]/following-sibling::a ', | |
pageElement: '//form[blockquote] ', | |
exampleUrl: 'http://paizuri2ch.sakura.ne.jp/cgi-bin/imgboard.cgi', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://www.bishojobunko.jp/c/novels/novel/act/', | |
nextLink: '//p[a[@class="nextpage"]]/text()[string-length(normalize-space(.))>1]/following-sibling::a|id("t_LEFTSIDE")[not(//p[a[@class="nextpage"]]/text()[string-length(normalize-space(.))>1]/following-sibling::a)]//ul[@class="t_linklist4"]/li[p]/following-sibling::li/a', | |
pageElement: 'id("t_RIGHTSIDE")/div[@class="dropcap"]', | |
exampleUrl: 'http://www.bishojobunko.jp/c/novels/novel/act/fbfe0c1a-c735-11e1-8d73-12314307403f', | |
}, | |
*/ | |
{ | |
url: 'http://mainichi-panda.jp/', | |
nextLink: '//div[@class="pagebar"]/span[@class="this-page"]/following-sibling::a', | |
pageElement: 'id("content")/article', | |
exampleUrl: 'http://mainichi-panda.jp/', | |
}, | |
/* | |
{ | |
url: 'http://ninjaslayer.jp/trial/', | |
nextLink: '//a[@class="browse"][contains(img/@src,"next")]', | |
pageElement: 'id("container")/*', | |
exampleUrl: 'http://ninjaslayer.jp/trial/001/p01_top.html', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://www.zakzak.co.jp/(?:[^/]+/){2}photos/\\d{8}/', | |
nextLink: 'id("__r_photo_img__")/parent::a', | |
pageElement: 'id("Photo")/*[starts-with(@class,"Photo")]', | |
exampleUrl: 'http://www.zakzak.co.jp/society/domestic/photos/20120901/dms1209011500004-p1.htm', | |
}, | |
{ | |
url: 'http://www.zakzak.co.jp/(?:[^/]+/){2}\\d{8}/', | |
nextLink: '//a[contains(.,"続きを読む")]|//div[@class="PageNavigation"]/ul/li[img]/following-sibling::li/a[img]', | |
pageElement: 'id("NewsDetail")/div[@class="text" or @class="photo"]', | |
exampleUrl: 'http://www.zakzak.co.jp/zakspa/news/20120913/zsp1209131401002-n1.htm http://www.zakzak.co.jp/zakspa/news/20120910/zsp1209101107007-n1.htm', | |
}, | |
*/ | |
/* リンク先が外部なので除外 | |
{ | |
url: 'http://www.zakzak.co.jp/(?:[^/]+/){3}\\d{8}/', | |
nextLink: '//a[contains(.,"続きを読む")]', | |
pageElement: 'id("main")/div[@class="newsBox"]/div[@class="textArea"]', | |
exampleUrl: 'http://www.zakzak.co.jp/society/domestic/news/20120914/dms1209141231015-n1.htm', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://www.zakzak.co.jp/[^/]+/\\d{6}/', | |
nextLink: '//a[contains(.,"続きを読む")]', | |
pageElement: 'id("main")/div[@class="newsBox"]/div[@class="textArea"]', | |
exampleUrl: 'http://www.zakzak.co.jp/spo/200810/s2008102814.html', | |
}, | |
*/ | |
{ | |
url: 'http://www.manga-zone.org/', | |
nextLink: '//div[@class="wp-pagenavi"]/span[@class="current"]/following-sibling::a|//link[@rel="next"]', | |
pageElement: 'id("content")/div', | |
exampleUrl: 'http://www.manga-zone.org/', | |
}, | |
/* | |
{ | |
url: 'http://2book.jp/',//圧縮ファイル展開型アプロダ│2DBOOK-LOADER | |
nextLink: '//div[@class="pagebox"]/ul/li[@class="current"]/following-sibling::li/a', | |
pageElement: '//div[@class="contentbox"]/div[@class="content"]', | |
exampleUrl: 'http://2book.jp/', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://twin-angel.com/comic/', | |
nextLink: '//div[@class="controller"]//table//div/a[contains(preceding-sibling::text(),"||")]', | |
pageElement: 'id("box")/*', | |
exampleUrl: 'http://twin-angel.com/comic/d_01.html http://twin-angel.com/comic/a_49.html http://twin-angel.com/comic/a_01.html', | |
}, | |
*/ | |
{ | |
url: 'http://www.tousyoukai.jp/kikaku/', | |
nextLink: '//a[img[contains(@src,"btn_next")]]|//a[img[contains(@src,"next.gif")]]', | |
pageElement: '//a[img[contains(@src,"btn_next")]]/preceding-sibling::table|//table[tbody/tr[count(td[@valign])=3]]', | |
exampleUrl: 'http://www.tousyoukai.jp/kikaku/rensai/tateisi/p01.shtml http://www.tousyoukai.jp/kikaku/comic/p01.shtml', | |
}, | |
{ | |
url: 'http://mainichi.jp/graph/2012/06/10/20120610k0000m040167000c/\\d+.html', | |
nextLink: 'id("relatedPhotoArticle")/ul/li[a/div]/following-sibling::li/a', | |
pageElement: '//div[@class="NewsArticle"]/node()[starts-with(concat(" ",@class)," PNF-") or not(self::*)]', | |
exampleUrl: 'http://mainichi.jp/graph/2012/06/10/20120610k0000m040167000c/005.html', | |
}, | |
{ | |
url: 'http://h.300x.info/', | |
nextLink: '//a[@rel="next"]', | |
pageElement: 'id("main")', | |
exampleUrl: 'http://h.300x.info/', | |
}, | |
{ | |
url: 'http://forum.mozilla.gr.jp/', | |
nextLink: '//div[@class="Caption01c"]/strong[number(.)>=0]/following-sibling::a', | |
pageElement: '//div[@class="Caption01c"]/following-sibling::*[following-sibling::div[@class="Caption01r"]]', | |
exampleUrl: 'http://forum.mozilla.gr.jp/', | |
}, | |
{ | |
url: 'http://nekote.com/', | |
nextLink: '//small//a[contains(.,"次へ ") or contains(.,"先へ ")]', | |
pageElement: '(//a[@name="hon"][*]/preceding-sibling::br[1]|//a[@name="hon"][not(*)])/following-sibling::node()[following-sibling::hr]', | |
exampleUrl: 'http://nekote.com/cgi-ketto/o3.cgi?8212/01/02#hon http://nekote.com/cgi-ketto/r3.cgi?8213/01/06#hon', | |
}, | |
{ | |
url: 'http://zasshi.news.yahoo.co.jp/(?:cp|list|newly)/', | |
nextLink: '//ul[contains(concat(" ",@class," ")," ymuiPagingBottom ")]/span/following-sibling::a|id("ynZasshiCopyright")/div[contains(concat(" ",@class," ")," ymuiPagingTop ")]/span/*[self::em or self::a]/following-sibling::a', | |
pageElement: 'id("main")/div[contains(concat(" ",@class," ")," ymuiContainer ")]|id("ynZasshiCopyright")/dl', | |
exampleUrl: 'http://zasshi.news.yahoo.co.jp/list/?m=wedge http://zasshi.news.yahoo.co.jp/list/ http://zasshi.news.yahoo.co.jp/newly/', | |
}, | |
{ | |
url: 'http://www.lessing-photo.com/search.asp', | |
nextLink: '//img[@name="forward"]/parent::a', | |
pageElement: 'id("match2")/dl', | |
exampleUrl: 'http://www.lessing-photo.com/search.asp?a=I&p=1&kw=Scylla', | |
}, | |
{ | |
url: 'http://www.mapion.co.jp/phonebook/', | |
nextLink: 'id("m_nextpage_link")', | |
pageElement: 'id("mainAREA")/div/table', | |
exampleUrl: 'http://www.mapion.co.jp/phonebook/M26010/13105/ST22758/', | |
}, | |
{ | |
"nextLink": "//div[contains(concat(\" \", @class, \" \"), \" motto-r \")]/p[contains(concat(\" \", @class, \" \"), \" page_button \")]/a|id(\"backIllust\")", | |
"exampleUrl": "http://nijie.info/illust_view.php http://nijie.info/search.php?word=%E3%82%AD%E3%82%B9 http://nijie.info/user_search.php?word= http://nijie.info/view.php?id=15786", | |
"url": "^http://nijie\\.info/", | |
"pageElement": "id(\"main main-left\")/descendant::div[contains(concat(\" \", @class, \" \"), \" nijie \") or contains(concat(\" \", @class), \" nijie-\")]|id(\"kobetu-center\")/parent::div/*" | |
}, | |
{//E エブリスタ | |
url: 'http://estar.jp/.pc/_novel_(?:toc|page)', | |
nextLink: '//a[@accesskey="#"]', | |
pageElement: 'id("content")/parent::div/center[form]/preceding-sibling::*|id("content")/following-sibling::node()[last()]', | |
exampleUrl: 'http://estar.jp/.pc/_novel_toc?&w=13428686 http://estar.jp/.pc/_novel_page?&page=1&w=13428686', | |
}, | |
{ | |
url: 'http://www.symphonic-net.com/mobamastrade/', | |
nextLink: 'id("research_enable")/following-sibling::text()[contains(.,"1") or string-length(.)>2]/following-sibling::a[number(.)>0]', | |
pageElement: '//form/table', | |
exampleUrl: 'http://www.symphonic-net.com/mobamastrade/index.php', | |
}, | |
{ | |
url: 'http://sharefog.project-imas.com/cgdex/', | |
nextLink: 'id("container")/table[@class="paginator"]//td/a[.="Next"]', | |
pageElement: 'id("cardCatalog")', | |
exampleUrl: 'http://sharefog.project-imas.com/cgdex/cg_list.php', | |
}, | |
{//ascii web comic | |
url: 'http://weekly.ascii.jp/elem/000/000/\\d+/\\d+', | |
nextLink: 'id("relarts")/following-sibling::ul/li//a[number(translate(substring-after(@href,"/elem/"),"/","")) > number(translate(substring-after(//meta[@property="og:url"]/@content,"/elem/"),"/",""))]', | |
pageElement: 'id("main")/p[@class="topcatlink"][a/.="週アスCOMIC"]/following-sibling::*', | |
exampleUrl: 'http://weekly.ascii.jp/elem/000/000/059/59322/ http://weekly.ascii.jp/elem/000/000/060/60357/', | |
}, | |
{ | |
url: 'http://www.sumikko-soft.com/harukuru/about\\d{1,2}.html', | |
nextLink: 'id("diarylist")/li[contains(id("diarylist")/following-sibling::img[1]/@src, substring-after(a/.,"No."))]/following-sibling::li/a', | |
pageElement: 'id("diarylist")/following-sibling::*', | |
exampleUrl: 'http://www.sumikko-soft.com/harukuru/about11.html', | |
}, | |
/* 動的生成 | |
{ | |
url: 'http://www.corriere.it/gallery/Spettacoli/vuoto.shtml\\?2008/10_Ottobre/calendari/contadine_svi', | |
nextLink: '//div[@class="numerini"]/a[@class="link2"]/following-sibling::a', | |
pageElement: '//table',//'id("photo")/ancestor::table[1]', | |
exampleUrl: 'http://www.corriere.it/gallery/Spettacoli/vuoto.shtml?2008/10_Ottobre/calendari/contadine_svi&3', | |
}, | |
*/ | |
{ | |
url: 'http://homepage3.nifty.com/shinkukan/seminar/semi\\d{2}/', | |
nextLink: '//a[.="[NEXT]"]', | |
pageElement: '//div[@class="linkt"]/following-sibling::*[following-sibling::div[@class="linkb"]]', | |
exampleUrl: 'http://homepage3.nifty.com/shinkukan/seminar/semi03/semi03_00.htm http://homepage3.nifty.com/shinkukan/seminar/semi04/semi04_00.htm', | |
}, | |
/* | |
{ | |
url: 'http://matome.naver.jp/odai/\\d+/\\d', | |
nextLink: '//a[@data-na="NC:next"]', | |
pageElement: '//div[@data-na="NA:site" or @data-na="NA:image"]', | |
exampleUrl: 'http://matome.naver.jp/odai/2133094336816159901/2133095638416763203', | |
}, | |
*/ | |
{ | |
url: 'http://www.cyzo.com/gravure/\\d{4}/\\d{2}/', | |
nextLink: 'id("gravure-photo")/a[@class="link_next"]', | |
pageElement: 'id("gravure-photo")|id("gr-ent-list")/following-sibling::node()[not(self::*)]|//div[@class="gravure-ent"][id("gravure-photo")/a[@class="link_next"]/@href]/div[(@class="gr-ent-title" or @class="gr-ent-more") and following-sibling::div[@class="gr-ent-list"]]', | |
// insertBefore: '', | |
exampleUrl: 'http://www.cyzo.com/gravure/2012/04/dmm.html', | |
}, | |
{ | |
url: 'http://www.cyzo.com/gravure/\\d{4}/\\d{2}/', | |
nextLink: 'id("gravure-photo")/a[@class="link_next"][(not(contains(@href,"_")) and substring-before(@href,".html")=substring-before(//div[@class="jCarouselLite"]/ul/li[1]/a/@href,".html")) or (contains(@href,"_") and substring-before(@href,"_")=substring-before(//div[@class="jCarouselLite"]/ul/li[1]/a/@href,".html"))]', | |
pageElement: 'id("gravure-photo")|id("gr-ent-list")/following-sibling::node()[not(self::*)]', | |
// insertBefore: '', | |
exampleUrl: 'http://www.cyzo.com/gravure/2012/04/dmm.html', | |
}, | |
{ | |
url: 'http://www.cyzo.com/\\d{4}/\\d{2}/', | |
nextLink: '//div[@class="entpagelink"]/span[@class="current_page"]/following-sibling::a', | |
pageElement: 'id("alpha-inner")/div[@id]/div[contains(concat(" ",@class," ")," entry-body ")]', | |
exampleUrl: 'http://www.cyzo.com/2012/04/post_10418.html http://www.cyzo.com/2012/04/post_10421.html', | |
}, | |
{ | |
url: 'http://csqa.kddi.com/', | |
nextLink: '//div[@class="pagerFooter"]/ul/li[contains(concat(" ",@class," ")," current ")]/following-sibling::li/a', | |
pageElement: '//div[@class="contents"]/div[not(@id)]/node()[contains(concat(" ",@class," ")," qaContents ") or not(self::*)]', | |
exampleUrl: 'http://csqa.kddi.com/ http://csqa.kddi.com/posts/index/word/iPhone+4S?tags=a0Y10000001HfVVEA0%3AiPhone%E3%80%804S', | |
}, | |
{ | |
url: 'http://www.mangaku-seika.jp/', | |
nextLink: 'id("listNav")/strong/following-sibling::a|id("next")/a', | |
pageElement: 'id("mainContents")/div[@class="works"]|id("mainContents")/ul[not(@id)]', | |
exampleUrl: 'http://www.mangaku-seika.jp/ http://www.mangaku-seika.jp/info/', | |
}, | |
{ | |
url: 'http://sogap.cielquis.net/', | |
nextLink: '//a[@rel="next"]|id("contents-navigator-bottom")/ul/li/a', | |
pageElement: '//div[@class="contents"]/div[@class="contents-body"]|//div[@class="contents" and .//div[@class="article-navigator"]/a[@class="selected-item"]/text()=1]/div[@class="contents-header"]', | |
exampleUrl: 'http://sogap.cielquis.net/ http://sogap.cielquis.net/2012/04/10/twitter.html', | |
}, | |
{ | |
url: 'http://www.overclock.net/f/\\d+/', | |
nextLink: 'id("ModulePageLinks")//ul/li[span[@class="curr"]]/following-sibling::li/a', | |
pageElement: 'id("ModuleThreadList")/table', | |
exampleUrl: 'http://www.overclock.net/f/8/intel-general http://www.overclock.net/f/5/intel-cpus http://www.overclock.net/f/225/hardware-news', | |
}, | |
/* | |
{ | |
"pageElement": "id(\"post-list-posts\")|id(\"paginator\")[not(id(\"post-list-posts\"))]/preceding-sibling::div[not(@id)]", | |
"exampleUrl": "http://danbooru.donmai.us/post/index\r\nhttp://konachan.com/post\r\nhttp://oreno.imouto.org/post\r\nhttp://danbooru.donmai.us/note/index\r\nhttp://konachan.com/note\r\nhttp://oreno.imouto.org/note\r\nhttp://danbooru.donmai.us/note/index?page=2\r\nhttp://oreno.imouto.org/post/index?tags=korie_riko\r\nhttp://oreno.imouto.org/post?tags=korie_riko\r\nhttp://oreno.imouto.org/note?page=4 http://hijiribe.donmai.us/post http://hijiribe.donmai.us/note/index http://chan.sankakucomplex.com/note/index https://yande.re/note", | |
"comment": "http://wedata.net/items/32023 の定義の性質上、そちらを適用するのを優先させるためにこの定義でのurlの文字数はそちらより1文字以上短かくする必要があります(http://wedata.net/items/681、http://taizooo.tumblr.com/post/342406118 )。補足として、継ぎ足されたページはhttp://userstyles.org/styles/22583、http://d.hatena.ne.jp/kurumigi/20091102/1257180207 などによって表示できます。", | |
"url": "^https?://(?:(?:danbooru|hijiribe)\\.donmai\\.us|(?:chan\\.sankakucomplex|konachan)\\.com|oreno\\.imouto\\.org|nekobooru\\.net|yande\\.re)/(?:post|note)", | |
"nextLink": "id(\"paginator\")/div[@class=\"pagination\"]/a[.=\">>\"]" | |
}, | |
*/ | |
/* | |
{ | |
"exampleUrl": "http://danbooru.donmai.us/pool/index?page=2\r\nhttp://danbooru.donmai.us/tag/index?page=2\r\nhttp://danbooru.donmai.us/pool/show/1250\r\nhttp://chan.sankakucomplex.com/pool/show/138\r\nhttp://konachan.com/pool/show/73\r\nhttp://oreno.imouto.org/artist?page=2\r\nhttp://oreno.imouto.org/pool?page=2\r\nhttp://oreno.imouto.org/pool/show/237\r\nhttp://oreno.imouto.org/tag?page=2 http://hijiribe.donmai.us/tag/index?order=date http://hijiribe.donmai.us/artist/index?order=date https://yande.re/artist https://yande.re/tag?order=date", | |
"pageElement": "id(\"paginator\")/preceding::table[@class=\"highlightable\"] | id(\"pool-show\")/div[last()]/span | id(\"post-list-posts\")/li", | |
"nextLink": "id(\"paginator\")/div[@class=\"pagination\"]/a[.=\">>\"]", | |
"url": "^https?://(?:(?:danbooru|hijiribe)\\.donmai\\.us|(?:chan\\.sankakucomplex|konachan)\\.com|oreno\\.imouto\\.org|nekobooru\\.net|yande\\.re)/(?:artist|tag|pool)(?:$|[#/?])" | |
}, | |
*/ | |
/* | |
{ | |
"exampleUrl": "http://gelbooru.com/index.php?page=post&s=list\r\nhttp://safebooru.org/index.php?page=post&s=list&tags=all http://safebooru.org/index.php?page=tags&s=list", | |
"pageElement": "id(\"post-list\")/div[@class=\"content\"]//span[contains(@class,\"thumb\")]|id(\"content\")/table", | |
"nextLink": "id(\"paginator\")//b/following-sibling::a[1]", | |
"url": "^http://(?:www\\.)?\\w{3,4}booru\\.(?:com|org)" | |
}, | |
*/ | |
/* | |
{ | |
url: '^https?://(?:danbooru\.donmai\.us|hijiribe\.donmai\.us|konachan\.com|nekobooru\.net|yande\.re)/artist', | |
nextLink: 'id("paginator")//a[.=">>"]', | |
pageElement: 'id("post-list-posts")|id("paginator")/preceding-sibling::table[not(@id)]', | |
exampleUrl: 'https://yande.re/artist?page=1', | |
}, | |
*/ | |
/* | |
{ | |
//url: '^https?://(?:danbooru\.donmai\.us|hijiribe\.donmai\.us|konachan\.com|nekobooru\.net)/(?:post|note)', | |
url: '^https?://(?:danbooru\.donmai\.us)/(?:post|note)', | |
nextLink: 'id("paginator")//a[.=">>"]', | |
pageElement: 'id("post-list-posts")|id("paginator")/preceding-sibling::div[not(@id)]', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://www.menscyzo.com/\\w+/', | |
nextLink: 'id("alpha-inner")//a[@class="link_next"]', | |
pageElement: 'id("alpha-inner")/table', | |
exampleUrl: 'http://www.menscyzo.com/interview/', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://urakaryu08.blog51.fc2.com/', | |
nextLink: 'id("NAVI")/ul/li[last()]/a', | |
pageElement: 'id("MAIN")', | |
exampleUrl: 'http://urakaryu08.blog51.fc2.com/page-1.html', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://funa1g.tumblr.com/', | |
nextLink: 'id("nextPage")', | |
pageElement: 'id("allposts")/div', | |
exampleUrl: '', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://www.readability.com/\\w+/', | |
nextLink: '//a[@rel="next"]', | |
pageElement: 'id("rdb-reading-list")', | |
exampleUrl: 'http://www.readability.com/naoya/latest', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://www.instructables.com/id/', | |
nextLink: 'id("nextstepbutton")[not(contains(@class,"disabled"))]',//'id("nextstepbutton")', | |
pageElement: 'id("main_content")/*', | |
exampleUrl: 'http://www.instructables.com/id/LED-Throwies/step1/Materials-List/', | |
}, | |
*/ | |
{ | |
url: 'http://blog.(?:埋もれる抱き枕er|xn--er-573a1isbf1441e2hs87j).jp/', | |
nextLink: '//div/span[@class="current"]/following-sibling::a', | |
pageElement: 'id("content")/*', | |
exampleUrl: 'http://blog.xn--er-573a1isbf1441e2hs87j.jp/ http://blog.埋もれる抱き枕er.jp/page/2', | |
}, | |
/* | |
{ | |
url: 'http://www.hajou.org/infoliberalism/', | |
nextLink: 'id("navigation")/li[not(a)]/following-sibling::li/a', | |
pageElement: 'id("header")/following-sibling::*[following-sibling::div[@id="footer"]]', | |
exampleUrl: 'http://www.hajou.org/infoliberalism/', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://www.mangaoh.co.jp/ext/search_product.php', | |
nextLink: '//dl[@class="page_navi"]/li[contains(concat(" ",@class," ")," active ")]/following-sibling::li/a', | |
pageElement: 'id("center")/div[contains(concat(" ",@class," ")," search_item ")]', | |
exampleUrl: 'http://www.mangaoh.co.jp/ext/search_product.php?i_command=CHANGE_LIMIT&i_limit=5 http://www.mangaoh.co.jp/ext/search_product.php?i_command=NEW_FILTER&i_author=%E6%A3%AE%E8%96%AB', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://www.comic-ryu.jp/(?:books/cyoiyomi/\\d{4}/\\w+|comics/\\w+/t_\\d+_?)/(?:pg\\d+|index).html', | |
nextLink: '//span[@class="bdnavi-numbers"]/text()[number()>0]/following-sibling::a', | |
pageElement: '//table[@class="table" and .//span[@class="img"]]', | |
exampleUrl: 'http://www.comic-ryu.jp/books/cyoiyomi/1111/cn108/pg874.html http://www.comic-ryu.jp/books/cyoiyomi/1111/cn107/pg867.html http://www.comic-ryu.jp/comics/bokutonihon/t_001_/index.html', | |
}, | |
{ | |
url: 'http://www.comic-ryu.jp/(?:book|web_content)s/', | |
nextLink: '//span[@class="bdnavi-numbers"]/text()[number()>0]/following-sibling::a', | |
pageElement: 'id("area-contents")//div[@class="amc"]/div[contains(concat(" ",@class," ")," block ") and .//span[@class="bdnavi-numbers"]]/following-sibling::div', | |
exampleUrl: 'http://www.comic-ryu.jp/books/index.html http://www.comic-ryu.jp/web_contents/index.html', | |
}, | |
{ | |
url: 'http://www.comic-ryu.jp/others/kikaku_1108/wadashinji_tuitoh_', | |
nextLink: '//span[@class="bdnavi-numbers"]/text()[number()>0]/following-sibling::a', | |
pageElement: 'id("area-billboard area-contents")', | |
exampleUrl: 'http://www.comic-ryu.jp/others/kikaku_1108/wadashinji_tuitoh_01.html', | |
}, | |
*/ | |
{ | |
url: 'http://www.famipro.com/ryosika/ryosika_0\\d{2}.html', | |
nextLink: '//td[@align="center"]/a[img[contains(@src,"next") or contains(@src, "contents")]]', | |
pageElement: '//img[contains(@src,"title")]/ancestor::table[1]', | |
exampleUrl: 'http://www.famipro.com/ryosika/ryosika_000.html', | |
}, | |
{ | |
url: 'http://www.famipro.com/ryosika2_0\\d{2}.html', | |
nextLink: '//td[@align="center"]/a[img[contains(@src,"next")]]', | |
pageElement: '//img[contains(@src,"title")]/ancestor::table[1]', | |
exampleUrl: 'http://www.famipro.com/ryosika2_001.html', | |
}, | |
/* | |
{ | |
url: 'http://nigel.otto.to/aruaru/', | |
nextLink: '', | |
pageElement: '', | |
exampleUrl: 'http://nigel.otto.to/aruaru/bd.cgi?G0002', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://twitpic.com/(?!photos/)', | |
nextLink: 'id("neighbor-images")/a', | |
pageElement: 'id("media-main")/*', | |
exampleUrl: '', | |
}, | |
*/ | |
{ | |
url: 'http://www.youtube.com/results\\?search_query=', | |
nextLink: 'id("search-footer-box")/div/a[contains(concat(" ",@class," ")," yt-uix-pager-next ")]', | |
pageElement: 'id("search-main")/*', | |
exampleUrl: 'http://www.youtube.com/results?search_query=円城塔&oq=円城塔&aq=f&aqi=g-z1&aql=&gs_sm=s&gs_upl=662344l662344l0l663700l1l1l0l0l0l0l520l520l5-1l1l0', | |
}, | |
{ | |
url: 'http://www.tsogen.co.jp/np/(?:label/\\w{1}|searchresult).html\\?', | |
nextLink: '//div[@class="pagerBox"]/p/a[@class="next"]', | |
pageElement: 'id("main")/div[@class="mainContents"]/div[@class="booklistBox"]', | |
exampleUrl: 'http://www.tsogen.co.jp/np/label/selection.html http://www.tsogen.co.jp/np/searchresult.html?page=2', | |
}, | |
{ | |
url: 'http://[as]\\d.(?:12x24|picloda).net/', | |
nextLink: '//p[@class="bline"]/strong/following-sibling::a', | |
pageElement: '//table[@summary]', | |
exampleUrl: 'http://s1.12x24.net/index.php?mode=rank http://s2.12x24.net/index.php http://a1.picloda.net/index.php', | |
}, | |
/* javascript ページ構築 | |
{ | |
url: 'http://www.asahi.com/travel/gallery_e/view_photo.html', //\\?09diving-pg/TKY201112200205.jpg', | |
nextLink: '//p[@class="Next"]/a', | |
pageElement: 'id("MainInner")/ *', | |
exampleUrl: 'http://www.asahi.com/travel/gallery_e/view_photo.html?09diving-pg/TKY201112200205.jpg', | |
}, | |
*/ | |
{ | |
url: 'http://image.tailtame.com/file\\d?/(?:sail|kuro|rutile)/(?:upload|\\d+).html', | |
nextLink: '//a[.="[ALL]"]/following-sibling::text()[number(translate(.,"[]",""))>0]/following-sibling::a', | |
pageElement: '//table[@summary="upinfo"]', | |
exampleUrl: 'http://image.tailtame.com/file/sail/upload.html', | |
}, | |
/* javascript遷移 | |
{ | |
url: 'http://faq.cedyna.co.jp/EokpControl?&event=CE0002&cid=23180', | |
nextLink: '', | |
pageElement: '', | |
exampleUrl: 'http://faq.cedyna.co.jp/EokpControl?&event=CE0002&cid=23180', | |
}, | |
*/ | |
{ | |
url: 'http://qa.eonet.jp/', | |
nextLink: '//span[@class="paging_area"]//td[b[number(.)>0]]/following-sibling::td/a', | |
pageElement: 'id("search_contents")/table/tbody/tr', | |
exampleUrl: 'http://qa.eonet.jp/?kw=%E9%80%9F%E5%BA%A6&ie=u', | |
}, | |
{ | |
url: 'http://www.propeller-game.com/blog/', | |
nextLink: 'id("content")/div[@class="navigation"]/div[@class="alignleft"]/a', | |
pageElement: 'id("content")/div[@id]', | |
exampleUrl: 'http://www.propeller-game.com/blog/ http://www.propeller-game.com/blog/?p=830', | |
}, | |
{ | |
url: 'http://www.propeller-game.com/product/sukima/special/4com/\\d{2}.html', | |
nextLink: 'id("commenu")/li[contains(@id, substring-after(substring-before(id("combox")/img/@src,".jpg"),"img/"))]/following-sibling::li/a', | |
pageElement: 'id("combox")|//h3', | |
exampleUrl: 'http://www.propeller-game.com/product/sukima/special/4com/01.html', | |
}, | |
{ | |
url: 'http://image.samsearch.net/m/', | |
nextLink: '//td/a[img[contains(@src, "next")]]', | |
pageElement: '//center/table[@bgcolor]', | |
exampleUrl: 'http://image.samsearch.net/m/%E8%80%B3/1', | |
}, | |
{ | |
url: 'http://(?:gahak|takatukarin)o.uron.vivian.jp/', | |
nextLink: '//ul[@class="navi"]/li/a[.=">>"]|//div[@class="pagingLink"]/a|//div[@class="entry_navi"]/a[.=">>" or .="OLD>>"]', | |
pageElement: 'id("blogBody")/*|id("box")/*', | |
exampleUrl: 'http://takatukarino.uron.vivian.jp/', | |
}, | |
{ | |
url: 'http://kaltutyu.wordpress.com/', | |
nextLink: '//div[@class="navlink"]/div[@class="nav-previous"]/p/a|//link[@rel="prev"]', | |
pageElement: 'id("content-left")/*', | |
exampleUrl: 'http://kaltutyu.wordpress.com/', | |
}, | |
{ | |
url: 'http://www.clippinjam.com/volume_\\d+/c[cf]_interview_\\d{2}.html', | |
nextLink: 'id("button-to-next")/a', | |
pageElement: 'id("contents")/*', | |
exampleUrl: 'http://www.clippinjam.com/volume_59/cf_interview_01.html', | |
}, | |
{ | |
url: 'http://crus.biz/nicocache_nl/up/', | |
nextLink: '//p[@class="bline"]/strong/following-sibling::a[number(.)>0]', | |
pageElement: '//table[@summary]', | |
exampleUrl: 'http://crus.biz/nicocache_nl/up/', | |
}, | |
{ | |
url: 'http://ln-news.com/archives/\\d+/', | |
nextLink: '//p/strong/following-sibling::text()[number(.)>0]/following-sibling::a|//*[not(//p/strong/following-sibling::text()[number(.)>0]/following-sibling::a)][@rel="prev"]', | |
pageElement: 'id("main")/*', | |
exampleUrl: 'http://ln-news.com/archives/3976/%e3%82%a4%e3%83%b3%e3%82%bf%e3%83%93%e3%83%a5%e3%83%bc%e3%80%8c%e3%83%a9%e3%83%8e%e3%83%99%e3%81%ae%e7%b4%a0%e3%80%8d%e3%80%82%e6%a6%8a%e4%b8%80%e9%83%8e%e5%85%88%e7%94%9f%e3%80%8c%e3%82%a2%e3%82%a6/', | |
}, | |
{ | |
url: 'http://lanopa.sakura.ne.jp/kyoto_sf/', | |
nextLink: '//td[@align="center"]/a|//div[@align="center"]//a[@href="./"]/following-sibling::a', | |
pageElement: '//table[@class="footer"]/following-sibling::*[following-sibling::table[@class="footer"]]|//div[@align="center"][table]', | |
exampleUrl: 'http://lanopa.sakura.ne.jp/kyoto_sf/', | |
}, | |
{ | |
url: 'http://shokuen.com/blog/\\d{4}/\\d{2}/', | |
nextLink: '//link[@rel="prev"]', | |
pageElement: 'id("alpha-inner")', | |
exampleUrl: 'http://shokuen.com/blog/2011/11/', | |
}, | |
{ | |
url: 'http://www.mr-bike.jp/feature/', | |
nextLink: 'id("mainCol")//*[@class="bottomNav"]/a[.="このページのトップへ"]/following::a[parent::*[@class="bottomNav"]]|//dd[@class="bottomNav"]/a[contains(.,"次のページ")]', | |
pageElement: 'id("content")/*', | |
exampleUrl: 'http://www.mr-bike.jp/feature/42nd_tokyo_motorshow/honda.html http://www.mr-bike.jp/feature/nsf250r/index.html http://www.mr-bike.jp/feature/ktm_125duke/', | |
}, | |
{ | |
url: 'http://www.asahi-net.or.jp/~kc7k-nd/onlispjhtml/', | |
nextLink: '//a[@href="index.html"]/following-sibling::a|//ul/li/a', | |
pageElement: '//address/preceding-sibling::node()', | |
exampleUrl: 'http://www.asahi-net.or.jp/~kc7k-nd/onlispjhtml/ http://www.asahi-net.or.jp/~kc7k-nd/onlispjhtml/preface.html', | |
}, | |
{ | |
url: 'http://eiga.com/news/\\d{8}/\\d{1,2}/', | |
nextLink: '//div[@class="gallery_row"]/div/a[img]|//div[@class="galleryBox"]/ul/li[@class="btFwd"]/a|//div[@class="articleBox"]/span[contains(@class,"pictBox")]/a', | |
pageElement: '//div[@class="galleryBox"]/span|//div[@class="articleBox_n"]', | |
exampleUrl: 'http://eiga.com/news/20111119/5/1/01/ http://eiga.com/news/20111119/5/2/ http://eiga.com/news/20111119/5/', | |
}, | |
{ | |
url: 'http://www.amaga.me/view.php', | |
nextLink: '//div[@class="list"]/ul/li/a', | |
pageElement: 'id("contents")', | |
exampleUrl: 'http://www.amaga.me/view.php?p=93', | |
}, | |
{ | |
url: 'http://foxy.homelinux.net/(?:futaba/)?', | |
nextLink: '//table//td/b/following-sibling::a', | |
pageElement: '//form/table[@align="right"]/preceding-sibling::node()', | |
exampleUrl: 'http://foxy.homelinux.net/ http://foxy.homelinux.net/futaba/', | |
}, | |
{ | |
url: 'http://www5.mirusoft.com/databank/gazouita_collector/script/nijicon.php\\?thread', | |
nextLink: '//a[.="[次]"]', | |
pageElement: '//h2/following-sibling::table', | |
exampleUrl: 'http://www5.mirusoft.com/databank/gazouita_collector/script/nijicon.php?thread=1318688447&datp=thread', | |
}, | |
{ | |
url: 'http://hamarepo.com/story.php', | |
nextLink: '//div[@class="a_navi"]/p[@class="an_next"]/a', | |
pageElement: '//div[@class="explain"]/div[@class="container"]', | |
exampleUrl: 'http://hamarepo.com/story.php?story_id=402', | |
}, | |
/* javascript 遷移 | |
{ | |
url: 'http://jp.reuters.com/article/jp_column', | |
nextLink: '', | |
pageElement: '', | |
exampleUrl: 'http://jp.reuters.com/article/jp_column/idJPJAPAN-24100120111111', | |
}, | |
*/ | |
{ | |
url: 'http://64windows7erogame.dressingroom.jp/', | |
nextLink: 'id("content")/div[@class="navi"]/a', | |
pageElement: 'id("content")/*', | |
exampleUrl: 'http://64windows7erogame.dressingroom.jp/article/38752932.html', | |
}, | |
{ | |
url: 'http://cheebow.info/chemt/', | |
nextLink: 'id("arc_center")/div/p/a|id("center")/div[@class="content"]/a', | |
pageElement: 'id("arc_center")/div|id("center")/div[@class="content"]', | |
exampleUrl: 'http://cheebow.info/chemt/archives/2011/11/libub.html', | |
}, | |
{ | |
url: 'http://web.archive.org/web/\\d+/http://c-cross.cside2.com/html/', | |
nextLink: '//a[font and img][contains(.,"NEXT")]', | |
pageElement: '//a[table]', | |
exampleUrl: 'http://web.archive.org/web/20030828224111/http://c-cross.cside2.com/html/b20hu001.htm#a', | |
}, | |
/* | |
{ | |
url: 'http://wedata.net/items/', | |
nextLink: 'id("content")/ul[@class="history"]/li[count(a)=1]/following-sibling::li/a', | |
pageElement: 'id("content")/node()[table or self::text()[last()]]', | |
exampleUrl: 'http://wedata.net/items/2391?rev=79073', | |
}, | |
*/ | |
{ | |
url: 'http://marijuana.ddo.jp/is01/index.php', | |
nextLink: '//div/strong/following-sibling::a', | |
pageElement: 'id("centercolumn")/div/*[self::table or self::div[@style]]', | |
exampleUrl: 'http://marijuana.ddo.jp/is01/index.php?moddir=downloads http://marijuana.ddo.jp/is01/index.php?moddir=treebbs', | |
}, | |
/* | |
{ | |
url: '^http://(?:[^.]+\.)?oekakist\.com/', | |
nextLink: '//small/a[b[contains(.,"BACK")]]|//small/b/following-sibling::a[number()>0]', | |
pageElement: '(//form|//table)[.//input[@checked]]/following-sibling::*[following::small]', | |
exampleUrl: 'http://pig.oekakist.com/ougon/bbsnote.cgi http://oekakist.com/sample8/', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://.* /', | |
nextLink: '(//small/a[b[contains(.,"BACK")]]|//small/b/following-sibling::a[number()>0])[contains(@href,"bbsnote.cgi")]', | |
pageElement: '(//form|//table)[.//input[@checked]]/following-sibling::*[following::small]|//small/ancestor::*[self::div[1][not(ancestor::table)] or self::table[1]][1]/preceding-sibling::*[preceding::input[@checked]]', | |
exampleUrl: 'http://www10.big.or.jp/~kamina/cgi-bin/bbs/bbsnote.cgi http://www.bozland.net/cgi/p_bbs2/bbsnote.cgi http://cgi.yoshihiko-s.com/fuduki/p-bbs/ http://pig.oekakist.com/ougon/bbsnote.cgi http://jankjangle.ddo.jp/iro/upload/bbsnote.cgi', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://.* /', | |
nextLink: '(//small/a[b[contains(.,"BACK")]]|//small/b/following-sibling::a[number()>0])[contains(@href,"bbsnote.cgi")]', | |
pageElement: '//small/ancestor::*[self::div[1][not(ancestor::table)] or self::table[1]][1]/preceding-sibling::*[preceding::input[@checked]]', | |
exampleUrl: 'http://www10.big.or.jp/~kamina/cgi-bin/bbs/bbsnote.cgi http://www.bozland.net/cgi/p_bbs2/bbsnote.cgi http://cgi.yoshihiko-s.com/fuduki/p-bbs/ http://pig.oekakist.com/ougon/bbsnote.cgi http://jankjangle.ddo.jp/iro/upload/bbsnote.cgi', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://.* /bbsnote.cgi', | |
nextLink: '//div//a[b[contains(.,"BACK")]]|//div//b/following-sibling::a[number()>0]', | |
pageElement: '//center/center/center[1]/preceding-sibling::node()[1]/following-sibling::*[following-sibling::a[@name="pages"][hr]]]', | |
exampleUrl: 'http://www10.big.or.jp/~kamina/cgi-bin/bbs/bbsnote.cgi http://www.bozland.net/cgi/p_bbs2/bbsnote.cgi', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://www10.big.or.jp/~kamina/cgi-bin/bbs/bbsnote.cgi', | |
nextLink: '//div//a[b[contains(.,"BACK")]]|//div//b/following-sibling::a[number()>0]', | |
pageElement: '//center/center/table/following-sibling::*', | |
exampleUrl: 'http://www10.big.or.jp/~kamina/cgi-bin/bbs/bbsnote.cgi', | |
}, | |
*/ | |
{ | |
url: 'http://crazywhite.s370.xrea.com/page_thumb\\d{3}.html', | |
nextLink: '//td/a[img[contains(@src,"next")]]', | |
pageElement: 'id("Layer1")/*', | |
exampleUrl: 'http://crazywhite.s370.xrea.com/page_thumb407.html http://crazywhite.s370.xrea.com/page_thumb397.html', | |
}, | |
{ | |
url: 'http://yakinikunotare.boo.jp/orebase/index.php.*?%C6%C9%A4%E0', | |
nextLink: '(id("bodyInner")/h2[contains(.,"まとめ")]/following-sibling::p[following-sibling::h2[1]]/a|id("related")/a)[number(substring-after(preceding::a[1]/text(),"読む")) +2 = number(substring-after(text(),"読む")) or number(substring-after(text(),"読む")) = number(substring-after(following::a[1]/text(),"読む")) +2]|(id("bodyInner")/h2[contains(.,"まとめ")]/following-sibling::p[following-sibling::h2[1]]/a)[last()=1]', | |
pageElement: 'id("bodyInner")', | |
exampleUrl: 'http://yakinikunotare.boo.jp/orebase/index.php?Javascript%2Fprototype.js%2F%C6%C9%A4%E0005', | |
}, | |
/* | |
{ | |
url: 'http://(?:(?:all|n?sfw)\.)?juvo.se/', | |
nextLink: 'id("center")/div/span//strong[text()>=0]/following-sibling::* /descendant-or-self::a',//|id("center")/div/span/span/span/strong/following-sibling::a', | |
pageElement: 'id("images")/*', | |
exampleUrl: 'http://juvo.se/1 http://all.juvo.se/', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://charger440.jp/bokoboko/category/', | |
nextLink: '//td[@bgcolor="#FF0000"]/following-sibling::td//a|//td[@bgcolor="#FF0000"]/ancestor::tr[2]/following-sibling::tr//a', | |
pageElement: '//div/descendant::table[3][descendant::table[2]]|//div[//td[@bgcolor="#FF0000"]/.="01"]/table/tbody/tr/td/img[string-length(@alt)>0]', | |
exampleUrl: 'http://charger440.jp/bokoboko/category/r71_01.php', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://charger440.jp/', | |
nextLink: '//div/font/strong[number(text())>0]/following-sibling::* /descendant-or-self::a', | |
pageElement: '//div/descendant::table[3][descendant::table[2]]', | |
exampleUrl: 'http://charger440.jp/kakari/vol42/vol42.php http://charger440.jp/hukumen/vol59/01.php', | |
}, | |
*/ | |
/* | |
{//2chまとめブログの最新記事一覧 - わいわい2ちゃんねる | |
url: '^http://yy2ch\.net/', | |
nextLink: '//td[@class="tnavi2"]/a[contains(.,"前")]', | |
pageElement: '//td[@class="waku2"]/table[@class="kijiall"]', | |
exampleUrl: 'http://yy2ch.net/', | |
}, | |
*/ | |
/* | |
{ | |
"pageElement": "id(\"container\")\/\/table[.\/descendant::tr[@style]]", | |
"url": "^http:\/\/logsoku\\.com\/search\\.php\\?", | |
"nextLink": "\/\/li[contains(concat(\" \", @class, \" \"), \" next \")]\/a", | |
"exampleUrl": "http:\/\/logsoku.com\/search.php?query=%E3%83%8E%E3%83%AB%E3%82%A6%E3%82%A7%E3%83%BC&category=&order=desc&sort=create" | |
}, | |
*/ | |
/* | |
{//WEBアニメスタイル_COLUMN | |
url: 'http://style.fm/as/05_column/(?:\\w+/)?\\w+\\d+.shtml', | |
nextLink: '//*[@class="text2"]/a[contains(.,"続")]|//p[@class="next"]/a[img]|//a[img[contains(@src,"next")] or contains(@onmouseover,"next")]', | |
pageElement: '(//td[@valign="top" and @align="left"]/table|id("path_block"))/following-sibling::*', | |
exampleUrl: 'http://style.fm/as/05_column/animesama47.shtml http://style.fm/as/05_column/animesama72.shtml http://style.fm/as/05_column/shudo01.shtml http://style.fm/as/05_column/itagaki/itagaki236.shtml http://style.fm/as/05_column/itagaki01.shtml http://style.fm/as/05_column/itagaki02.shtml', | |
}, | |
*/ | |
{ | |
url: 'http://atahuta.sakura.ne.jp/', | |
nextLink: '//a[img]', | |
pageElement: '//p[a[img] or img]', | |
exampleUrl: 'http://atahuta.sakura.ne.jp/fc1.html', | |
}, | |
{ | |
url: 'http://cmonos.jp/blog/', | |
nextLink: '//link[@rel="prev"]|id("local-navi-top")/a[last()=1]', | |
pageElement: 'id("main")/*', | |
exampleUrl: 'http://cmonos.jp/blog/2010070500/1.shtml', | |
}, | |
{ | |
url:'^http://2ch-c\.net', | |
nextLink:'//td[@class="main_td"]/div[@class="center"]/a[contains(.,"前")]', | |
pageElement:'id("clip")/..', | |
}, | |
{ | |
url: 'http://www4.ocn.ne.jp/~kaerume/k2e/regex_\\d.html', | |
nextLink: '//div[@class="linknav"]/a[last()]', | |
pageElement: '//div[@class="linknav"]/preceding-sibling::*', | |
exampleUrl: 'http://www4.ocn.ne.jp/~kaerume/k2e/regex_1.html', | |
}, | |
{ | |
url: 'http://www.geocities.jp/kasuga399/sugar/',//oebi_kyokousendan\\d.html', | |
nextLink: '//p/b[last()]/a', | |
pageElement: '//div[@align="center"]/following-sibling::*[not(self::ul)]', | |
exampleUrl: 'http://www.geocities.jp/kasuga399/oebi_kyokousendan1.html', | |
}, | |
{ | |
url: 'http://www.geocities.jp/kasuga399/',//oebi_kyokousendan\\d.html', | |
nextLink: '//ul/li/b/following-sibling::a|//ul/li[b]/following-sibling::li/a', | |
pageElement: '//div[@align="center"]/following-sibling::*[not(self::ul)]', | |
exampleUrl: 'http://www.geocities.jp/kasuga399/oebi_kyokousendan1.html', | |
}, | |
{ | |
url: 'http://www.geocities.jp/kasuga399/oebi_kyokousendan\\d.html', | |
nextLink: '//p[last()]/a', | |
pageElement: '//ul/following-sibling::*[following-sibling::ul]', | |
exampleUrl: 'http://www.geocities.jp/kasuga399/oebi_kyokousendan1.html', | |
}, | |
/* | |
{ | |
url: 'https://github.com/', | |
nextLink: 'id("dashboard")/div/div[contains(@class,"ajax_paginate")]/a[.="More"]', | |
pageElement: 'id("dashboard")/div[@class="news"]/*', | |
exampleUrl: 'https://github.com/ https://github.com/dashboard/index/2', | |
}, | |
*/ | |
{ | |
url: 'https://github.com/[\\w-]+/[^/]+/commits/', | |
nextLink: '//div[@class="pagination"]/a[contains(.,"Older")]', | |
pageElement: 'id("main")/div[@class="site"]/*[starts-with(@class,"commit-group")]', | |
exampleUrl: 'https://github.com/swdyh/autopagerize/commits/master', | |
}, | |
/* | |
{ | |
url:'^http://(?:up[0-9]+\.)?viploader\.net/', | |
nextLink:'//small/small/text()[string-length(normalize-space()) > 1]/following-sibling::a[1]', | |
pageElement:'//table[@summary="upinfo"]', | |
insertBefore:'//small/center', | |
}, | |
*/ | |
{ | |
url: 'http://www.networld.co.jp/coyote/manga/', | |
nextLink: 'id("manga01 manga02 manga03 manga04 manga05 manga06")[a[@class="checked"]]/following-sibling::li/a', | |
pageElement: 'id("contents")', | |
exampleUrl: 'http://www.networld.co.jp/coyote/manga/index.html', | |
}, | |
/* | |
{ | |
url: 'http://mankaki.jp/', | |
nextLink: '//span[@class="page"]/span/following-sibling::a|//span[@class="next"]/a|id("mangaBottomBox")/ul/li[@class="prev"]/a', | |
pageElement: 'id("Center")/div/div/div[contains(concat(" ",@class," ")," pagerRelative ")]/following-sibling::*[following-sibling::div[contains(concat(" ",@class," ")," pagerRelative ")]]|id("mangaDetailBox mangaImage mangaBottomBox")', | |
exampleUrl: 'http://mankaki.jp/manga/listMember/2882 http://mankaki.jp/manga/list http://mankaki.jp/tag http://mankaki.jp/mangaTag/%E6%97%A5%E3%82%81%E3%81%8F%E3%82%8A%E3%82%AB%E3%83%AC%E3%83%B3%E3%83%80%E3%83%BC http://mankaki.jp/manga/16807', | |
}, | |
*/ | |
{ | |
url: 'http://hime.dojin.com/', | |
nextLink: 'id("page_nav")/li/a[.="Next"]', | |
pageElement: 'id("page")', | |
exampleUrl: 'http://hime.dojin.com/001.html', | |
}, | |
/* | |
{ | |
pageElement: 'id("main")/*', | |
url: '^http://opera-info\.de/forum/index\.php', | |
nextLink: '//li[@class="active"]/following-sibling::li/a[number(.)>0]', | |
exampleUrl: 'http://opera-info.de/forum/thread.php?threadid=14050', | |
}, | |
*/ | |
/* | |
{ | |
url:'^https?://.+/bbstcon\.php', | |
nextLink:'//a[contains(text(),"\u4e0b\u4e00\u9875")]', | |
pageElement:'//h1/following-sibling::node()', | |
}, | |
*/ | |
/* | |
{ | |
url:'^http://www\.health\.ne\.jp/library/', | |
nextLink:'//li[@class="next"]/a', | |
pageElement:'//td[@align="center"]/div[@align="center"][center]', | |
}, | |
*/ | |
/* | |
{ | |
url: '^http://(?:www\.)?accessup\.org/\\w+/\\w+/', | |
nextLink: '//a[@accesskey]', | |
pageElement: 'id("menu")/following-sibling::div[@class="table"]/*[self::input or @accesskey][1]/preceding-sibling::node()', | |
exampleUrl: '', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://www.doujinnet.net/contents/', | |
nextLink: '//td[contains(.//img/@src,"num/here")]/following-sibling::td/div/a', | |
pageElement: 'id("rightcolumn")/table', | |
exampleUrl: 'http://www.doujinnet.net/contents/iDOLM@STER/index.html', | |
}, | |
*/ | |
{ | |
url: 'https://shop.elecom.co.jp/Store/ProductList.aspx\\?CategoryKey=OUTLET_27', | |
nextLink: '', | |
pageElement: '', | |
exampleUrl: 'https://shop.elecom.co.jp/Store/ProductList.aspx?CategoryKey=OUTLET_27', | |
}, | |
{ | |
url: 'http://www2.elecom.co.jp/tables/smartphone/top.aspx', | |
nextLink: '//a[contains(.,"次")]', | |
pageElement: '//td/div[@class="correspondence-grid-index"]', | |
exampleUrl: 'http://www2.elecom.co.jp/tables/smartphone/top.aspx?_isquery=&keybordInput=%83L%81%5b%83%7b%81%5b%83h&memoryCardInput=%83%81%83%82%83%8a%83J%81%5b%83h&existOnlyInput=%8c%bb%8ds&_end=#_cttableanchor', | |
}, | |
/* | |
{ | |
url: '^http://[^.]+\.justin\.tv/directory', | |
nextLink: 'id("pagelinks")/span[contains(concat(" ",@class," ")," next ")]/a', | |
pageElement: '//ul[contains(@class, "channel_list")]', | |
exampleUrl: 'http://ja.justin.tv/directory', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://[^./]+.otaden.jp/', | |
nextLink: '//div[@class="menu_left" or @class="menu"]//a[((starts-with(@href,"/e") or starts-with(@href,"e")) and contains(.,"前")) or (contains(@href,"index") and contains(.,"次"))]', | |
pageElement: 'id("content")/div[@class="blog"]/*[@class="blogbody" or contains(@class,"title") or @class="date" or self::h2 or self::hr or self::br]', | |
exampleUrl: 'http://sugaya.otaden.jp/ http://sugaya.otaden.jp/e2594.html http://sister.otaden.jp/e210352.html http://hirorin.otaden.jp/ http://otakazoku.otaden.jp/e201643.html', | |
}, | |
*/ | |
{ | |
url: '^http://pc\.nikkeibp\.co\.jp/article/', | |
nextLink: 'id("co_pagenumLink")/p[@class="arrowR"]/a', | |
pageElement: 'id("co_explain")/*[not(contains(" co_explainLink co_capArea thisIndex rPR_yellow printarea ",concat(" ",@id," "))]', | |
}, | |
{ | |
url: 'http://pc.nikkeibp.co.jp/(?:article/NPC/|bns/bncolumn)', | |
nextLink: 'id("th_ranklist")/a[contains(.,"次")]', | |
pageElement: 'id("th_ranklist")/ul', | |
exampleUrl: 'http://pc.nikkeibp.co.jp/article/NPC/20071109/286837/', | |
}, | |
{ | |
url: 'http://eco.nikkeibp.co.jp/article/report/', | |
nextLink: 'id("pages")/div/span[b]/following-sibling::span/a', | |
pageElement: 'id("articlebody")/*[following-sibling::div[@id="pages"]]', | |
// insertBefore: '', | |
exampleUrl: 'http://eco.nikkeibp.co.jp/article/report/20090224/100849/', | |
}, | |
{ | |
url: 'http://pc.nikkeibp.co.jp/article/\\w+/\\d+/\\d+/\\?SS=imgview', | |
nextLink: '//table/tbody/tr/td[a[img[@src=preceding::table/tbody/tr/td/img/@src or contains(substring-after(@src,"thumb_400_"),preceding::table/tbody/tr/td/img/@src)]]]/following-sibling::td/a', | |
pageElement: '//div[table[not(.//a[img])]]', | |
// insertBefore: '', | |
exampleUrl: 'http://pc.nikkeibp.co.jp/article/trend/20110304/1030590/?SS=imgview&FD=432143066', | |
}, | |
{ | |
url: 'http://www.ktco.co.jp/it4koma/', | |
nextLink: 'id("content")/h3/a[last()]', | |
pageElement: 'id("content")/node()[following-sibling::h3]', | |
exampleUrl: 'http://www.ktco.co.jp/it4koma/defrag.html', | |
}, | |
/* backup */ | |
{ | |
url: '^https?://(?:c(?:areer|ode)|enterprise|m(?:arke|oney)|)zine\.jp/(?:a(?:rticle|uthor)/|search)', | |
nextLink: '//td[@class="pg_bar_next"]/a|//div[@class="utility"]//li[@class="next"]/a|//td[@class="active"]/following-sibling::td[1]/a|//span[@class="pg_next"]/a|//div[@class="linkmenu_sub"]/span[@class="current"]/following-sibling::a|//div[@class="linkmenu_sub"]/a[img/@alt="→"]|//div[@id="article"][contains(h4/text(),"記事")]/ul/li/a', | |
pageElement: 'id("article lead") | //td/div[contains(@class,"listitem")] | //div[contains(@class,"contents_list") or contains(@class,"gsc-webResult")] | //div[contains(@class,"pager")]/following-sibling::*[self::dl or self::ul] | //div[@class="app"]/div[contains(@class,"listitem")]|id("title")[//div[@class="linkmenu_sub"]/span[@class="current"]/text()="1" or not(//div[@class="pager"] or //div[@class="paging"]/table[@class="pg_bar"]//a)]|//div[@id="article"]', | |
exampleUrl: 'http://enterprisezine.jp/article/detail/1991 http://codezine.jp/article/corner/210 http://codezine.jp/article/detail/2979 http://enterprisezine.jp/article/detail/2519', | |
}, | |
//*/ | |
{ | |
url: 'http://www.tedia.jp/entry/manga_oss/', | |
nextLink: 'id("manga_oss")/p[@class="navi"]/a[contains(img/@src,"next")]', | |
pageElement: 'id("manga_oss")/*', //p[not(@class)]', | |
exampleUrl: 'http://www.tedia.jp/entry/manga_oss/?id=1', | |
}, | |
{ | |
url: 'http://www.ipa.go.jp/security/personal/kujo_manga/', | |
nextLink: '//div[@class="nextBack"]/a[contains(img/@src,"continue")]|//table[@class="kujoTitleList"]//a', | |
pageElement: 'id("rightArea")/*', | |
exampleUrl: 'http://www.ipa.go.jp/security/personal/kujo_manga/index.html', | |
}, | |
{ | |
url: 'http://www.stock-(?:chart|life).net/(?:ST/market/day_Y|theme/\\d{8}-nikkei\\d{3})/[\\w-]+-\\d{2}.s?html', | |
nextLink: '//center/table[colgroup]/tbody/tr/td[last()]//a', | |
pageElement: '//h1/following-sibling::center[table/colgroup]/following-sibling::center[following-sibling::center[table/colgroup]]', | |
exampleUrl: 'http://www.stock-chart.net/ST/market/day_Y/tse1-10.shtml http://www.stock-chart.net/ST/market/day_Y/jasdaq-10.shtml http://www.stock-life.net/theme/20100628-nikkei225/nikkei225-mini-10.html', | |
}, | |
{ | |
url: 'http://anime.webnt.jp/', | |
nextLink: 'id("page_navi")//th[@class="next"]/span/a', | |
pageElement: 'id("main_item")/p[img/@title]/following-sibling::*[not(self::ul)]', | |
exampleUrl: 'http://anime.webnt.jp/magazine http://anime.webnt.jp/report http://anime.webnt.jp/news http://anime.webnt.jp/search?search=%E6%97%A5%E5%B8%B8', | |
}, | |
{ | |
url: 'http://sai-zen-sen.jp/works/',//(?:comic|fiction)s/[\\w-]+/\\d{2}/\\d{2}', | |
nextLink: 'id("volumes_next")/a', | |
pageElement: 'id("book-body")/*[@class="book-page-spread"]', | |
exampleUrl: 'http://sai-zen-sen.jp/works/fictions/doppelganger/01/01.html http://sai-zen-sen.jp/works/comics/karanokyoukai/01/01.html', | |
}, | |
{ | |
pageElement: '//div[@class="ppdis00016WrapC clearfix" or @class="ppdis00016WrapD clearfix" or @class="ppdis00016WrapE clearfix"]|//div[contains(@class,"ppdis00016WrapC") or contains(@class,"ppdis00016WrapD") or contains(@class,"ppdis00016WrapE")]|id("ppdis00016Wrap")/div[2]/div/div/div/div/div/div/div', | |
url: '^http://(?:www\.)?discas\.net/netdvd/dvd/searchDvd\.do', | |
nextLink: '//div[@class="sortView clearfix"]/ul/li[@class="cellLast"]/a[starts-with(text(),"\u6b21")]|//div[contains(@class,"sortView")]/ul/li[span]/following-sibling::li/a', | |
exampleUrl: 'http://www.discas.net/netdvd/dvd/searchDvd.do?pl=0&pT=0&pn=1&u=0&t=2&dm=3&pa=sk_&sk=8&srt=8' | |
}, | |
{ | |
url: 'http://gihyo.jp/dev/serial/01/funny-play/', | |
nextLink: 'id("backNumber01")/ul/li[@class="here"]/preceding-sibling::li[1]/a', | |
pageElement: 'id("primary")/h2|id("article")', | |
exampleUrl: 'http://gihyo.jp/dev/serial/01/funny-play/0043 http://gihyo.jp/dev/serial/01/funny-play', | |
}, | |
/* | |
{ | |
url: '^http://(?:m\.)?theinterviews\.jp/[^/?#]+', | |
nextLink: '//a[@rel="next"]', | |
pageElement: 'id("main")/div[contains(" log user ",concat(" ", @class, " "))]', | |
exampleUrl: '', | |
}, | |
*/ | |
{ | |
url: 'http://www.atmarkit.co.jp/ad/empirix/bottleneckbusters0707/', | |
nextLink: '//td[p/img/@alt="PR"]/table//a[contains(translate(.,"1234567890",""),"第話")]', | |
pageElement: '//td[p/img/@alt="PR"]/*', | |
exampleUrl: 'http://www.atmarkit.co.jp/ad/empirix/bottleneckbusters0707/prologue/prologue.html', | |
}, | |
{ | |
url: '^http://www\.atmarkit\.co\.jp/fcoding/', | |
nextLink: '//img[contains(@src, "next") and contains(@src, ".gif")]/parent::a|//td[@align="right"]//a[number(translate(.,"第回",""))>0]|//div[@class="backnum"]/ul/li[span]/following-sibling::li/a', | |
pageElement: 'id("centercol")/div[@class="articleBox"]/*[following-sibling::table/tbody/tr/td//img[(contains(@src, "next") or contains(@src, "prev")) and contains(@src, ".gif")]]|id("centercol")[//td[@align="center"][starts-with(.,"1/")]]/div[@class="headset"]', | |
exampleUrl: 'http://www.atmarkit.co.jp/fcoding/articles/futaba/01/futaba01a.html', | |
}, | |
{ | |
url: 'http://www.atmarkit.co.jp/im/c(?:its/serial/dilbert|bp/serial/admi)/', | |
nextLink: 'id("centercol")/div[@class="backnum"]/ul/li[span]/following-sibling::li/a', | |
pageElement: 'id("headmenu-area")/following-sibling::node()[following-sibling::div[@class="backnum"]]', | |
exampleUrl: 'http://www.atmarkit.co.jp/im/cits/serial/dilbert/200/01.html http://www.atmarkit.co.jp/im/cbp/serial/admi/01/01.html', | |
}, | |
{ | |
url: 'http://www.atmarkit.co.jp/fxml/tanpatsu/10xslt/', | |
nextLink: '//tr[td[.//img[contains(@src,"thispag")]]]/following-sibling::tr/td//a', | |
pageElement: 'id("headmenu-area")/following-sibling::*[following-sibling::table[@align="CENTER"]]', | |
// insertBefore: '', | |
exampleUrl: 'http://www.atmarkit.co.jp/fxml/tanpatsu/10xslt/xslt02.html', | |
}, | |
{ | |
url: 'http://www.atmarkit.co.jp/f\\w+/rensai(?:\\d+)?/noSQL/\\w+\\d+/', | |
nextLink: 'id("centercol")/table/tbody/tr/td//a[img[contains(@src,"next.gif")]]', | |
pageElement: 'id("centercol")/h1/following-sibling::font[number(translate(text(),"/","0"))>0]/following-sibling::*[following-sibling::table[.//img[contains(@src, "thispag2.gif")]]]', | |
// insertBefore: '', | |
exampleUrl: 'http://www.atmarkit.co.jp/flinux/rensai/noSQL/noSQL_01/01_1.html', | |
}, | |
{ | |
url: 'http://www.atmarkit.co.jp/f\\w+/rensai(?:\\d+)?/\\w+\\d+/', | |
nextLink: 'id("centercol")/table/tbody/tr/td/a[img[contains(@src,"next.gif")]]', | |
pageElement: 'id("centercol")/h1/following-sibling::font/following-sibling::*[following-sibling::table[.//img[contains(@src, "thispag2.gif")]]]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://favolog.org/', | |
nextLink: 'id("main")/div[@class="pnavi"]/b/following-sibling::a', | |
pageElement: 'id("main")/*[self::h3[string-length(.)>6] or self::div[@class="tl-tweets"] or self::table[@class="tbl-cate-main"]]', | |
exampleUrl: 'http://favolog.org/ropross/user/2', | |
}, | |
{ | |
url: 'http://www.salesforce.com/jp/campaigns/showcase/', | |
nextLink: 'id("chatter-use-cases")/div/div//a', | |
pageElement: 'id("chatter-use-cases")/div[@class="panel-content"]', | |
exampleUrl: 'http://www.salesforce.com/jp/campaigns/showcase/mpo1.jsp', | |
}, | |
{ | |
url: 'http://aquamuseum.net/content/gallery/', | |
nextLink: 'id("content")/div/p/a[contains(.,">")]', | |
pageElement: 'id("content")/div', | |
exampleUrl: 'http://aquamuseum.net/content/gallery/uw/uw-001.html http://aquamuseum.net/content/gallery/shore/shore-001.html', | |
}, | |
{ | |
url: 'http://aquamuseum.net/content/cooking/assist/dsf/', | |
nextLink: 'id("recipe")/div[@class="page"]/img[number(@alt)>0]/following-sibling::a', | |
pageElement: 'id("recipe")/*', | |
exampleUrl: 'http://aquamuseum.net/content/cooking/assist/dsf/index.html', | |
}, | |
/* | |
{ | |
url: 'http://www.kobe-np.co.jp/(?:backnumber|news_now)/', | |
nextLink: '(id("news")/div[@class="news_contents"]|id("contents-in"))/div[@class="backnumber2"]/p/text()[string-length()>10]/following-sibling::a', | |
pageElement: '(id("news")/div[@class="news_contents"]|id("contents-in"))/div[@class="backnumber2"]', | |
exampleUrl: 'http://www.kobe-np.co.jp/news_now/asagiri.shtml http://www.kobe-np.co.jp/backnumber/asagiri/index2.shtml', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://www.kobe-np.co.jp/news/', | |
nextLink: 'id("photolist")/div[contains(concat(" ",@class," "),"photonavi")]/a[contains(" /img07/photo_btn_next.gif /img07/photo_btn_article.gif ",concat(" ",img/@src," "))]|id("news_photo")/div/div/a', | |
pageElement: 'id("photolist")/table|id("news")/div[@class="news_contents"]/div[contains(@class,"article")]|id("news_photo")', | |
exampleUrl: 'http://www.kobe-np.co.jp/news/awaji/0004376201.shtml http://www.kobe-np.co.jp/news/awaji/p1_0004376201.shtml', | |
}, | |
*/ | |
{ | |
url: '^http://(?:tech\.)?ascii\.jp/elem/000/000/\\d{3}/\\d{6}/', | |
nextLink: 'id("mainC")/div[contains(@class,"pages")]/p/span[@class="next"]/a|id("mainC")/div/p/span/a[img/@src="/img/bt_comicnex.gif"]|//a[@class="next" or parent::span[@class="next"]] | //span[@class="next" and last()]/a[contains(text(),"次へ")] | //a[contains(text(), "(続きはこちら)")]', | |
pageElement: '(id("articleHead")|id("contdefault")/*[@class="newauthor" or (self::h1 and not(following-sibling::p/@class="newauthor" or preceding-sibling::p/@class="newauthor"))])/following-sibling::*[following-sibling::div[contains(" pager pages pgbottom pagerComic ",concat(" ",@class," "))]]', | |
//pageElement: 'id("articleHead")/following-sibling::node()[following-sibling::div[contains(@class,"pagerComic")]]', | |
// insertBefore: '', | |
exampleUrl: 'http://tech.ascii.jp/elem/000/000/600/600188/?crank http://tech.ascii.jp/elem/000/000/600/600536/ http://ascii.jp/elem/000/000/436/436831/ http://ascii.jp/elem/000/000/612/612015/index-6.html', | |
}, | |
/* | |
{ | |
url: 'http://ascii.jp/elem/000/000/\\d{3}/\\d{6}/', | |
nextLink: 'id("mainC")/div/p/span/a[img[@src="/img/bt_comicnex.gif"]]', | |
pageElement: 'id("mainC")/table', | |
exampleUrl: 'http://ascii.jp/elem/000/000/436/436831/ http://ascii.jp/elem/000/000/612/612015/index-6.html', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://tech.ascii.jp/elem/000/000/600/\\d{6}/', | |
nextLink: 'id("mainC")/div[contains(@class,"pages")]/p/span[@class="next"]/a', | |
pageElement: 'id("articleHead")/following-sibling::node()[following-sibling::div[contains(@class,"pages")]]',//id("articleHead")/following-sibling::node()[following-sibling::div[@id="artAds"]] | |
// insertBefore: '', | |
exampleUrl: 'http://tech.ascii.jp/elem/000/000/600/600188/?crank http://tech.ascii.jp/elem/000/000/600/600536/', | |
}, | |
*/ | |
{ | |
// insertBefore: "", | |
pageElement: '//table[@class="image_table"]',// '//div[@class="resourcepage_image"]/a[img]', | |
url: '^http://k-tai\.impress\.co\.jp/img/.+\.jpg\.html', | |
// notes: '\u5f93\u6765\u306e\u300c.*photogallery/.*\.jpg\.html\u300d\u304b\u3089\u5909\u308f\u3063\u3066\u3044\u308b\u3002', | |
nextLink: '//td[@class="paging_right_cell"]/a', | |
exampleUrl: 'http://k-tai.impress.co.jp/img/ktw/docs/404/870/html/t01c0-1.jpg.html', | |
}, | |
// { | |
// url:'^http://[^/]+\.impress\.co\.jp/img/\\w+/docs/\\d+/\\d+/photogallery/[^/]+\.jpg\.html', | |
// nextLink:'//div[@class="next_link"]/a', | |
// pageElement:'/html/*/*[.//@class="resourcepage_photoGalleryImage" or .//@class="resourcepage_caption"]|/html/body/script', | |
// }, | |
{ | |
url: '^http://web-tan\.forum\.impressrd\.jp/[el]/', | |
nextLink: 'id("next_page_link_auto")|id("mainContents")//div[@class="pager"]/span/span[@class="pager-current"]/following-sibling::a|//div[not(id("mainContents")//div[@class="pager"]/span/span[@class="pager-current"]/following-sibling::a)][@class="news_index_month_nav"]/span[@class="news_index_prevmonth"]/a|id("corner_othernodes_nodefooter")//div[@class="node_article_next"]/a', | |
pageElement: 'id("mainContents")//div[contains(concat(" ", @class, " "), " pager ")]/following::*[following-sibling::div[contains(concat(" ", @class, " "), " pager ")]]|id("mainContents")[//div[contains(concat(" ", @class, " "), " pager ")]/span/span/.="1"]/h1', | |
exampleUrl: 'http://web-tan.forum.impressrd.jp/e/2011/04', | |
}, | |
{ | |
url: 'http://\\w+.watch.impress.co.jp/(?:img/\\w+/)?docs/(?:news/\\d{8}_)?\\d{3}/?\\d{3}[/.]html', | |
nextLink: '//td/div/div[@class="targetInfo" or @class="mainContents"]/table/tbody/tr/td/a[img]|//div[@class="resourcepage_image"]/a[img]', | |
pageElement: '//td/div/div[@class="mainContents"]|//div[@class="resourcepage_image"][a[img] or img]', | |
// insertBefore: '', | |
exampleUrl: 'http://game.watch.impress.co.jp/docs/news/20110317_433426.html http://game.watch.impress.co.jp/img/gmw/docs/433/426/html/xiv01.jpg.html', | |
}, | |
/* | |
{//THINK SOCIAL pr mixi | |
url: 'http://pr.mixi.co.jp/', | |
nextLink: 'id("main")/div/ul/li/a[@class="link_next"]|id("main")/div/div/table//td[@align="left"]/a', | |
pageElement: 'id("main")/div[@class="news" or @class="entry"]', | |
exampleUrl: 'http://pr.mixi.co.jp/index.html http://pr.mixi.co.jp/2011/06/14/post-4.html', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://mixi.jp/recent_check.pl', | |
nextLink: 'id("bodyMainArea")/div[contains(@class,"pageNavigation01")]//ul/li/a[contains(.,"次")]', | |
pageElement: 'id("bodyMainArea")/div[@class="contentsBody"]', | |
//insertBefore: 'id("appliBody")/node()[last()]', | |
exampleUrl: 'http://mixi.jp/recent_check.pl', | |
}, | |
*/ | |
{ | |
url: 'http://mixi.jp/search_appli.pl', | |
nextLink: '//ul/li[@class="on"]/following-sibling::li/a|//ul/li[@rel="__next"]/a', | |
pageElement: 'id("appliBody")/div/ul[@class="appliList"]', | |
//insertBefore: 'id("appliBody")/node()[last()]', | |
exampleUrl: 'http://mixi.jp/search_appli.pl?mode=new&large_category=1&page=1', | |
}, | |
{//http://mixi.jp/list_community.pl?page=2&id=1542395 | |
url: 'http://mixi.jp/list_community.pl', | |
nextLink: 'id("bodyMainArea")/div/div[contains(@class,"pageNavigation01")]/div/ul/li[@rel="__next"]/a', | |
pageElement: 'id("bodyMainArea")/div//div[contains(@class,"iconList03")]', | |
// insertBefore: '', | |
exampleUrl: 'http://mixi.jp/list_community.pl?id=460193&from=icon', | |
}, | |
{ | |
url: 'http://mixi.jp/list_bookmark.pl', | |
nextLink: 'id("bodyMainArea")/div/div[contains(@class,"pageNavigation01")]//ul/li[@class="on"]/following-sibling::li/a', | |
pageElement: 'id("bodyMainArea")/div/ul', | |
// insertBefore: '', | |
exampleUrl: 'http://mixi.jp/list_bookmark.pl?kind=community', | |
}, | |
{ | |
url: 'http://mixi.jp/view_mylist.pl', | |
nextLink: 'id("bodyMainArea")/div/div[contains(@class,"pageNavigation01")]//ul/li[@class="on"]/following-sibling::li/a', | |
pageElement: 'id("delete_from_mylist_form")/table/tbody/tr', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
/* | |
{ | |
url: 'http://mixi.jp/view_bbs.pl', | |
nextLink: 'id("bodyMainArea")/dl/dd/dl/dd/a[contains(@href,text())][last()]', | |
pageElement: 'id("bodyMainArea")/*[self::dl[contains(@class,"bbsList01")] or self::div[@id="bbsComment"]]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://mixi.jp/new_friend_diary.pl', | |
nextLink: 'id("bodyMainAreaMain")/div/div[contains(@class,"pageNavigation01")]/div[contains(@class,"pageList02")]/ul/li[@rel="__next"]/a', | |
pageElement: 'id("bodyMainAreaMain")/div/ul[@class="entryList01"]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://mixi.jp/list_voice.pl\\?owner_id=\\d+', | |
nextLink: 'id("bodyMainArea")/div/div/div[@class="pageList02"]/ul/li[last()]/a', | |
pageElement: 'id("bodyMainArea")/div/ul', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
{ | |
pageElement: 'id("bodyMainAreaMain")/div[@class="viewDiaryBox"]|id(\"diaryComment")', | |
insertBefore: 'id("bodyMainAreaMain")/node()[last()]', | |
url: '^http://mixi\.jp/view_diary\.pl\\?id=1626743580&owner_id=39312&org_id=1626743825', | |
nextLink: 'id("bodyMainAreaMain")/div[contains(concat(" ", @class, " "), " diaryPaging01 ")]/div[@class=\"diaryPagingRight"]/a[last()]' | |
}, | |
/* mixi 同級生 | |
{ | |
url: 'https://mixi\.jp/(?:search|view)_school\.pl', | |
nextLink: '//li[@class="on"]/following-sibling::li/a', | |
pageElement: 'id("bodyMainArea")/div/ul[contains(@class,"entryList")]/li|id("schoolMemberArea")/ul[contains(@class,"memberList")]/li', | |
// insertBefore: '', | |
exampleUrl: 'https://mixi.jp/search_school.pl?mode=search&keyword=%C5%EC%B5%FE&school_type_id=04 https://mixi.jp/view_school.pl?school_id=10084692549', | |
}, | |
*/ | |
/* | |
{ | |
pageElement: '//div[@class="viewDiaryBox"] | id("diaryComment")', | |
insertBefore: 'id("diaryComment")/following-sibling::node()[1]', | |
url: '^http://mixi\.jp/view_diary\.pl.*owner_id=21796805.*', | |
nextLink: '//div[@class="diaryPagingRight"]/a', | |
exampleUrl:'http://mixi.jp/view_diary.pl?id=1049140901&owner_id=21796805', | |
}, | |
*/ | |
{ | |
url: 'http://mixi.jp/new_appli.pl', | |
nextLink: '//div[contains(@class,"pageNavigation")]//a[contains(text(),"次")]', | |
pageElement: 'id("bodyMainAreaMain")/div/ul/li', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
/* | |
{ | |
url: 'http://mixi\.jp/list_appli\.pl', | |
nextLink: 'id("bodyMainArea")//div[contains(@class,"pageNavigation")]/div[contains(@class,"pageList")]/ul/li/a[starts-with(text(),"次")]', | |
pageElement: 'id("bodyMainArea")//table/tbody/tr', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
{ | |
url: 'http://www.famitsu.com/guc/blog/web_comic/', | |
nextLink: 'id("diaryPager")/ul/li[@class="previous"]/a|id("c_pager")/ul/li[@class="current"]/following-sibling::li/a', | |
pageElement: 'id("diaryPager")/parent::div|id("c_content")/div[contains(concat(" ",@class," ")," c_blogNewsList ")]', | |
exampleUrl: 'http://www.famitsu.com/guc/blog/web_comic/10058.html', | |
}, | |
/* | |
{ | |
url: 'http://www.famitsu.com/comic_clear/se_c3/\\d+/', | |
nextLink: 'id("comic")/p/a[last()]', | |
pageElement: 'id("comic")/*', | |
exampleUrl: '', | |
}, | |
*/ | |
{ | |
url: 'http://www.famitsu.com/image/\\d+/[^/]+.html', | |
nextLink: 'id("articleBox")/div[@align="center"]/a[img]', | |
pageElement: 'id("articleBox")/div[@align="center"]/*[self::a[img] or self::img]', | |
exampleUrl: '', | |
}, | |
/* | |
{ | |
url: 'http://www.famitsu.com/news/\\d+/images/\\d+/\\w+.html', | |
nextLink: 'id("grand_title")/following-sibling::div[1]/a[img]', | |
pageElement: 'id("grand_title")/following-sibling::div[1]', | |
// insertBefore: '', | |
exampleUrl: 'http://www.famitsu.com/news/201101/images/00039167/Rn7fNx24IFm4ET7GhK2vbR11s95xAXM1.html', | |
}, | |
*/ | |
{ | |
url: 'http://www.famitsu.com/news/\\d+/(?:images/)?\\d', | |
nextLink: 'id("articleBox")/div[@align="center"]/a[img]|id("articleBox")/table//a[img]', | |
pageElement: 'id("articleBox")/node()[self::div[@align="center"] or self::*[following-sibling::div[starts-with(@class,"googleads")]]]', | |
// insertBefore: '', | |
exampleUrl: 'http://www.famitsu.com/news/201101/images/00039167/Rn7fNx24IFm4ET7GhK2vbR11s95xAXM1.html', | |
}, | |
/* | |
{ | |
url: 'http://www.famitsu.com/image/\\d+/[^/]+.html', | |
nextLink: 'id("articleBox")/div[@align="center"]/a[img]', | |
pageElement: 'id("articleBox")/div[@align="center"]/*[self::a[img] or self::img]', | |
exampleUrl: '', | |
}, | |
*/ | |
{ | |
url: 'http://www.famitsu.com/comic_clear/se_c3/\\d+/', | |
nextLink: 'id("comic")/p[2]/a[last()]', | |
pageElement: 'id("comic")/p[4]', | |
// insertBefore: '', | |
exampleUrl: 'http://www.famitsu.com/comic_clear/se_c3/0504/', | |
}, | |
/* | |
{ | |
url: '^http://www\.symphonic-net\.com/futaba/miku/[^.]+\.htm$', | |
nextLink: '//td/b/following-sibling::a', | |
pageElement: '//form[@name="post2"]/br[@clear="left"]/preceding-sibling::node()[preceding-sibling::div]', | |
// insertBefore: '//hr/following-sibling::table[@align="right"]', | |
exampleUrl: 'http://www.symphonic-net.com/futaba/miku/imgboard.htm', | |
}, | |
*/ | |
{ | |
url: 'http://bupo.jp/ishikei/cgroom6b/\\w+.htm', | |
nextLink: '(//p/a/following-sibling::text()|//p/a/preceding-sibling::text())[number(translate(normalize-space(.),"123456789","123456789"))>0]/following-sibling::a', | |
pageElement: '//a[contains(@href,"cgroom6.htm")]/following-sibling::node()', | |
exampleUrl: 'http://bupo.jp/ishikei/cgroom6b/10som_01.htm http://bupo.jp/ishikei/cgroom6b/09wom_01.htm http://bupo.jp/ishikei/cgroom6b/mkom06.htm', | |
}, | |
{ | |
url: 'http://lovemake.biz/', | |
nextLink: '//div/a[@rel="next"]', | |
pageElement: 'id("contents")/*[self::h2 or @class="manga" or @id="main"]', | |
exampleUrl: 'http://lovemake.biz/sites/1', | |
}, | |
/* | |
{ | |
url: 'http://www.cnn.co.jp/(?:fringe|photo)/', | |
nextLink: 'id("pagination")/ul/li[@class="thispage"]/following-sibling::li/a|id("contents_l")[not(id("pagination")/ul/li[@class="thispage"]/following-sibling::li/a)]/div[contains(concat(" ",@class," ")," block01 ")]/div/a|//div[@class="photolist"]/div/ul/li[@class="current"]/following-sibling::li/a|//div[@class="photoviewer"]/div/a[span and img]|//div[@class="photopaging"]/a[contains(concat(" ",@class," ")," next ")]', | |
pageElement: 'id("contents_l")/div[contains(concat(" ",@class," ")," block01 ")]/div[@class="block_story"]|//div[@class="slide_box_center"]/div[(@class="story_photoreport" and position()=1) or @class="block_story"]', | |
exampleUrl: 'http://www.cnn.co.jp/fringe/30003672.html http://www.cnn.co.jp/fringe/30003634.html http://www.cnn.co.jp/fringe/30003461.html', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://www.cnn.co.jp/fringe/', | |
nextLink: 'id("pagination")/ul/li[@class="thispage"]/following-sibling::li/a', | |
pageElement: 'id("contents_l")/div[contains(concat(" ",@class," ")," block01 ")]/div[@class="block_story"]', | |
exampleUrl: 'http://www.cnn.co.jp/fringe/30003672.html', | |
}, | |
{ | |
url: 'http://www.cnn.co.jp/photo/', | |
nextLink: '//div[@class="photolist"]/div/ul/li[@class="current"]/following-sibling::li/a|//div[@class="photoviewer"]/div/a[span and img]|//div[@class="photopaging"]/a[contains(concat(" ",@class," ")," next ")]', | |
pageElement: '//div[@class="slide_box_center"]/div[(@class="story_photoreport" and position()=1) or @class="block_story"]', | |
exampleUrl: 'http://www.cnn.co.jp/photo/4749-10000228.html', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://www.afpbb.com/topics/', | |
nextLink: 'id("left")/div[@class="pager"]/b/following-sibling::a', | |
pageElement: 'id("left")/div[@class="block" and not(@id)]', | |
exampleUrl: 'http://www.afpbb.com/topics/environment-science-it', | |
}, | |
*/ | |
{ | |
url: 'http://www.afpbb.com/article/', | |
nextLink: 'id("navR")[boolean(id("relatedPhotoL")/div/ul/li/script) and not(id("relatedPhotoL")/div/ul/li[script]/following-sibling::li[not(@class)]/a)]/a|id("relatedPhotoL")[not(id("relatedPhotoL")/div/ul/li/script)]/div/ul/li/a|id("relatedPhotoL")/div/ul/li[script]/following-sibling::li[not(@class)]/a', | |
pageElement: 'id("detail512 detail384")/div[2]', | |
insertBefore: 'id("ad04b")', | |
exampleUrl: 'http://www.afpbb.com/article/life-culture/life/2819576/7627876 http://www.afpbb.com/article/entertainment/fashion/2819420/7622634 http://www.afpbb.com/article/entertainment/news-entertainment/2376725/2817196?pageID=2', | |
}, | |
{ | |
url: 'http://www.mangadl.com/', | |
nextLink: '//ul/li[contains(concat(" ",@class," ")," pager-current ")]/following-sibling::li/a', | |
pageElement: '//div[@class="content"]/div/div[@class="view-content"]', | |
exampleUrl: 'http://www.mangadl.com/comiket/293', | |
}, | |
/* | |
{ | |
url: 'http://84ism.jp/', | |
nextLink: '//link[@rel="prev"]', | |
pageElement: 'id("content_single")/*', | |
exampleUrl: 'http://84ism.jp/archives/2422', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://illust-bbs.webclap.com/type_a/', | |
nextLink: '//p/b/following-sibling::a[number(translate(.,"[]",""))>0]', | |
pageElement: 'id("footer")/preceding-sibling::table', | |
exampleUrl: 'http://illust-bbs.webclap.com/type_a/?id=crazyW', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://spibal.webclap.com/(?:followed_team|news).html', | |
nextLink: '//div/b[number(translate(.,"[]",""))>0]/following-sibling::a', | |
pageElement: 'id("spibal_news")/div[table]/table|id("contents")/div[contains(concat(" ",@class," ")," left_column ")]/div/div[table]/table', | |
exampleUrl: 'http://spibal.webclap.com/followed_team.html?mode=list http://spibal.webclap.com/news.html?news_mode=attention', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://spibal.webclap.com/community.html', | |
nextLink: '//div/b[number(translate(.,"[]",""))>0]/following-sibling::a', | |
pageElement: 'id("contents")/div[contains(concat(" ",@class," ")," left_column ")]/div/div/table', | |
exampleUrl: 'http://spibal.webclap.com/community.html?community_mode=community_list', | |
}, | |
*/ | |
/* | |
{ | |
url: '^http://spibal\.webclap\.com/illust_club\.html', | |
nextLink: '//td/a[contains(.,">>")]', | |
pageElement: 'id("contents")/div[contains(concat(" ",@class," ")," left_column ")]/div[table]/div[img]/following-sibling::*', | |
insertBefore: '', | |
exampleUrl: 'http://spibal.webclap.com/illust_club.html?illust_mode=detail&work=1711 http://spibal.webclap.com/illust_club.html?illust_mode=detail&work=2053', | |
}, | |
*/ | |
/* | |
{ | |
url: '^http://spibal\.webclap\.com/(?:community|followed_team|illust_club|news)\.html', | |
nextLink: '//a[contains(img/@src, "./illust_club/img/page_next.gif")]|//div/b[number(translate(.,"[]",""))>0]/following-sibling::a', | |
//pageElement: 'id("contents")/div[contains(concat(" ",@class," ")," left_column ")]/div[table]/div[img]/following-sibling::*|id("contents")/div[contains(concat(" ",@class," ")," left_column ")]/div/table|id("contents")/div[contains(concat(" ",@class," ")," left_column ")]/div/div/table[not(@id="amazones")]|id("spibal_news")/div/table', | |
pageElement: 'id("contents")/div[contains(concat(" ",@class," ")," left_column ")]//div/table[not(@id="amazones")]|id("spibal_news")/div/table', | |
//table[@class="works_table"]', | |
insertBefore: '', | |
exampleUrl: 'http://spibal.webclap.com/illust_club.html?illust_mode=new_list http://spibal.webclap.com/community.html?community_mode=community_list http://spibal.webclap.com/followed_team.html?mode=list http://spibal.webclap.com/news.html?news_mode=attention', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://[^./]+.pixnet.net/album/',//(?:photo|list)/', | |
nextLink: '//link[@rel="next"]|//a[contains(concat(" ",normalize-space(@class)," ")," nextBtn ")]', | |
pageElement: 'id("left-column")/*', | |
exampleUrl: 'http://albertayu773.pixnet.net/album/photo/115000292 http://albertayu773.pixnet.net/album/photo/115210556 http://reddragonfly.pixnet.net/album/photo/117221513 http://reddragonfly.pixnet.net/album/list http://ponyliu.pixnet.net/album/photo/170918059', | |
}, | |
*/ | |
/* | |
{ | |
pageElement: 'id("posts")/li[starts-with(@id,"post_")]', | |
url: '^http://www\.tumblr\.com/(?:dashboard|tumblelog|tagged)', | |
nextLink: 'id("next_page_link")', | |
exampleUrl: 'http://www.tumblr.com/dashboard' | |
}, | |
*/ | |
/* | |
{ | |
pageElement: '//form[@name=\"delform"]/br[@clear="left"]/preceding-sibling::node()', | |
url: '^http://[a-z0-9-]+\.4chan\.org/', | |
nextLink: '//table[@class="pages"]//b/following-sibling::a', | |
exampleUrl: 'http://orz.4chan.org/y/imgboard.html' | |
}, | |
*/ | |
/* | |
{ | |
url: '^http://www\.512x\.net/seller/\\w+/', | |
nextLink: '//table/tbody/tr/td/div[@class="nav"]/a[@title="next page"]', | |
pageElement: '//table[@class="listing"]', | |
}, | |
*/ | |
{ | |
url: 'http://www.amazon.co.jp/gp/aw/d/', | |
nextLink: '(//center/form[input[@accesskey="6"]]|//center/img)/following-sibling::text()[number(.)>0]/following-sibling::a[number(.)>0]', | |
pageElement: '//center/img', | |
exampleUrl: 'http://www.amazon.co.jp/gp/aw/d/B005TEBLSW?is=m&in=1', | |
}, | |
{ | |
url: 'http://astore.amazon.co.jp/', | |
nextLink: '//td/span[@class="currentpage"]/following-sibling::a', | |
pageElement: 'id("featuredProducts")', | |
exampleUrl: 'http://astore.amazon.co.jp/au_is06-22?_encoding=UTF8&node=8', | |
}, | |
{//old | |
url: 'http://www.amazon.co.jp/gp/cart/view.html', | |
nextLink: 'id("cart-saved-items")/table/tbody/tr/td/text()[string-length(normalize-space())>5]/following-sibling::a', | |
pageElement: 'id("cart-active-items cart-saved-items")', | |
exampleUrl: 'http://www.amazon.co.jp/gp/cart/view.html/ref=gno_cart', | |
}, | |
{ | |
url: 'http://www.amazon.co.jp/gp/cart/view.html', | |
nextLink: '//div[@class="cart-item-pagination"]/a[number(parent::div/@page)+1]', | |
pageElement: 'id("cart-saved-items cart-active-items")', | |
exampleUrl: 'http://www.amazon.co.jp/gp/cart/view.html/ref=gno_cart', | |
}, | |
/* | |
{ | |
url: 'http://www.amazon.co.jp/(?:(?:registry/)?wishlist|gp/registry/)', | |
nextLink: 'id("bottomPagGradient")/preceding-sibling::div[@class="pagDiv"]/span[last()]/a|id("bottomPagGradient")/preceding-sibling::div[@class="pagDiv"]/span[contains(@class,"pagSelected")]/following-sibling::a', | |
pageElement: 'id("wlMain")/div[@class="wlNoUnderline"]//div[@class="list-items"]/div[@class="noUnderline"]',//'id("sortbarDisplay")/following-sibling::div[1]/*', | |
// insertBefore: '', | |
exampleUrl: 'http://www.amazon.co.jp/wishlist/WUIINYT7CC2L/', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://www.amazon.co.jp/gp/feature.html', | |
nextLink: 'id("result-count-and-sort-by")/following-sibling::table/tbody/tr/td[@class="paginationNext"]/a', | |
pageElement: '//div[@class="productList"]//div[@class="content"]', | |
// insertBefore: '', | |
exampleUrl: 'http://www.amazon.co.jp/gp/feature.html/ref=br_lf_m_3077032156_grlink_1?ie=UTF8&plgroup=1&docId=3077032156', | |
}, | |
*/ | |
{ | |
url: 'http://www.amazon.co.jp/gp/history/', | |
nextLink: '//td[@class="paginationNext"]/a', | |
pageElement: '//form[@action="/gp/history"]/table', | |
exampleUrl: 'http://www.amazon.co.jp/gp/history/ref=pd_ecc_rvi_cart_pyml', | |
}, | |
{ | |
url: 'http://www.amazon.co.jp/s/', | |
nextLink: '//td[@class="pagn"]/span[@class="pagnCur"]/following-sibling::span/a', | |
pageElement: 'id("center")/table', | |
exampleUrl: 'http://www.amazon.co.jp/s/ref=nb_sb_noss?__mk_ja_JP=カタカナ&url=search-alias%3Ddigital-music&field-keywords=&x=11&y=19', | |
}, | |
/* | |
{ | |
url: 'http://fotolog.cc/', | |
nextLink: '//div/ul/li[@class="current"]/following-sibling::li/a', | |
pageElement: '//div[contains(@class,"image-detail")]/*', | |
exampleUrl: 'http://fotolog.cc/t5vlvzj', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://g86.dbcls.jp/~togoriv/', | |
nextLink: 'id("nav-below")/div[@class="nav-previous"]/a', | |
pageElement: 'id("content")/*', | |
exampleUrl: 'http://g86.dbcls.jp/~togoriv/ http://g86.dbcls.jp/~togoriv/cho-cell/', | |
}, | |
*/ | |
/* | |
{ | |
insertBefore: "", | |
pageElement: 'id("article")', | |
url: '^http://www\.dosv\.jp/feature\\d+/.*', | |
nextLink: 'id("footer")//li[@class="next"]/a', | |
exampleUrl: 'http://www.dosv.jp/feature01/201106/' | |
}, | |
*/ | |
{ | |
url: 'http://www.falcom.co.jp/dino/features/data/', | |
nextLink: '//td[@align="right"]/a', | |
pageElement: '//center/table', | |
exampleUrl: 'http://www.falcom.co.jp/dino/features/data/magic01.html', | |
}, | |
{ | |
url: 'http://news.nicovideo.jp/watch/np', | |
nextLink: 'id("PHOTO_SIBLINGS")/a[@class="current"]/following-sibling::a', | |
pageElement: 'id("PHOTO")/*[not(self::a)]', | |
exampleUrl: 'http://news.nicovideo.jp/watch/np124229', | |
}, | |
{ | |
url: 'http://news.nicovideo.jp/search/', | |
nextLink: 'id("BL_MAIN")/ul[@class="pages"]/li[@class="current"]/following-sibling::li/a', | |
pageElement: 'id("BL_MAIN")/ul[@class="index"]', | |
exampleUrl: 'http://news.nicovideo.jp/search/クローズアップ現代', | |
}, | |
{ | |
pageElement: 'id("site-body")//div[@class="pagenavi"][1]/following-sibling::*[not(@id="channel_ballon_favorite") and ./following-sibling::div[@class="pagenavi"]]', | |
url: '^http://c(?:h|om).nicovideo.jp/(?:c(?:hannel|om(?:_new|munity))|live_archives|me(?:mber|nu/)|search|(?:ppv_)?video)', | |
nextLink: 'id("site-body")//div[@class="pagenavi"]/div[@class="pagelink"]/a[@class="next"]|id("site-body")//div[@class="pagenavi"]/div[@class="pagelink"]/span[number()>0]/following-sibling::a', | |
exampleUrl: 'http://com.nicovideo.jp/community http://ch.nicovideo.jp/search_video/%E3%82%A2%E3%83%8B%E3%83%A1?mode=t&page=1&sort=f&order=d' | |
}, | |
{ | |
url: 'http://ch.nicovideo.jp/search/movie/', | |
nextLink: '//div[@class="searchPage"]/span[@class="here"]/following-sibling::a', | |
pageElement: 'id("result_search")', | |
exampleUrl: 'http://ch.nicovideo.jp/search/movie/%E6%98%A0%E7%94%BB', | |
}, | |
/* | |
{ | |
url: 'http://ch.nicovideo.jp/(?:ppv_)?video/prettyrhythm', | |
nextLink: '//div[@class="pagelink"]/span[number()>0]/following-sibling::a', | |
pageElement '', | |
exampleUrl: 'http://ch.nicovideo.jp/ppv_video/prettyrhythm', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://live.nicovideo.jp/diary', | |
nextLink: '//div[@class="page"]/span[@class="active"]/following-sibling::span/a|//div[@class="month"]/div[@class="prev"]/a', | |
pageElement: '//div[@class="cbox"]/*[@class="kekka" or @class="kiji"]', | |
exampleUrl: 'http://live.nicovideo.jp/diary?sort=all', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://live.nicovideo.jp/search', | |
nextLink: '//a[@rel="next"]', | |
pageElement: 'id("search_left")/node()[self::div[@class="result_list"][1] or not(self::*)]', | |
exampleUrl: 'http://live.nicovideo.jp/search?track=&sort=point&date=&keyword=ドラマ&filter=+:closed:', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://www.nicovideo.jp/ranking', | |
nextLink: 'id("ranking_main")/p/a[contains(.,">>")]', | |
pageElement: 'id("ranking_main")/*', | |
exampleUrl: 'http://www.nicovideo.jp/ranking?page=2', | |
}, | |
*/ | |
{ | |
url: 'http://ga3.gagaga-lululu.jp/write/\\d{4}/\\d{2}/\\w', | |
nextLink: 'id("left")/ul/li[a/text()=id("member")/p[@class="title"]/text()]/following-sibling::li/a', | |
pageElement: 'id("content")/*', | |
exampleUrl: 'http://ga3.gagaga-lululu.jp/write/2011/07/post_278.html', | |
}, | |
/* | |
{ | |
url: 'http://blog.syosetu.com/index.php', | |
nextLink: '//link[@rel="prev"]|//ul[@class="link"]/li[last()]/a', | |
pageElement: 'id("contents")/*[position()<last()]', | |
exampleUrl: 'http://blog.syosetu.com/index.php?itemid=531', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://yomou.syosetu.com/search.php', | |
nextLink: '//a[@class="nextlink"]', | |
pageElement: '//div[@class="in_box"]/div[starts-with(@style,"margin")]', | |
exampleUrl: 'http://yomou.syosetu.com/search.php?word=%E9%AD%94%E6%B3%95&order=&genre=&type=', | |
}, | |
*/ | |
/* | |
{ | |
pageElement: 'id("container")/div[position()=2 or @id="pageview"]',//"//div[@class="novel"]|//table[.//b/a]", | |
url: '^http://(?:www\.)?syosetu\.net/pc/.*(?:main|novel|book)\.php', | |
nextLink: '//img[contains(@src,"next.gif")][last()]/parent::a|id("container")/text()[contains(.,"■次の章:")]/following-sibling::a|//table//b/a', | |
exampleUrl: 'http://www.syosetu.net/pc/novel.php?no=1' | |
}, | |
*/ | |
/* | |
{ | |
pageElement: 'id("novel_color")/div[contains(" novel_subtitle novel_view novel_a ",concat(" ",@class," "))]|//div[@class="searchkekka_box"]', | |
url: '^http://(?:mnlt|n(?:code|ovel18))\.syosetu\.com/', | |
nextLink: '//a[@rel="next" or @class="nextlink"]' | |
}, | |
*/ | |
/* | |
{ | |
url: '^http://(?:mnlt|n(?:code|ovel18))\.syosetu\.com/', | |
nextLink: '//a[@rel="next" or @class="nextlink"]', | |
pageElement: 'id("novel_color")/div[@class=@id or @class="novel_subtitle" or @class="novel_a"]|//div[@class="searchkekka_box"]', | |
// insertBefore: '', | |
exampleUrl: 'http://ncode.syosetu.com/n2569f/27/', | |
}, | |
*/ | |
{ | |
url: '^http://nk\.syosetu\.com/', | |
nextLink: '//a[@accesskey="1"]', | |
pageElement: '(//font[a[@accesskey="1" or @accesskey="9"]]/preceding-sibling::center[hr]|//font[a[@accesskey="1" or @accesskey="9"]]/preceding-sibling::hr[1])/preceding-sibling::node()[preceding-sibling::table[not(.//b)]]', | |
exampleUrl: 'http://nk.syosetu.com/novelview/contents/ncode/n5722ba/', | |
}, | |
/* | |
{ | |
url: 'http://picplz.com/user/[^./]+/pic/', | |
nextLink: 'id("prev_pic")', | |
pageElement: 'id("action_bar")/ancestor::div[2]', | |
exampleUrl: 'http://picplz.com/user/maybowjing/pic/g8sxr/', | |
}, | |
*/ | |
{ | |
url: 'https://job.rikunabi.com/2012/message/directmail/', | |
nextLink: 'id("FORM_NAME")/following-sibling::table//span[@class="page_select_bold"]/following-sibling::span/a', | |
pageElement: 'id("FORM_NAME")/table', | |
exampleUrl: '', | |
}, | |
/* | |
{ | |
url: 'https://job.rikunabi.com/\\d+/search/(?:company)/match/', | |
nextLink: '//div[@class="search_left02"]/div/div[contains(@class,"search_page")]/span/a[text()="次のページ"]', | |
pageElement: '//div[@class="search_left02"]/div[contains(@class,"sp_search_box_spice")]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
{ | |
url: 'http://engineer.typemag.jp/',//entania/', | |
nextLink: '//div/font/b/text()[string-length(.)>3]/following-sibling::a', | |
//'//div/font/b/text()[number(translate(.," |",""))>0]/following-sibling::a', | |
pageElement: 'id("headline articleindex")', | |
exampleUrl: 'http://engineer.typemag.jp/entania/2011/06/g-1.php http://engineer.typemag.jp/entania/2011/07/-12-t.php', | |
}, | |
/* | |
{ | |
url: 'http://minkara.carview.co.jp/usercar/', | |
nextLink: 'id("main")//div[@class="page-num"]//a[@class="selected" or contains(@style,"bold")]/following-sibling::a', | |
pageElement: 'id("main")/table[@class="car-table"]', | |
// insertBefore: "", | |
exampleUrl: 'http://minkara.carview.co.jp/usercar/decotora/' | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://minkara.carview.co.jp/', | |
nextLink: 'id("main")//div[@class="page-num"]//a[@class="selected" or contains(@style,"bold")]/following-sibling::a', | |
pageElement: 'id("main")/ul[contains(concat(" ",@class," ")," parts-list ")]', | |
// insertBefore: "", | |
exampleUrl: 'http://minkara.carview.co.jp/car/mini/mini/partsreview/unit.aspx http://minkara.carview.co.jp/car/mini/mini/note/unit.aspx' | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://ow.ly/i/', | |
nextLink: 'id("secondary")/div[contains(@class,"thumbs")]/div/div[@class="thumb-77"]/a[number(substring-before(translate(@title,"Pahnot :-",""),".")) < number(translate(substring-before(substring-after(id("defaultContent")/@value,"Photo on "),"."),"at - :",""))]', | |
//number(translate(substring-before(substring-after(id("defaultContent")/@value,"Photo on "),"."),"at - :",""))>0 | |
pageElement: 'id("primary")/*', | |
exampleUrl: '', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://www.sneakerbunko.jp/blog/', | |
nextLink: '//link[@rel="prev"]|id("id_blog")/div/div[@class="link"]/a[last()]', | |
pageElement: 'id("id_blog")/div[starts-with(@id,"post-")]', | |
exampleUrl: 'http://www.sneakerbunko.jp/blog/', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://www.sneakerbunko.jp/special/kyoko-sacrifice/\\d{2}-p\\d{1,2}\.php', | |
nextLink: '//map/area[@alt="次へ"]', | |
pageElement: 'id("main")/article/*[not(self::h1)]', | |
exampleUrl: 'http://www.sneakerbunko.jp/special/kyoko-sacrifice/01-p1.php', | |
}, | |
*/ | |
{ | |
url: 'http://bookwalker.jp/pc/', | |
nextLink: '//ul[@class="pageSelect"]/li[span[contains(concat(" ",@class," ")," current ")]]/following-sibling::li/a', | |
pageElement: '//div[contains(concat(" ",@class," ")," section ")]/div[contains(concat(" ",@class," ")," sectionIn ")]/div[starts-with(concat(" ",@class)," sectionWrap")]', | |
exampleUrl: 'http://bookwalker.jp/pc/list/author/at129/ http://bookwalker.jp/pc/list/category/ct3/', | |
}, | |
{ | |
url: 'http://yuzuya.style.coocan.jp/blog/', | |
nextLink: 'id("content")/div/p[@class="content-nav"]/a', | |
pageElement: 'id("content")/div', | |
exampleUrl: 'http://yuzuya.style.coocan.jp/blog/archives/2011/05/04145623.php', | |
}, | |
{ | |
url: 'http://chikyu-no-cocolo.cocolog-nifty.com/blog/', | |
nextLink: 'id("alpha-inner")/div/p/span[@class="current_page"]/following-sibling::a', | |
pageElement: 'id("alpha-inner")/div[starts-with(@id,"entry-")]/div[contains(concat(" ",@class," ")," entry-content ")]', | |
exampleUrl: 'http://chikyu-no-cocolo.cocolog-nifty.com/blog/2011/06/post-1326.html', | |
}, | |
{ | |
url: 'http://reymond.cocolog-nifty.com/photos/forza3/\\w+.html', | |
nextLink: 'id("nav")/a[text()="次 >>"]', | |
pageElement: 'id("photo-full")', | |
// insertBefore: '', | |
exampleUrl: 'http://reymond.cocolog-nifty.com/photos/forza3/honnyaraimas.html', | |
}, | |
{ | |
url: 'http://portal.nifty.com/(?:cs/link/backnumber/|kiji/)', | |
nextLink: 'id("mainContents")//td[@align="right"]/a|id("mainContents")//td[@align="center"]/b/following-sibling::a|id("pageRight")/a[img]', | |
pageElement: 'id("mainContentsInner")/ancestor::table[1]|id("mainContents")[not(id("mainContentsInner"))]/*', | |
exampleUrl: 'http://portal.nifty.com/cs/link/backnumber/1.htm http://portal.nifty.com/kiji/110630145425_1.htm', | |
}, | |
/* | |
{ | |
url: 'http://portal.nifty.com/kiji/', | |
nextLink: 'id("mainContents")//td[@align="right"]/a', | |
pageElement: 'id("mainContentsInner")/*', | |
exampleUrl: 'http://portal.nifty.com/kiji/110630145425_1.htm', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://dic.pixiv.net/(?:$|category|new(?:article|update)s|search|\\?page=\\d)', | |
nextLink: 'id("main")/footer/a', | |
pageElement: 'id("main")/section', | |
exampleUrl: 'http://dic.pixiv.net/?page=2', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://www.pixiv.net/event_[^/.]+.php', | |
nextLink: '//a[@rel="next"]', | |
pageElement: '//div[@class="one_column_body"]/div[@class="search_a2_result"]', | |
exampleUrl: '', | |
}, | |
*/ | |
{//pixiv 非ログイン | |
url: 'http://www.pixiv.net/member_illust.php\\?[^&]*&?illust_id=', | |
nextLink: '//div[@class="rounded"]/ul/li[contains(@class,"link-older")]/a', | |
pageElement: 'id("wrapper")/div[@class="front-content"]/div[contains(@class,"front-mainContent")]', | |
exampleUrl: 'http://www.pixiv.net/member_illust.php?mode=medium&illust_id=19621967 http://www.pixiv.net/member_illust.php?mode=big&illust_id=23060110', | |
}, | |
{ | |
url: 'http://www.pixiv.net/member_illust.php\\?[^&]*&?mode=medium', | |
nextLink: '//div[@class="centeredNavi"]/ul/li[last()]/a', | |
pageElement: '//div[@class="two_column_body"]/*[self::div or self::section]', | |
exampleUrl: 'http://www.pixiv.net/member_illust.php?mode=medium&illust_id=19621967', | |
}, | |
{ | |
url: 'http://www.pixiv.net/member_illust.php\\?[^&]*&?mode=medium', | |
nextLink: '//div[@class="centeredNavi"]/ul/li[@class="linkstyle"]/a', | |
pageElement: '//div[@class="two_column_body"]/*[self::div or self::section]', | |
exampleUrl: 'http://www.pixiv.net/member_illust.php?mode=medium&illust_id=19621967', | |
}, | |
{ | |
url: 'http://www.pixiv.net/member_illust.php\\?.*\bmode=medium', | |
nextLink: '//ul[@class="link-page"]/li[contains(concat(" ",@class," ")," link-older ")]/a', | |
pageElement: 'id("wrapper")/div/div[contains(concat(" ",@class," ")," front-mainContent ")]/div[@id="tag_area"]/preceding-sibling::*', | |
exampleUrl: 'http://www.pixiv.net/member_illust.php?mode=medium&illust_id=19621967', | |
}, | |
{ | |
url: '^http://www\.pixiv\.net/member_illust\.php\\?.*\bmode=medium', | |
nextLink: 'id("content2")/div[contains(@style,"float: right;")]/a[last()]', | |
pageElement: 'id("content2")/*', | |
exampleUrl: 'http://www.pixiv.net/member_illust.php?mode=medium&illust_id=6878107', | |
}, | |
{ | |
url: '^http://www\.pixiv\.net/', | |
nextLink: '//a[@rel="next"]|//ul[@class="link-page"]/li[@class="link-older link-2ways"]/a|//li[@class="linkstyle"]/a[contains(text(),"≫")]', | |
pageElement: '//div[contains(concat(" ",@class," ")," linkStyleWorks ") or (@class="clear" and ./preceding-sibling::div[1][contains(concat(" ",@class," ")," linkStyleWorks ")])]|//div[@class="one_column_body"]/div[@class="adverArchive" or @class="bookmark_detail_body" or @class="search_a2_result"]/ul|//div[@class="list_box"]/ul|//div[@class="event-information"]|//div[contains(@class,"pane")]/div[contains(@class,"thumb")]/ul|//ul[@class="type_entrylist"]|//div[@class="news_articleList"]|//div[contains(concat(" ",@class," ")," novel_listview ") or (@class="clear" and ./preceding-sibling::div[1][contains(concat(" ",@class," ")," novel_listview ")])]|//div[@class="one_column_body"]/div[@class="tagArea"]|//div[@class="search_user_result_body"]/div|//section/div[contains(@class,"thumbnail")]|//div[@class="two_column_body"]/div[starts-with(@class,"works_")]|//ul[contains(concat(" ",@class," ")," novel_listview ")]', | |
// insertBefore: '', | |
exampleUrl: 'http://www.pixiv.net/archive.php http://www.pixiv.net/bookmark.php http://www.pixiv.net/bookmark.php?id=10 http://www.pixiv.net/bookmark.php?type=user&id=10 http://www.pixiv.net/bookmark_detail.php?illust_id=20 http://www.pixiv.net/event.php http://www.pixiv.net/event_member.php?event_id=1 http://www.pixiv.net/info.php?cid=1 http://www.pixiv.net/member_illust.php?id=10 http://www.pixiv.net/mypixiv_all.php?id=10 http://www.pixiv.net/news/topic_category.php?id=1 http://www.pixiv.net/novel/new.php http://www.pixiv.net/personal_tags.php http://www.pixiv.net/personal_tags.php?tag=FF http://www.pixiv.net/response.php?illust_id=1539585 http://www.pixiv.net/search.php?word=pixiv&s_mode=s_tag http://www.pixiv.net/search_user.php?nick=a&s_mode=s_usr http://www.pixiv.net/tags.php http://www.pixiv.net/tags.php?tag=FF http://www.pixiv.net/user_event.php http://www.pixiv.net/user_event.php?mode=list http://www.pixiv.net/user_event_follower.php?id=3 http://www.pixiv.net/event_sandisk.php http://www.pixiv.net/novel/search.php?s_mode=s_tag&word=%E5%86%86%E7%92%B0 http://www.pixiv.net/novel/bookmark_new.php', | |
}, | |
//個別novel | |
{ | |
url: 'http://www.pixiv.net/novel/show.php\\?id=\\d+', | |
nextLink: '//div[@class="centeredNavi"]/div/ul/li[last()]/a', | |
pageElement: '//div[@class="two_column_body"]/*[self::div or self::section]|id("novel_chapter")|id("novel_chapter")/preceding-sibling::div[1]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
//個別イラストを順番に読み込み | |
{ | |
url: 'http://www.pixiv.net/member_illust.php\\?.*\bmode=medium', | |
nextLink: '//div[@class="centeredNavi"]/ul/li[last()]/a', | |
pageElement: '//div[@class="two_column_body"]/*[self::div or self::section]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
/* | |
{ | |
url: 'http://www.pixiv.net/member_illust.php\\?mode=medium&illust_id=16377797', | |
nextLink: 'id("wrapper")/div[@class="front-content"]/div[@class="front-mainContent"]/div[@class="rounded"]/ul/li[contains(@class,"link-older")]/a', | |
pageElement: 'id("wrapper")/div[@class="front-content"]/div[@class="front-mainContent"]', | |
// insertBefore: '', | |
exampleUrl: 'http://www.pixiv.net/member_illust.php?mode=medium&illust_id=16377797', | |
}, | |
*/ | |
/* wedata対応済み | |
{ | |
url: 'http://www.pixiv.net/member_illust.php\\?id=\\d+', | |
nextLink: '//div[@class="pager_ul"]/ul/li[last()]/a', | |
pageElement: '//div[div[@class="display_works"]]/div', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
/* 臨時対応用 | |
{ | |
url: 'http://www.pixiv.net/member_illust.php\\?mode=medium&illust_id=\\d+', | |
nextLink: 'id("contents")/div/div/div/div[@class="extaraNaviAlso"]/div/div/div/ul/li[last()]/a', | |
pageElement: 'id("contents")/div/div/div[div[@class="works_area"]]/*', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
//旧フォーマット 個別イラスト順 | |
{ | |
url: '^http://www\.pixiv\.net/member_illust\.php\\?mode=medium&illust_id=\\d+', | |
nextLink: 'id("content2")/div[contains(@style,"float: right;")]/a[last()]', | |
pageElement: 'id("content2")/*', | |
// insertBefore: 'id("content2")/node()[last()]', | |
exampleUrl: 'http://www.pixiv.net/member_illust.php?mode=medium&illust_id=6878107', | |
}, | |
*/ | |
/* | |
{ | |
url : '^http://[^.]+\.deviantart\.com/gallery/', | |
nextLink : '//div[contains(concat(" ", @class, " "), " pagination-wrapper ")]//li[contains(concat(" ", @class, " "), " next ")]/a[@href]', | |
pageElement : 'id("gmi-ResourceStream")', | |
exampleUrl : 'http://aquanitrox.deviantart.com/gallery/' | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://[^/.]+.deviantart.com/art/[\\w-]+-\\d+', | |
nextLink: 'id("gmi-GPager")/div/ul/li[contains(concat(" ",@class," ")," current ")]/following-sibling::li/a[@href]', | |
pageElement: 'id("gmi-CCommentThread")/*', | |
// insertBefore: '', | |
exampleUrl: 'http://thrumyeye.deviantart.com/art/ShyFox-201186090?offset=10#comments', | |
}, | |
*/ | |
{ | |
url: 'http://slash.sblo.jp/', | |
nextLink: 'id("content")/span/div[@class="navi"]/text()[number()>1 or string-length(normalize-space(translate(.,".","")))>3]/following-sibling::a|id("content")/span/div[@class="navi"]/a[.="<<"]', | |
pageElement: 'id("content")/span/div[@class="blog"]', | |
exampleUrl: 'http://slash.sblo.jp/', | |
}, | |
/* | |
{ | |
url: 'http://rokudena-shi.sblo.jp/', | |
nextLink: 'id("content")/div[@class="navi"]/text()[number()>1 or string-length(normalize-space(translate(.,".","")))>3]/following-sibling::a', | |
pageElement: 'id("content")/div[@class="blog"]', | |
exampleUrl: 'http://rokudena-shi.sblo.jp/index-2.html', | |
}, | |
*/ | |
{ | |
url: 'http://[^/.]+.sblo.jp/', | |
nextLink: '(id("content")|id("content")/span)/div[@class="navi"]/a[.="<<"]|(id("content")|id("content")/span)/div[@class="navi"]/text()[(number(normalize-space(self::text())) > 0) or (contains(self::text(),"1") and contains(self::text(),"-")) or number()>1 or string-length(normalize-space(translate(.,".","")))>3]/following-sibling::a',//|id("content")/div[@class="navi"]/text()[number()>1 or string-length(normalize-space(translate(.,".","")))>3]/following-sibling::a', | |
pageElement: 'id("content")/div', | |
// insertBefore: '', | |
exampleUrl: 'http://rokudena-shi.sblo.jp/index-2.html http://kazeyomitei.sblo.jp/ http://slash.sblo.jp/', | |
}, | |
{ | |
url: 'http://kazeyomite(?:y.com|i.sblo.jp)/', | |
nextLink: 'id("content")/div[@class="navi"]/text()[(number(normalize-space(self::text())) > 0) or (contains(self::text(),"1") and contains(self::text(),"-"))]/following-sibling::a', | |
pageElement: 'id("content")/div', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://scientificclub-run.net/', | |
nextLink: 'id("main")/p[@class="nav"]/a|id("main")/div[@class="nav"]/p/a[last()]|id("main")/table/tbody/tr/td[not(a)]/following-sibling::td/a', | |
pageElement: 'id("main")/*[@class="article" or @id="comment_form" or @class="show-list" or @class="search-result"]', | |
exampleUrl: 'http://scientificclub-run.net/index.php?UID=1234066279', | |
}, | |
/* | |
{ | |
url: 'http://2chbooknews.blog114.fc2.com/', | |
nextLink: 'descendant::a[contains(@href,"fc2.com/page-")][last()] | /descendant::a[contains(translate(text(), "ENTX", "entx"), "next")][last()]', | |
pageElement: 'id("main-inner")', | |
exampleUrl: 'http://2chbooknews.blog114.fc2.com/blog-entry-1085.html', | |
}, | |
*/ | |
{ | |
url: 'http://www.exp-inc.jp/sor360/commic\\d{2}.php', | |
nextLink: 'id("next-btn")', | |
pageElement: 'id("commic-contraller")/preceding-sibling::*', | |
exampleUrl: 'http://www.exp-inc.jp/sor360/commic01.php', | |
}, | |
/* | |
{ | |
url: 'http://wired.jp/\\d{4}/\\d{2}/\\d{2}/[^./]+', | |
nextLink: 'id("single")/div[@class="post"]/div[@class="postText"]/p[@class="credit"]/following-sibling::a[starts-with(following-sibling::text()[1],"へ続く")]', | |
pageElement: 'id("single")/div[@class="post"]/div[@class="postText"]/node()[following-sibling::p[@class="credit"]]', | |
exampleUrl: 'http://wired.jp/2011/06/08/the_computers_are_in_control_1/ http://wired.jp/2011/06/06/ぼくのiphoneが17人を殺したのか?_その1/', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://wired.jp/', | |
nextLink: 'id("posts")/div[@class="pagenation"]/a[img[contains(@src,"next")]]', | |
pageElement: 'id("posts")/div[contains(concat(" ",@class," ")," post ")]', | |
exampleUrl: 'http://wired.jp/2011/06/', | |
}, | |
*/ | |
/* | |
{ | |
pageElement: '//div[@class="contents"]/table[@class="navi"]/following-sibling::node()[following-sibling::table[@class="navi"]]', | |
url: '^http://logipara\.com/', | |
nextLink: '//div/table[@class="navi"]/tbody/tr/td[@class="navinext"]/a', | |
exampleUrl: 'http://logipara.com/daytalk/201101a.html http://logipara.com/bookreview/novel01.html' | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://[^./]+.diarynote.jp/', | |
nextLink: 'id("main")/p/span/span/following-sibling::a|id("main")/div[@class="show_pager"]/div[@class="prev"]/a', | |
pageElement: 'id("main")/*[not(contains(" show_pager pages ",concat(" ",@class," ")))]', | |
exampleUrl: 'http://mrgreed7.diarynote.jp/ http://mrgreed7.diarynote.jp/201107252155565376/', | |
}, | |
*/ | |
{ | |
url: 'http://hobby-channel.net/', | |
nextLink: 'id("content_main")/table/tbody/tr/td//span/following-sibling::a', | |
pageElement: 'id("content_main")/table/tbody/tr[td/div/div or td/font]', | |
exampleUrl: 'http://hobby-channel.net/ http://hobby-channel.net/josibu.html', | |
}, | |
/* | |
{// アニメイトTV アニメアプリ!(アニアプ!) | |
url: 'http://aniapp.animate.tv/(?:archives/)?', | |
nextLink: '//div[@class="page-numbers" or @class="wp-pagenavi"]/span[@class="current" or @class="numbers"]/following-sibling::a|//link[not(//div[@class="page-numbers"]/span[@class="current" or @class="numbers"]/following-sibling::a)][@rel="prev"]', | |
pageElement: '//div[contains(concat(" ",@class," ")," hentry ")]|//h3[@class="ttl"]', | |
exampleUrl: 'http://aniapp.animate.tv/archives/20308', | |
}, | |
*/ | |
{ | |
url: 'http://www.animate.tv/news/atv.php', | |
nextLink: 'id("news_txt")/div/span/following-sibling::a', | |
pageElement: 'id("news_txt")/*[self::h3 or self::h5 or @class="hr"]', | |
exampleUrl: 'http://www.animate.tv/news/atv.php?m=t', | |
}, | |
{ | |
url: 'http://digimaga.net/', | |
nextLink: '//div[contains(concat(" ",@class," ")," entry ")]//p[@class="page-navi"]/text()[translate(.,"<> ","")]/following-sibling::a|//div[@class="wp-pagenavi"]/span[@class="current"]/following-sibling::a', | |
pageElement: '//div[contains(concat(" ",@class," ")," entry ")]/div[@class="share"]/following-sibling::*[following-sibling::p[@class="page-navi"]]|//div[@class="content"]/div[contains(concat(" ",@class," ")," entry ")][following-sibling::div[@class="wp-pagenavi"]]', | |
exampleUrl: 'http://digimaga.net/2010/06/bokumo-is-heros-name-boobs http://digimaga.net/2010/09/70-cutie-baby-animals http://digimaga.net/category/itnews/internet http://digimaga.net/2010/08/48-awesome-alice-in-wonderland-illustlation.html', | |
}, | |
{ | |
url: 'http://www.vector.co.jp/magazine/softnews/\\d+/n\\d+(?:_pic)?.html', | |
nextLink: 'id("v_wrapper")/table//a[img][not(@href="/rss/" or @href="#go_download")]', | |
pageElement: 'id("v_wrapper")/table[.//a[img][not(@href="/rss/")]]', | |
exampleUrl: 'http://www.vector.co.jp/magazine/softnews/110614/n1106141.html http://www.vector.co.jp/magazine/softnews/110614/n11061411_pic.html', | |
}, | |
{ | |
url: 'http://www.mediafactory.co.jp/cgi-bin/utils/', | |
nextLink: 'id("contents_main_box")//td[@class="nombre"]/span/following-sibling::a', | |
pageElement: 'id("contents_main_box")/div[starts-with(@class,"contents_") and contains(@class,"_info")]', | |
exampleUrl: 'http://www.mediafactory.co.jp/cgi-bin/utils/list_reading.cgi?template_id=38 http://www.mediafactory.co.jp/cgi-bin/utils/goods_search.cgi?content_id=64', | |
}, | |
{ | |
url: 'http://blog.mediafactory.co.jp/mfbunkoj/', | |
nextLink: 'id("content")/div[@class="navigation"]/div/a', | |
pageElement: 'id("content")/div[contains(concat(" ",@class," ")," hentry ")]', | |
exampleUrl: 'http://blog.mediafactory.co.jp/mfbunkoj/ http://blog.mediafactory.co.jp/mfbunkoj/?p=6934', | |
}, | |
{ | |
url: 'http://www.mediafactory.co.jp/bunkoj/(?:books|search).php', | |
nextLink: '//td//span[@class="pageNumCurrent"]/following-sibling::a', | |
pageElement: '//td[@class="librayBody"]/div[@class="libraryTitleBox"]|//td[@class="searchBody" or @class="illustBody"]/table', | |
exampleUrl: 'http://www.mediafactory.co.jp/bunkoj/books.php?MODE=already http://www.mediafactory.co.jp/bunkoj/search.php?searchword=h&buttonSubmit.x=11&buttonSubmit.y=8 http://www.mediafactory.co.jp/bunkoj/books.php?MODE=others', | |
}, | |
{ | |
url: 'http://www.terrafor.net/', | |
nextLink: '//div[@class="site_center"]/div[last()]/span/following-sibling::a', | |
pageElement: '//div[@class="site_center"]/div[starts-with(@class,"site_center_headline_") or @align="left"][position()<last()]', | |
exampleUrl: 'http://www.terrafor.net/category.php?cid=kvmWaKpG', | |
}, | |
{ | |
url: 'http://takeno.iee.niit.ac.jp/~foo/gp-jman/data/\\d{8}/gnuplot-ja', | |
nextLink: '//b[contains(.,"次")]/following-sibling::a', | |
pageElement: '//div/following-sibling::node()[following-sibling::div[@class="navigation"]]', | |
exampleUrl: 'http://takeno.iee.niit.ac.jp/~foo/gp-jman/data/20100314/gnuplot-ja-div/node1.html', | |
}, | |
{ | |
url: 'http://lagendra.s.kanazawa-u.ac.jp/ogurisu/manuals/gnuplot', | |
nextLink: '//a[.="次"]', | |
pageElement: '//address/preceding-sibling::node()', | |
exampleUrl: 'http://lagendra.s.kanazawa-u.ac.jp/ogurisu/manuals/gnuplot-intro/start.html', | |
}, | |
{ | |
url: 'http://lagendra.s.kanazawa-u.ac.jp/ogurisu/manuals/awk/intro/', | |
nextLink: '//b[contains(.,"Next")]/following-sibling::a', | |
pageElement: '//div/following-sibling::*[following-sibling::div[@class="navigation"]]', | |
exampleUrl: 'http://lagendra.s.kanazawa-u.ac.jp/ogurisu/manuals/awk/intro/', | |
}, | |
/* 旧 | |
{ | |
url: 'http://lockerz.com/s/', | |
nextLink: 'id("photo-nav")/a[@class="prev"]', | |
pageElement: '//article[menu and nav and figure]', | |
exampleUrl: '', | |
}, | |
*/ | |
{ | |
url: 'http://lockerz.com/s/', | |
nextLink: 'id("photo-nav")/a[contains(concat(" ",@class," ")," next ")]', | |
pageElement: 'id("twocol-left")/*', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://www.oricon.co.jp/entertainment/(?:event_report|gravure)/\\d{4}/\\w+\\d{4}/', | |
nextLink: 'id("btnNext")/a|//td[@align="right"]/a[img[contains(@src,"btn_next.gif")]]|id("container")/div[@class="galleryLink"]/a', | |
pageElement: 'id("container")/div[@id="gelleryArea" or @class="pgArea"]', | |
insertBefore: 'id("container")/div[h4[.="BACKNUMBER"] or @id="thumbarea"]', | |
exampleUrl: 'http://www.oricon.co.jp/entertainment/event_report/2011/shigemorisatomi1208/ http://www.oricon.co.jp/entertainment/event_report/2011/kodamananako1214/ http://www.oricon.co.jp/entertainment/event_report/2011/yamashitananaka1130/ http://www.oricon.co.jp/entertainment/event_report/2011/photoreport2011/photo.php?img=14&size=1&mode=static#topphoto http://www.oricon.co.jp/entertainment/event_report/2011/photoreport2011/photo2.php?img=15&size=1&mode=static#topphoto', | |
}, | |
/* | |
{ | |
url: 'http://www.oricon.co.jp/entertainment/event_report/\\d{4}/\\w+\\d{4}/', | |
nextLink: 'id("btnNext")/a', | |
pageElement: 'id("container")/div[@id="gelleryArea"]', | |
insertBefore: 'id("container")/div[h4[.="BACKNUMBER"]]', | |
exampleUrl: 'http://www.oricon.co.jp/entertainment/event_report/2011/shigemorisatomi1208/ http://www.oricon.co.jp/entertainment/event_report/2011/kodamananako1214/ http://www.oricon.co.jp/entertainment/event_report/2011/yamashitananaka1130/', | |
}, | |
{ | |
url: 'http://www.oricon.co.jp/entertainment/event_report/\\d{4}/photoreport\\d{4}/photo(?:\\d+)?.php', | |
nextLink: '//td[@align="right"]/a[img[contains(@src,"btn_next.gif")]]|id("container")/div[@class="galleryLink"]/a', | |
pageElement: 'id("container")/div[@class="pgArea" or not(*)]', | |
insertBefore: 'id("container")/div[@id="thumbarea"]', | |
exampleUrl: 'http://www.oricon.co.jp/entertainment/event_report/2011/photoreport2011/photo.php?img=14&size=1&mode=static#topphoto http://www.oricon.co.jp/entertainment/event_report/2011/photoreport2011/photo2.php?img=15&size=1&mode=static#topphoto', | |
}, | |
*/ | |
{ | |
url: 'http://www.oricon.co.jp/music/interview/\\d+/\\w+\\d+/', | |
nextLink: '//ul[@class="pageNum"]/li[a[@class="select"][number(.)>0]]/following-sibling::li/a|//p[@class="more"]/a[@href="photo.php"]|//td[@align="right"]/a[img[contains(@src,"btn_next.gif")]]', | |
pageElement: 'id("container")/*[@class="articleArea" or @class="pgArea" or self::br]', | |
exampleUrl: 'http://www.oricon.co.jp/music/interview/2011/perfume1130/index.html http://www.oricon.co.jp/music/interview/2011/perfume1130/photo.php?img=1&size=1&mode=static#topphoto', | |
}, | |
/* | |
{ | |
url: 'http://\\w+.oricon.co.jp/', | |
nextLink: 'id("column3Main")/div/div[@class="news_area"]/div[@class="news_left"]//a[.="[続きを読む]"]|id("column3Main")/div/div[@class="news_area"]/div[@class="news_right"]//a[not(id("column3Main")/div/div[@class="news_area"]/div[@class="news_left"]//a[.="[続きを読む]"]) and .="[拡大写真]"]|//div[@class="photo_next"]/a', | |
pageElement: 'id("column3Main")/div/div[@class="news_area"]/node()[self::div[contains(@style,"clear") or @class="news_left" or @class="news_right"] or (preceding-sibling::h1 and following-sibling::div[@align="center"])]|id("column3Main")/div/div[@class="photo_area" or @class="photo_text"]', | |
exampleUrl: '', | |
}, | |
*/ | |
/* 写真を拡大する | |
{ | |
url: 'http://www.oricon.co.jp/news/\\w+/\\d+/p\\d+L/', | |
nextLink: '//div[@class="photo_next"]/a', | |
pageElement: 'id("column3Main")/div/div[@class="photo_area" or @class="photo_text"]', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://www.oricon.co.jp/news/\\w+/\\d+/', | |
nextLink: 'id("column3Main")/div/div[@class="news_area"]/div[@class="news_left"]//a[.="[続きを読む]"]', | |
pageElement: 'id("column3Main")/div/div[@class="news_area"]/node()[self::div[contains(@style,"clear") or @class="news_left" or @class="news_right"] or (preceding-sibling::h1 and following-sibling::div[@align="center"])]', | |
exampleUrl: '', | |
}, | |
*/ | |
{ | |
url: 'http://\\w+.oricon.co.jp/', | |
nextLink: 'id("newsFrameLeft")//a[img[@alt="写真を拡大する"]]|id("column3Main")/div/div[@class="news_area"]/div[@class="news_left"]//a[.="[続きを読む]"]|id("column3Main")/div/div[@class="news_area"]/div[@class="news_right"]//a[not(id("column3Main")/div/div[@class="news_area"]/div[@class="news_left"]//a[.="[続きを読む]"]) and .="[拡大写真]"]|//div[@class="photo_next"]/a|id("btnnews container")//a[img[@alt=">>"]]', | |
pageElement: 'id("newsFrameLeft photoarea")|id("column3Main")/div/div[@class="news_area"]/node()[self::div[contains(@style,"clear") or @class="news_left" or @class="news_right"] or (preceding-sibling::h1 and following-sibling::div[@align="center" or @class="relatedLinks"])]|id("column3Main")/div/div[@class="photo_area" or @class="photo_text"]|id("container")/div[@style or @id]/div[a/img or img][1]|id("newsbest3")/div[@style]', | |
exampleUrl: 'http://www.oricon.co.jp/news/deview/87440/ http://www.oricon.co.jp/entertainment/event_report/2010/sanai1116/mizugi_photo.php?img=51&size=3#photo http://www.oricon.co.jp/entertainment/event_report/2010/chocotlink0721/pocky_photo.php?img=23&size=1#photo', | |
}, | |
/* | |
{ | |
url: 'http://www.j-comi.jp/viewer/\\w+/\\d+/\\d+/', | |
nextLink: 'id("book_view")/div//ul/li[@class="icon_next"]/a', | |
pageElement: 'id("book_view")/node()[self::div[@class="book_wrapper"] or position()=last()]', | |
exampleUrl: '', | |
}, | |
*/ | |
{ | |
url: 'http://kc.kodansha.co.jp/magazine/magazine_back.php/\\d+', | |
nextLink: 'id("col-main")/p/b/following-sibling::a', | |
pageElement: 'id("col-main")/div[contains(@class,"box-read")]', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'https://el.iimc.kyoto-u.ac.jp/infosec/file.php/9/infoss2010_text/\\d+', | |
nextLink: '//div[@class="rbutton"]//a|//div[@class="button"]/a[last()]', | |
pageElement: '/*/*/*', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://www.liar.co.jp/(?:cele|ing|s(?:har|ona)|val)_(?:web)?novel\\d{3,4}', | |
nextLink: '(//table/tbody/tr/td|//*[@class="bacetext"]/descendant-or-self::span)//text()[normalize-space(.)="△"]/following-sibling::text()[number(translate(normalize-space(.),"123456789","123456789"))>0]/following::a[normalize-space(text())]|(//table/tbody/tr/td|//*[@class="bacetext"]/descendant-or-self::span)//text()[normalize-space(.)="▽"]/following-sibling::a[normalize-space(text())]', | |
pageElement: '//table[.//td[@class="unnamed1"]]|//p[@class="bacetext"][img]|//p[img][following-sibling::table]|//img[following-sibling::table or following-sibling::embed]|//img[following-sibling::embed]/following-sibling::node()[following-sibling::span[@class="bacetext"]]|//span[@class="bacetext" and preceding-sibling::embed]', | |
exampleUrl: 'http://www.liar.co.jp/cele_webnovel101.html http://www.liar.co.jp/ing_novel0201kgpb.html http://www.liar.co.jp/ing_novel0801jjuv.html http://www.liar.co.jp/shar_novel0301.html http://www.liar.co.jp/val_webnovel0201.html http://www.liar.co.jp/val_webnovel0101.html http://www.liar.co.jp/sona_webnovel0101.html', | |
}, | |
/* | |
{ | |
url: 'http://www.liar.co.jp/val_webnovel\\d+.html', | |
nextLink: '//table/tbody/tr/td/p//a[last()]|//b/span/a[last()]|//span/font/b/a[last()]', | |
pageElement: '//table|//p[@class="bacetext"][img]', | |
exampleUrl: 'http://www.liar.co.jp/val_webnovel0101.html', | |
}, | |
*/ | |
{ | |
url: '^http://bn\.merumo\.ne\.jp/backno/(?:latest|body)View\.do', | |
nextLink: '//div[@class="bn_content"]/ul[@class="bn_navi"]/li[@class="prev"]/a', | |
pageElement: '//div[@class="bn_content"]/div[@class="bn_head" or @class="bn_content_text"]', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://club.shogakukan.co.jp/magazine/SH_CSNDY/[^/]+/all/', | |
nextLink: 'id("GMS_comic_title_list_bg_header01")/ul/li/span[@class="current"]/following-sibling::a', | |
pageElement: 'id("GMS_comic_title_list_bg_center")/following-sibling::*', | |
exampleUrl: '', | |
}, | |
/* | |
{ | |
url: 'http://www.toranoana.jp/(?:mailorder|bl)/(?:article/04/0010/\\d+/\\d+/\\d+_popup\\d|(?:m(?:pc|dv|cd)|c[io]t|bok|hob)/pagekit/0000/00/03/\\d+/popup_\\d+)\.html', | |
nextLink: '//table//td[@align="right"]/a', | |
pageElement: '//img', | |
exampleUrl: 'http://www.toranoana.jp/mailorder/article/04/0010/19/54/040010195404_popup2.html http://www.toranoana.jp/mailorder/hob/pagekit/0000/00/03/000000036122/popup_001.html', | |
}, | |
*/ | |
/* HOME vol.1 */ | |
{ | |
url: 'http://girlish-s.haru.gs/\\w+/(?:\\w+_(?:TOP|\\d+)|[^/]+).html', | |
nextLink: '//a[img[@src="image/tugihe.gif"]]', | |
pageElement: '//table/tbody/tr[td[img]]', | |
exampleUrl: '', | |
}, | |
/* HOME vol.2 */ | |
{ | |
url: 'http://girlish-s.haru.gs/home/home\\d/',//HOME\.2_page_?\\d+\.html', | |
nextLink: '//a[.//*[contains(text(),"次のページへ")]]', | |
pageElement: '//tbody/tr[td[img]]', | |
exampleUrl: 'http://girlish-s.haru.gs/home/home2/HOME.2_page_0.html', | |
}, | |
{ | |
url: 'http://cycle-eirin.com/cgi/webcart/view.php', | |
nextLink: '//a[contains(text(),"次のページ")]', | |
pageElement: '//div[@class="item_list_t"]/table/tbody/tr[contains(@class,"td")]', | |
exampleUrl: '', | |
}, | |
/* | |
{ | |
url: 'http://[^/]+.shiga-saku.net/', | |
nextLink: '//a[text()="次のページ"]', | |
pageElement: 'id("content")/div/*[self::h2 or self::div[@class="blogbody"]]', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://[^/]+.shiga-saku.net/e\\d+', | |
nextLink: '//a[text()="前の記事"]', | |
pageElement: 'id("content")/div/*[self::h2 or self::div[@class="blogbody"]]', | |
exampleUrl: '', | |
}, | |
*/ | |
/* livedoor デイリー 4コマ | |
{ | |
url: 'http://4koma.livedoor.com/(?:special|manga(?:life|time))/[^/]+/[^/]+/\\d+/', | |
nextLink: 'id("artwork")/div/a[img[contains(@title,@alt)]]|id("artwork")/div/ul/li[@class="next"]/a', | |
pageElement: 'id("artwork")/*', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://4koma.livedoor.com/special/[^/]+/[^/]+/\\d+/', | |
nextLink: 'id("main")/div/ul/li[@class="next"]/a', | |
pageElement: 'id("main")/div[@class="mainBanner"]/following-sibling::*[following-sibling::div[@class="trackbackurl"]]', | |
exampleUrl: '', | |
}, | |
*/ | |
/* エムペ | |
{ | |
url: 'http://m-pe.tv/u/m/album/', | |
nextLink: '//a[@accesskey="#"]', | |
pageElement: '//div[@align="right"]/following-sibling::*[following-sibling::a[text()="[戻る]"]]|//table/tbody/tr/td/*[following-sibling::a[text()="[戻る]"]]', | |
exampleUrl: '', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://matome.naver.jp/odai/\\d+', | |
nextLink: '//strong/following-sibling::a', | |
pageElement: 'id("subInterviewList")/li', | |
exampleUrl: '', | |
}, | |
*/ | |
/* | |
{ | |
url: '^http://www\.h7\.dion\.ne\.jp/~n_circus/hybrid/hi\\d+\.html', | |
nextLink: '//div[@align="center"]/a[img]', | |
pageElement: '//div[@align="center"]/a[img]', | |
exampleUrl: 'http://www.h7.dion.ne.jp/~n_circus/hybrid/hi0001.html', | |
}, | |
*/ | |
{ | |
url: '^http://dash\.shueisha\.co\.jp/library/', | |
nextLink: 'id("catmenu")/ul/li/table/tbody/tr/td[starts-with(a/@href,concat("/library/",substring-before(substring-after(id("content")/table//img[contains(@src,"_ti.")]/@src,"image/"),"_ti")))]/following-sibling::td/a|id("catmenu")/ul/li/table/tbody/tr[starts-with(td[last()]/a/@href,concat("/library/",substring-before(substring-after(id("content")/table//img[contains(@src,"_ti.")]/@src,"image/"),"_ti")))]/following-sibling::tr/td/a', | |
pageElement: 'id("content")/*', | |
exampleUrl: 'http://dash.shueisha.co.jp/essay/0411.html', | |
}, | |
{ | |
url: '^http://dash\.shueisha\.co\.jp/interview/', | |
nextLink: 'id("catmenu")/ul/li[starts-with(a/@href,substring-before(substring-after(id("content")/table//table//table//img[contains(@src,"name")]/@src,"image/f"),"_interview"))]/preceding-sibling::li[1]/a', | |
pageElement: 'id("content")/*', | |
exampleUrl: 'http://dash.shueisha.co.jp/essay/0411.html', | |
}, | |
/* | |
{ | |
url: 'http://sportiva.shueisha.co.jp/clm/', | |
nextLink: '//dl[@class="Pager"]/dd/span[@class="current_page"]/following-sibling::a', | |
pageElement: 'id("globalArticle")/div[contains(@class,"article")]/div[contains(@class,"entryBody")]', | |
exampleUrl: 'http://sportiva.shueisha.co.jp/clm/jfootball/2011/07/29/post_18/', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://blog.shueisha.net/otsuichi/', | |
nextLink: 'id("mainBox")/p[@class="nextNews"]/a', | |
pageElement: 'id("mainBox")/div[contains(@class,"dateBox")]', | |
exampleUrl: 'http://blog.shueisha.net/otsuichi/', | |
}, | |
{ | |
url: 'http://300.wi2.co.jp/area/1/', | |
nextLink: 'id("main")/a[@title="next page"]', | |
pageElement: 'id("main")/table/tbody/tr[td]', | |
exampleUrl: 'http://300.wi2.co.jp/area/1/?prefecture=26&category=07&postKey=b934f2a956e4accfdef02cb79c4682f2', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://www.getchu.com/php/nsearch.phtml', | |
nextLink: '//td/b/following-sibling::a', | |
pageElement: '//div[@class="search_container"]/ul',//'//td[div and table]/*', | |
// insertBefore: '', | |
exampleUrl: 'http://www.getchu.com/php/nsearch.phtml?genre=pc_soft&sort=create_date&age=normal:nlady http://www.getchu.com/php/nsearch.phtml?check_key_dtl=1&search_keyword=%A5%E1%A5%AC%A5%B9%A5%C8%A5%A2&headsearchBtn.x=0&headsearchBtn.y=0', | |
}, | |
*/ | |
{ | |
url: 'http://blog.getchu.com/', | |
nextLink: '//div/ul/li/ol/li[@class="current"]/following-sibling::li/a|//div/ul/li/a[@rel="next"]|id("articlebody")/div/div[@class="menu"]/a[.="前の記事"]|id("blog")/div[@class="nextpage"]/a[.="次のページへ"]', | |
pageElement: 'id("blog")/div[contains(concat(" ",@class," ")," fullbody ") or @id="articlebody"]', | |
// insertBefore: '', | |
exampleUrl: 'http://blog.getchu.com/ http://blog.getchu.com/archives/51839508.html http://blog.getchu.com/tag/rootnuko', | |
}, | |
{ | |
url: 'http://www.getchu.com/php/calendar.phtml', | |
nextLink: '//div[@align="center"][div and table]/center[(count(a)=1 and contains(concat(a/@href," "),"page=1 ")) or count(a)=2]/a[last()]', | |
pageElement: '//div[@align="center"][div and center]/table', | |
exampleUrl: 'http://www.getchu.com/php/calendar.phtml', | |
}, | |
{ | |
url: 'http://dailynewsagency.com/(?:page|$)', | |
nextLink: 'id("Level2")//div[@class="pagination"]/span[@class="current"]/following-sibling::a|//link[@rel="prev"]', | |
pageElement: 'id("Level2")/div[contains(concat(" ",@class," ")," post ") or @id="bd_border" or @id="Level3"]', | |
// insertBefore: '', | |
exampleUrl: 'http://dailynewsagency.com/page/2/', | |
}, | |
{ | |
url: 'http://res.atura.jp/(?:bbs|servlet)/(?:AtuR|r)es', | |
nextLink: '//a[@accesskey="2"]', | |
pageElement: '//table/following-sibling::node()[following-sibling::hr[following-sibling::*[.="最新のレス"]]]', | |
// insertBefore: '', | |
exampleUrl: 'http://res.atura.jp/servlet/AtuRes?guid=on&bbsno=147340&threno=19261408', | |
}, | |
{ | |
url: 'http://res.atura.jp/(?:bbs|servlet)/(?:AtuR|r)es', | |
nextLink: '//a[@accesskey="1"]', | |
pageElement: '//table/following-sibling::node()[following-sibling::hr[following-sibling::*[.="最新のレス"]]]', | |
// insertBefore: '', | |
exampleUrl: 'http://res.atura.jp/servlet/AtuRes?guid=on&bbsno=147340&threno=19261408', | |
}, | |
{ | |
url: 'http://atura.jp/bbs/(?:top|AtuGlst)', | |
nextLink: '//a[contains(.,"次の") and contains(.,"件")]', | |
pageElement: '(//table/following-sibling::hr[1]|//form)/following-sibling::hr[1]/following-sibling::node()[following-sibling::a[contains(@href,"/bbs/top") or contains(@href,"/bbs/AtuGlst")][.="先頭" or (not(preceding-sibling::a[2]/.="先頭") and contains(.,"次の"))]]', | |
// insertBefore: '', | |
exampleUrl: 'http://atura.jp/bbs/top?bbsid=huriru5 http://atura.jp/bbs/top/test http://atura.jp/bbs/AtuGlst?bbsid=huriru5', | |
}, | |
/* | |
{ | |
url: 'http://atura.jp/bbs/AtuGlst', | |
nextLink: '//a[contains(.,"次の") and contains(.,"件")]', | |
pageElement: '(//table/following-sibling::hr[1]|//form)/following-sibling::hr[1]/following-sibling::node()[following-sibling::a[contains(@href,"/bbs/AtuGlst")][.="先頭" or (not(preceding-sibling::a[2]/.="先頭") and contains(.,"次の"))]]', | |
// insertBefore: '', | |
exampleUrl: 'http://atura.jp/bbs/AtuGlst?bbsid=huriru5', | |
}, | |
*/ | |
{ | |
url: 'http://nagamochi.info/', | |
nextLink: '//a[.="[HOME]"]/following-sibling::text()[number(translate(.,"[]",""))>0]/following-sibling::a', | |
pageElement: '//table[@summary]/tbody/tr[position()>1]', | |
// insertBefore: '', | |
exampleUrl: 'http://nagamochi.info/upload.html', | |
}, | |
{ | |
url: 'http://moemoe.moe.hm/muchi(?:_mini)?/', | |
nextLink: '//a[.="[HOME]"]/following-sibling::text()[number(translate(.,"[]",""))>0]/following-sibling::a', | |
pageElement: '//table[@summary]/tbody/tr[position()>1]', | |
// insertBefore: '', | |
exampleUrl: 'http://moemoe.moe.hm/muchi_mini/html/26.html?1307528863', | |
}, | |
{ | |
url: 'http://eromanga.jp/n/read.php', | |
nextLink: '//div/a[img]', | |
pageElement: '//div/*[self::a[img and contains(@href,"read.php")] or self::img]', | |
// insertBefore: '', | |
exampleUrl: 'http://eromanga.jp/n/?key=死なずの姫君&mode=t71658_1', | |
}, | |
{ | |
url: 'http://eromanga.jp/n/', | |
nextLink: '//div/a[@accesskey="6"]', | |
pageElement: '//div/form/following-sibling::hr[1]/following-sibling::node()[following-sibling::hr[following-sibling::a[@accesskey="6"]]]', | |
// insertBefore: '', | |
exampleUrl: 'http://eromanga.jp/n/?key=%E6%AD%BB%E3%81%AA%E3%81%9A%E3%81%AE%E5%A7%AB%E5%90%9B&mode=t71658_1 死なずの姫君', | |
}, | |
{ | |
url: 'http://199.jp/', | |
nextLink: 'id("right")/a', | |
pageElement: 'id("main")/table', | |
exampleUrl: 'http://199.jp/?page=1', | |
}, | |
/* | |
{ | |
url: 'http://133.242.19.175/rdimg.php',//http://199.jp/rd.php', | |
nextLink: '//td/a[img[contains(@onclick,"njump")]]', | |
pageElement: '//td/a[img[@onclick]]', | |
exampleUrl: 'http://133.242.19.175/rdimg.php?zid=78817',//http://199.jp/rd.php?zid=78817&key=', | |
}, | |
*/ | |
{//ero | |
url: 'http://fantasyphotogallery.com/doujin/search/', | |
nextLink: '//a[@accesskey="3"]', | |
pageElement: '//div[div and img and span]/img[@src="./line.gif"][2]/following-sibling::node()[following-sibling::div[@align="center"]]', | |
// insertBefore: '', | |
exampleUrl: 'http://fantasyphotogallery.com/doujin/search/', | |
}, | |
{ | |
url: 'http://fantasyphotogallery.com/doujin/port/list.php', | |
nextLink: '//a[@accesskey="3"]', | |
pageElement: '//div[div]/img[not(@alt)]', | |
// insertBefore: '', | |
exampleUrl: 'http://fantasyphotogallery.com/doujin/port/list.php?c=ryukoi&d=001&p=00yWE0l3V9ss6&n=0&f=v', | |
}, | |
{ | |
url: 'http://www.jarchive.org/akami/', | |
nextLink: 'id("navi")/li[last()]/a', | |
pageElement: 'id("navi")/preceding-sibling::*', | |
// insertBefore: '', | |
exampleUrl: 'http://www.jarchive.org/akami/aka062.html', | |
}, | |
{ | |
url: 'http://www.geocities.jp/ky_webid/ProgrammingPlacePlus/', | |
nextLink: '//a[.="次の章へ"]', | |
pageElement: '//div[@align="center"]/following-sibling::node()[following-sibling::hr]', | |
// insertBefore: '', | |
exampleUrl: 'http://www.geocities.jp/ky_webid/ProgrammingPlacePlus/c/001.html', | |
}, | |
{ | |
url: '^http://ameblo\.jp/.', | |
nextLink: '(id("sub_main")|id("sub_main")/*)/div[contains(concat(" ",@class," ")," page ")]//a[@class="nextPage"]', | |
pageElement: '(id("sub_main")|id("sub_main")/*)/div[contains(concat(" ",@class," ")," entry ") or @id="comment_module" or @id="recent_entries_list" or @id="trackback" or contains(@class,"trackbackPaging") or contains(@class,"commentPaging")]', | |
// insertBefore: '//div[contains(@id,"footer_ad")]|//div[contains(@class,"page")][2]', | |
exampleUrl: 'http://ameblo.jp/weapons-free/ http://ameblo.jp/toyosakiaki-blog/entry-11022383666.html http://ameblo.jp/samurai-do/entry1-10701446172.html', | |
}, | |
/* | |
{ | |
url: 'http://ameblo.jp/gsc-mikatan/', | |
nextLink: 'id("sub_main")/div[contains(@class, "page")]//a[@class="nextPage"]', | |
pageElement: 'id("sub_main")/div[contains(@class, "entry") or @id="comment_module" or @id="recent_entries_list"]', | |
// insertBefore: '', | |
exampleUrl: 'http://ameblo.jp/gsc-mikatan/entry-10759742380.html', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://ameblo.jp/[^/]+/image-\\d+-\\d+.html', | |
nextLink: 'id("nextImgLink")', | |
pageElement: 'id("entryInfo mainImgArea")', | |
// insertBefore: '', | |
exampleUrl: 'http://ameblo.jp/project-imas/image-10642663660-10716194991.html', | |
}, | |
*/ | |
{ | |
url: 'http://www.dekaino.net/screen/(?!index)', | |
nextLink: '//a[contains(.,"NEXT")]', | |
pageElement: '//a[.="[UP]"]/preceding-sibling::hr[1]/preceding-sibling::node()', | |
// insertBefore: '', | |
exampleUrl: 'http://www.dekaino.net/screen/index.html', | |
}, | |
{ | |
url: 'http://komorebi-note.com/', | |
nextLink: 'id("topblog")/div[@class="blogpagelink"]//a[contains(.,">>")]|id("topblog")/div[contains(concat(" ",@class," "),"article")]/ul[@class="neighbor"]/li/a[contains(.,"<<")]', | |
pageElement: 'id("topblog")/div[contains(concat(" ",@class," "),"article")]', | |
// insertBefore: '', | |
exampleUrl: 'http://komorebi-note.com/', | |
}, | |
{ | |
pageElement: 'id("content")/div[@class="body"]/div[@class="section"]\[ul[@class="persons"]]', | |
url: '^http://darekonoko\.appspot\.com/person/', | |
nextLink: 'id("move_page")/a', | |
exampleUrl: 'http://darekonoko.appspot.com/person/' | |
}, | |
{ | |
pageElement: 'id(\"wrapper")/descendant::div[contains(concat(" ", @class, " "), " article_body ")]/*[not(self::div[contains(concat(" ", @class, " "), " squarebadge ")])]', | |
url: '^http://japan\.zdnet\.com/[-\\w]+/\\w+/\\d+/', | |
nextLink: '//a[@rel="next"]', | |
exampleUrl: 'http://japan.zdnet.com/sp/10things/20379662/ http://japan.zdnet.com/cio/sp_09bpm/20392596/ http://japan.zdnet.com/os/analysis/35002007/' | |
}, | |
/* | |
{ | |
url: '^http://(?:www\.)?kotaku\.jp/', | |
nextLink: '//li[contains(concat(" ", @class, " "), " next ")]/a', | |
pageElement: 'id("main")//div[contains(concat(" ", @class, " "), " entry ") or contains(concat(" ",@class," ")," date_header ")]', | |
}, | |
*/ | |
/* | |
{ | |
url: '^http://(?:www\.)?(?:gizmodo|kotaku|lifehacker|myspiritual)\.jp/', | |
nextLink: '//li[contains(concat(" ", @class, " "), " next ")]/a', | |
pageElement: 'id("entry_detail")|id("main")/div[contains(concat(" ", @class, " "), " entry ")]', | |
}, | |
*/ | |
{ | |
pageElement: '//center[h1]/*[self::a[img] or self::img]', | |
url: '^http://s[^.]\.artemisweb\.jp/', | |
nextLink: '//center/p//a[contains(.,">>")]', | |
exampleUrl: 'http://s6.artemisweb.jp/mangakan/0908/00_00.html' | |
}, | |
{ | |
url: 'http://219.94.152.133/mangakan/', | |
nextLink: '//tr/td[img]/following-sibling::td/a[img]', | |
pageElement: '//table[.//table]/tbody/tr[@align]', | |
// insertBefore: '', | |
exampleUrl: 'http://219.94.152.133/mangakan/SONOTA_02.html', | |
}, | |
{//渋谷員子のドットの匠 | |
url: 'http://member.square-enix.com/jp/gamebrain/gbstatic/guest_weeklyT', | |
nextLink: '//pre/pre[last()]/h2/table//a|//pre[not(//pre/pre[last()]/h2/table//a)]/pre[1]/h2/table//tr[last()]/td[1]/a', | |
pageElement: '//pre[pre]', | |
// insertBefore: '', | |
exampleUrl: 'http://member.square-enix.com/jp/gamebrain/gbstatic/guest_weeklyT.html', | |
}, | |
{ | |
url: 'http://p.booklog.jp/book/\\d+/page/', | |
nextLink: 'id("content")/div[contains(concat(" ",@class," ")," pager ")]/a[last()]', | |
pageElement: 'id("book_body")', | |
// insertBefore: '', | |
exampleUrl: 'http://p.booklog.jp/book/25520/page/332152', | |
}, | |
{ | |
url: 'http://p.booklog.jp/(?:book|user)s', | |
nextLink: 'id("content createbook_area")/div[@class="pager"]/span[@class="current"]/following-sibling::a', | |
pageElement: 'id("nomal_area")/div/div|id("createbook_area")/table/tbody/tr', | |
// insertBefore: '', | |
exampleUrl: 'http://p.booklog.jp/books?ch=0& http://p.booklog.jp/users/tosh8', | |
}, | |
{ | |
url: 'http://www.tanuki-soft.jp/blog/', | |
nextLink: '//link[@rel="prev"]|id("main-content")/div[@class="page-nav"]/span[@class="older"]/a', | |
pageElement: 'id("main-content")/*', | |
// insertBefore: '', | |
exampleUrl: 'http://www.tanuki-soft.jp/blog/', | |
}, | |
{ | |
url: 'http://www.hcn.org/issues/\\d{3}/\\d{5}', | |
nextLink: '//div/span[@class="next"]/a|//div/a[@class="documentImagesNext"]', | |
pageElement: 'id("pageArticle")/div[@class="article-text"]|id("articleImageViewer")/div/div[@class="documentImagesViewer"]', | |
// insertBefore: '', | |
exampleUrl: 'http://www.hcn.org/issues/325/16378', | |
}, | |
{ | |
url: 'http://lebonmarche3.jugem.jp/', | |
nextLink: 'id("navi")/a', | |
pageElement: 'id("entry_area")/*', | |
// insertBefore: '', | |
exampleUrl: 'http://lebonmarche3.jugem.jp/ http://lebonmarche3.jugem.jp/?eid=3', | |
}, | |
{ | |
url: 'http://shi-me-ji.jugem.jp/', | |
nextLink: 'id("page_area")/div[contains(concat(" ",@class," ")," page_navi ")]/a[last()]|id("main")/div[contains(concat(" ",@class," ")," entry_navi ")]/a', | |
pageElement: 'id("main")/div[contains(concat(" ",@class," ")," entry_area ")]', | |
// insertBefore: '', | |
exampleUrl: 'http://shi-me-ji.jugem.jp/ http://shi-me-ji.jugem.jp/?eid=65', | |
}, | |
{ | |
url: 'http://blog.min.chu.jp/',//'^http://[^./]+\.jugem\.(?:cc|jp)/', | |
nextLink: '//div[contains(concat(" ",@class," ")," pager ")]/span[@class="pager_next"]/a|//div[contains(concat(" ",@class," ")," pager ")]/span[@class="current"]/following-sibling::span/a|//div[contains(concat(" ",@class," ")," pager ")]/span/a[contains(@href,"?eid")]|id("pagenavi")/a[.=">>"]|id("pager")/span[@class="current"]/following-sibling::span/a|id("pager")/span[@class="pager_next"]/a|id("entryNavi")/a[contains(@href,"?eid")]|id("main")/div[contains(concat(" ",@class," ")," page_navi ")]/a[last()]|id("main center")//div[@class="entry_navi"]/a[contains(@href,"/?eid=") or not(.=">>")]|//div[@class="entry_navi"]/a[contains(@href,"/?eid=")]|//div[@class="entry_navi"]/span/a[contains(.,"prev")]|id("navi")/div[@class="entry_navi"]/a[last()]|id("pager")/span[contains(concat(" ", @class, " "), " pager_next ")]/a|id("entryNavi")/a|id("pager")/span[@class="current"]/following-sibling::span[1]/a|//*[contains(" next page pagingLink pageChange ",concat(" ",@class," "))]//a[.=">>"]|id("main")//ul/li[@class="prev"]/a[not(.="<<")]|id("contents")/ul/li/a[.=">>"]|//dd[@class="pagenavi"]/span/a[contains(.,"next")]|//div[@class="paging"]/a[contains(.,">")]|id("content")//div[@class="pagingLink"]/ul/li/a[.=@title]|//td[@align="right"]/a[contains(.,"old")]|//div[@class="nextEntry"]/a[contains(@href,"?eid")]|id("main")/div/div[contains(concat(" ",@class," ")," page_navi ")]/a[.=">>"]|id("main")/div[@class="bottom-navi" or @class="top-navi"]/a[contains(translate(.,"ENTX","entx"),"next")]|id("main")//div[@class="top-navi"]/a[.=">>"]|id("main")/div[@class="navi"]/a[contains(@href,"eid")][contains(translate(.,"ENTX","entx"),"next")]',//[contains(translate(.,"EPRV","eprv"),"prev")]', | |
pageElement: '(//*[@class="contents" or contains(" main center content contents entryarea left ",concat(" ",@id," ")) or local-name()="td"]|//*[@class="contents" or contains(" main center content contents entryarea left ",concat(" ",@id," ")) or local-name()="td"]/*)/*[contains(concat(" ",@class," ")," entry ") or contains(concat(" ",@class," ")," section ") or contains(" comment relatedEntry trackback ",concat(" ",@id," ")) or contains(" comment relatedEntry trackback trackack ",concat(" ",@class," "))]|//section//article|id("main")/*[contains(" br ",concat(" ",local-name()," "))]|id("contents")[h2 and div]/node()|id("main")/dl|id("main")/div[contains(concat(" ",@class," ")," entry_area_t ")][.//*[contains(@class,"entry_")]]|id("main")/table[.//*[contains(@class,"entry_")]]', | |
//id("main contents entryarea")//*[contains(concat(" ",@class," ")," entry ")]| | |
exampleUrl: 'http://tnzwtmfm.jugem.cc/ http://melrose.jugem.cc/ http://policy.jugem.cc/ http://slpg.jugem.cc/ http://kk0018.jugem.cc/ http://madoka1.jugem.jp/', | |
}, | |
{ | |
url: '^http://[^./]+\.jugem\.(?:cc|jp)/', | |
nextLink: '//div[contains(concat(" ",@class," ")," pager ")]/span[@class="pager_next"]/a|//div[contains(concat(" ",@class," ")," pager ")]/span[@class="current"]/following-sibling::span/a|//div[contains(concat(" ",@class," ")," pager ")]/span/a[contains(@href,"?eid")]|id("pagenavi")/a[.=">>"]|id("pager")/span[@class="current"]/following-sibling::span/a|id("pager")/span[@class="pager_next"]/a|id("entryNavi")/a[contains(@href,"?eid")]|id("main")/div[contains(concat(" ",@class," ")," page_navi ")]/a[last()]|id("main center")//div[@class="entry_navi"]/a[contains(@href,"/?eid=") or not(.=">>")]|//div[@class="entry_navi"]/a[contains(@href,"/?eid=")]|//div[@class="entry_navi"]/span/a[contains(.,"prev")]|id("navi")/div[@class="entry_navi"]/a[last()]|id("pager")/span[contains(concat(" ", @class, " "), " pager_next ")]/a|id("entryNavi")/a|id("pager")/span[@class="current"]/following-sibling::span[1]/a|//*[contains(" next page pagingLink pageChange ",concat(" ",@class," "))]//a[.=">>"]|id("main")//ul/li[@class="prev"]/a[not(.="<<")]|id("contents")/ul/li/a[.=">>"]|//dd[@class="pagenavi"]/span/a[contains(.,"next")]|//div[@class="paging"]/a[contains(.,">")]|id("content")//div[@class="pagingLink"]/ul/li/a[.=@title]|//td[@align="right"]/a[contains(.,"old")]|//div[@class="nextEntry"]/a[contains(@href,"?eid")]|id("main")/div/div[contains(concat(" ",@class," ")," page_navi ")]/a[.=">>"]|id("main")/div[@class="bottom-navi" or @class="top-navi"]/a[contains(translate(.,"ENTX","entx"),"next")]|id("main")//div[@class="top-navi"]/a[.=">>"]|id("main")/div[@class="navi"]/a[contains(@href,"eid")][contains(translate(.,"ENTX","entx"),"next")]',//[contains(translate(.,"EPRV","eprv"),"prev")]', | |
pageElement: '(//*[@class="contents" or contains(" main center content contents entryarea left ",concat(" ",@id," ")) or local-name()="td"]|//*[@class="contents" or contains(" main center content contents entryarea left ",concat(" ",@id," ")) or local-name()="td"]/*)/*[contains(concat(" ",@class," ")," entry ") or contains(concat(" ",@class," ")," section ") or contains(" comment relatedEntry trackback ",concat(" ",@id," ")) or contains(" comment relatedEntry trackback trackack ",concat(" ",@class," "))]|//section//article|id("main")/*[contains(" br ",concat(" ",local-name()," "))]|id("contents")[h2 and div]/node()|id("main")/dl|id("main")/div[contains(concat(" ",@class," ")," entry_area_t ")][.//*[contains(@class,"entry_")]]|id("main")/table[.//*[contains(@class,"entry_")]]', | |
//id("main contents entryarea")//*[contains(concat(" ",@class," ")," entry ")]| | |
exampleUrl: 'http://tnzwtmfm.jugem.cc/ http://melrose.jugem.cc/ http://policy.jugem.cc/ http://slpg.jugem.cc/ http://kk0018.jugem.cc/ http://madoka1.jugem.jp/', | |
}, | |
/* | |
{//news | |
url: 'http://jugem.jp/news/(?:(?:(?:mus|com)ic|owarai)/)?id/', | |
nextLink: '//td[@class="Pageback"]/a', | |
pageElement: 'id("PageMain")/div[@id="NewsDetail" or @class="NewsDetailInfo"]', | |
// insertBefore: '', | |
exampleUrl: 'http://jugem.jp/news/latest/', | |
}, | |
*/ | |
/* | |
{//news | |
url: 'http://jugem.jp/news/(?:(?:(?:mus|com)ic|owarai)/)?(?:latest|blog|ranking|id)', | |
nextLink: 'id("PageMain")//td[@class="Pagenext"]/a|id("PageMain")//td[@class="Pageback"]/a[contains(@href,"id")]', | |
pageElement: 'id("PageMain")/div[contains(" NewsList NewsDetailInfo ",concat(" ",@class," ")) or @id="NewsDetail"]', | |
// insertBefore: '', | |
exampleUrl: 'http://jugem.jp/news/latest/ http://jugem.jp/news/comic/blog/ http://jugem.jp/news/comic/id/15085 http://jugem.jp/news/comic/ranking/', | |
}, | |
*/ | |
/* | |
{//theme | |
url: 'http://jugem.jp/theme/', | |
nextLink: 'id("user_theme_page theme_list")/div[contains(concat(" ",@class," ")," pager ")]/p/b[u]/following-sibling::a', | |
pageElement: 'id("user_theme_page theme_list")/div[contains(" user_entry user_theme ",concat(" ",@class," "))]', | |
// insertBefore: '', | |
exampleUrl: 'http://jugem.jp/theme/c88/2657/ http://jugem.jp/theme/c88/', | |
}, | |
*/ | |
/* 自作prototype | |
{ | |
url: 'http://[^/]+.jugem.jp/', | |
nextLink: 'id("main")/div[@class="page_navi"]/a[last()]|id("main")/div/div[@class="entry_navi"]/a[contains(@href,"/?eid")]|id("navi")/div[@class="entry_navi"]/a[last()]', | |
pageElement: 'id("main")/div[@class="entry"]|//div[@class="contents"]/div[@class="entry"]', | |
// insertBefore: '', | |
exampleUrl: 'http://ino-mi.jugem.jp/', | |
}, | |
*/ | |
/* | |
{ | |
url: '^http://[^/.]+\.jugem\.jp/', | |
nextLink: 'id("main")/div[contains(concat(" ",@class," ")," page_navi ")]/a[last()]|id("main center")//div[@class="entry_navi"]/a[contains(@href,"/?eid=") or not(.=">>")]|//div[@class="entry_navi"]/a[contains(@href,"/?eid=")]|//div[@class="entry_navi"]/span/a[contains(.,"prev")]|id("navi")/div[@class="entry_navi"]/a[last()]|id("pager")/span[contains(concat(" ", @class, " "), " pager_next ")]/a|id("entryNavi")/a|id("pager")/span[@class="current"]/following-sibling::span[1]/a|//*[contains(" next page pagingLink ",concat(" ",@class," "))]//a[.=">>"]|id("main")//ul/li[@class="prev"]/a[not(.="<<")]|id("contents")/ul/li/a[.=">>"]|//dd[@class="pagenavi"]/span/a[contains(.,"next")]|//div[@class="paging"]/a[contains(.,">")]|id("content")//div[@class="pagingLink"]/ul/li/a[.=@title]|//td[@align="right"]/a[contains(.,"old")]', | |
pageElement: '//*[@class="contents" or contains(" main center content ",concat(" ",@id," ")) or local-name()="td"]//*[contains(concat(" ",@class," ")," entry ") or contains(concat(" ",@class," ")," section ") or contains(" comment relatedEntry trackback ",concat(" ",@id," ")) or contains(" comment relatedEntry trackback trackack ",concat(" ",@class," "))]|id("contents")[h2 and div]/node()|id("main")/dl', | |
exampleUrl: 'http://mushibamamire.jugem.jp/ http://wonderkind.jugem.jp/ http://wonderkind.jugem.jp/?eid=805 http://ino-mi.jugem.jp/ http://themainstream.jugem.jp/?page=3 http://osatomi.jugem.jp/ http://ryo-ko-pentan.jugem.jp/?eid=2953 http://monchicon.jugem.jp/?page=1 http://lapilazu.jugem.jp/?eid=105 http://macholic.jugem.jp/ http://870860.jugem.jp/ http://garari.jugem.jp/ http://aquapple.jugem.jp/ http://poab.jugem.jp/ http://usami-mi.jugem.jp/?page=1' | |
}, | |
*/ | |
/* | |
{ | |
url: '^http://[^/.]+\.jugem\.jp/', | |
nextLink: 'id("main")/div[contains(concat(" ",@class," ")," page_navi ")]/a[last()]|id("main")/div/div[@class="entry_navi"]/a[contains(@href,"/?eid=")]|id("pager")/span[contains(concat(" ", @class, " "), " pager_next ")]/a|id("navi")/div[@class="entry_navi"]/a[last()]|id("entryNavi")/a|id("pager")/span[@class="current"]/following-sibling::span[1]/a|id("main")//ul/li[@class="next"]/a[.=">>"]|id("main")//ul/li[@class="prev"]/a[not(.="<<")]|id("center")/div/div[@class="page"]/a[.=">>"]|id("center")/div/div[@class="entry_navi"]/a[not(.=">>")]|//td/ul/li[@class="next"]/a[.=">>"]|//div[@class="entry_navi"]/a[not(@href="./")]|id("contents")/ul/li/a[.=">>"]|//div[@class="entry_navi"]/span/a[contains(.,"prev")]|//dd[@class="pagenavi"]/span/a[contains(.,"next")]|//div[@class="paging"]/a[contains(.,">")]|id("content")/div[@class="pagingLink"]/p/a[.=">>"]|id("content")//div[@class="pagingLink"]/ul/li/a[.=@title]|//td[@align="right"]/a[contains(.,"old")]', | |
pageElement: 'id("main")/*[contains(concat(" ",@class," ")," entry ") or contains(" comment relatedEntry trackback ",concat(" ",@id," ")) or contains(" comment relatedEntry trackback trackack ",concat(" ",@class," "))]|//div[@class="contents"]/div[@class="entry"]|id("main center")//*[contains(concat(" ",@class," ")," entry ")]|//td/*[contains(concat(" ",@class," ")," entry ")]|id("contents")[h2 and div]/node()|id("main")/dl|id("content")/*[contains(concat(" ",@class," ")," section ") or contains(" comment relatedEntry trackback ",concat(" ",@id," "))]|//td/div/div[contains(concat(" ",@class," ")," entry ")]', | |
exampleUrl: 'http://mushibamamire.jugem.jp/ http://wonderkind.jugem.jp/ http://wonderkind.jugem.jp/?eid=805 http://ino-mi.jugem.jp/ http://themainstream.jugem.jp/?page=3 http://osatomi.jugem.jp/ http://ryo-ko-pentan.jugem.jp/?eid=2953 http://monchicon.jugem.jp/?page=1 http://lapilazu.jugem.jp/?eid=105 http://macholic.jugem.jp/ http://870860.jugem.jp/ http://garari.jugem.jp/ http://aquapple.jugem.jp/ http://poab.jugem.jp/ http://usami-mi.jugem.jp/?page=1' | |
},// id("main")/ul/li[@class="next"]/a eidとで使い分け//解決 via http://themainstream.jugem.jp/?eid=677 | |
*/ | |
/* | |
{//http://blog.daijoubu.daa.jp/?eid=24 | |
url: '^http://blog\.daijoubu\.daa\.jp/', | |
nextLink: 'id("main")/div[contains(concat(" ",@class," ")," page_navi ")]/a[last()]|id("main")/div/div[@class="entry_navi"]/a[contains(@href,"/?eid=")]|id("pager")/span[contains(concat(" ", @class, " "), " pager_next ")]/a|id("navi")/div[@class="entry_navi"]/a[last()]|id("entryNavi")/a|id("pager")/span[@class="current"]/following-sibling::span[1]/a|id("main")//ul/li[@class="next"]/a[.=">>"]|id("main")//ul/li[@class="prev"]/a[not(.="<<")]|id("center")/div/div[@class="page"]/a[.=">>"]|id("center")/div/div[@class="entry_navi"]/a[not(.=">>")]|//td/ul/li[@class="next"]/a[.=">>"]|//div[@class="entry_navi"]/a[not(@href="./")]|id("contents")/ul/li/a[.=">>"]|//div[@class="entry_navi"]/span/a[contains(.,"prev")]|//dd[@class="pagenavi"]/span/a[contains(.,"next")]', | |
pageElement: 'id("main")/*[contains(concat(" ",@class," ")," entry ") or contains(" comment relatedEntry trackback ",concat(" ",@id," ")) or contains(" comment relatedEntry trackback trackack ",concat(" ",@class," "))]|//div[@class="contents"]/div[@class="entry"]|id("main center")//*[contains(concat(" ",@class," ")," entry ")]|//td/*[contains(concat(" ",@class," ")," entry ")]|id("contents")[h2 and div]/node()|id("main")/dl', | |
exampleUrl: 'http://mushibamamire.jugem.jp/ http://wonderkind.jugem.jp/ http://wonderkind.jugem.jp/?eid=805 http://ino-mi.jugem.jp/ http://themainstream.jugem.jp/?page=3 http://osatomi.jugem.jp/ http://ryo-ko-pentan.jugem.jp/?eid=2953 http://monchicon.jugem.jp/?page=1 http://lapilazu.jugem.jp/?eid=105 http://macholic.jugem.jp/ http://870860.jugem.jp/' | |
}, | |
*/ | |
{ | |
url: 'http://www.w3schools.com/XPath/', | |
nextLink: '//td[@class="next"]/a', | |
pageElement: '//td[h1]/*[self::h1 or (preceding-sibling::table[@class="chapter"] and following-sibling::table[@class="chapter"])]', | |
// insertBefore: '', | |
exampleUrl: 'http://www.w3schools.com/XPath/default.asp', | |
}, | |
{ | |
url: 'http://www.imagebam.com/image/', | |
nextLink: 'id("imageContainer")/table/tbody/tr/td/a[span[contains(.,"next")]]', | |
pageElement: 'id("imageContainer scaleinfo")', | |
// insertBefore: '', | |
exampleUrl: 'http://www.imagebam.com/image/87146487821538 http://www.imagebam.com/image/78f83487821593', | |
}, | |
{ | |
pageElement: '//div[ol]/node()[self::div[p] or self::table or not(self::*)]', | |
url: '^http://msdn\.microsoft\.com/ja-jp/windowsazure/claudia', | |
nextLink: '//div[ol]/ol[1]/li[img]/following-sibling::li/a', | |
exampleUrl: 'http://msdn.microsoft.com/ja-jp/windowsazure/claudia01_01' | |
}, | |
/* | |
{ | |
url: '^http://album\.blog\.yam\.com/', | |
nextLink: '//a[text()="下一頁"]|//li[@class="next"]/a', | |
pageElement: 'id("albumList")/div[@class="album"]|id("mainContent")/*|id("photobody")/div',////article[@id="mainContent"]/*', | |
// insertBefore: '//div[@class="pageCtrl"]/following-sibling::*[2]', | |
exampleUrl: 'http://album.blog.yam.com/show.php?a=j6vu04honda&f=9199555&i=21807333&p=0', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://album.blog.yam.com/show.php', | |
nextLink: 'id("pic")/../../a', | |
pageElement: 'id("photoViewbody")/*', | |
exampleUrl: 'http://album.blog.yam.com/show.php?a=ashinlee&f=5030423&i=4360000&p=30', | |
}, | |
*/ | |
/* | |
{ | |
url: '^http://natalie\.mu/(?:(?:(?:com|mus)ic|o(?:yatsu|warai))/)?(?:gallery/show/news_id|news)/\\d+', | |
nextLink: 'id("news-image")/div[@class="btn-zoom-image"]/a|id("news-detail")/ul/li[last()]/a|id("news-image-index")/p/a[img]', | |
pageElement: 'id("news-text news-links news-item news-image news-link articles-link")|id("news-image-index")/p', | |
exampleUrl: 'http://natalie.mu/music/gallery/show/news_id/19812/image_id/18342\r\nhttp://natalie.mu/comic/news/18577', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://natalie.mu/store/search', | |
nextLink: 'id("pager")/ul/li[not(a) and number(.)>0]/following-sibling::li/a', | |
pageElement: 'id("result-list")', | |
exampleUrl: 'http://natalie.mu/store/search/keyword/AKB48 http://natalie.mu/store/search?category=Books&keyword=', | |
}, | |
*/ | |
{ | |
url: '^http://natalie\.mu/(?:[^/]+/)*?(?:artist|(?:site)?news|pp|work|gallery/hot)', | |
nextLink: '//a[@rel="next"]', | |
pageElement: 'id("contents-list document-list")/div[not(@id)]', | |
exampleUrl: 'http://natalie.mu/news/list/order_by/date http://natalie.mu/sitenews http://natalie.mu/comic/gallery/hot' | |
}, | |
/* | |
{//コミナタ漫研 | |
url: '^http://natalie\.mu/comic/news/(?:4(?:65(?:2(?:0|2|7)|3(?:1|2))|457(?:0|1|2|3|4)|18(?:67|8(?:2|8)|9(?:0|3))|08(?:8(?:3|7|8|9)|90)))', | |
nextLink: 'id("news-text")//a[contains(.,"つづく")]', | |
pageElement: 'id("news-text")/h4/preceding-sibling::p[1]/following-sibling::*[following-sibling::p[a]]', | |
// insertBefore: '', | |
exampleUrl: 'http://natalie.mu/comic/news/46520 http://natalie.mu/comic/news/46522 http://natalie.mu/comic/news/46527 http://natalie.mu/comic/news/46531 http://natalie.mu/comic/news/46532 http://natalie.mu/comic/news/44570 http://natalie.mu/comic/news/44571 http://natalie.mu/comic/news/44572 http://natalie.mu/comic/news/44573 http://natalie.mu/comic/news/44574 http://natalie.mu/comic/news/41867 http://natalie.mu/comic/news/41882 http://natalie.mu/comic/news/41888 http://natalie.mu/comic/news/41890 http://natalie.mu/comic/news/41893 http://natalie.mu/comic/news/40883 http://natalie.mu/comic/news/40887 http://natalie.mu/comic/news/40888 http://natalie.mu/comic/news/40889 http://natalie.mu/comic/news/40890', | |
}, | |
*/ | |
/* | |
{ | |
pageElement: 'id("contents-list")/div/div', | |
url: '^http://natalie\.mu/(?:[^/]+/)*?(?:artist|news|pp|work)', | |
nextLink: '//a[@rel="next"]', | |
exampleUrl: 'http://natalie.mu/news/list/order_by/date', | |
}, | |
*/ | |
/* | |
{ | |
url: '^http://natalie\.mu/(?:(?:(?:com|mus)ic|o(?:yatsu|warai))/)?(?:gallery/show/news_id|news)/\\d', | |
nextLink: 'id("news-image")/div[@class="btn-zoom-image"]/a|id("news-detail")/ul/li[last()]/a|id("news-image-index")/p/a[img]', | |
pageElement: 'id("news-text news-link news-item news-image")|id("news-image-index")/p', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://natalie.mu/(?:(?:com|mus)ic|owarai)/(?:news|gallery/show/news_id)/\\d+', | |
nextLink: 'id("news-image")/div[@class="btn-zoom-image"]/a|id("news-detail")/ul/li[last()]/a', | |
pageElement: 'id("news-body")/*', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
/* 特集記事 | |
{ | |
url: 'http://natalie.mu/(?:(?:com|mus)ic|owarai)/pp/[^/]+', | |
nextLink: 'id("sp-left")/div[@class="sp-navigation"]/ul/li[span]/following-sibling::li/a', | |
pageElement: 'id("sp-left")/div[@class="sp-navigation"]/following-sibling::div[following-sibling::div[contains(@class,"sp-") and contains(@class,"-navigation")]]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
{ | |
url: 'http://www3.atwiki.jp/nanakoso/', | |
nextLink: 'id("mainpage")/div/div[@class="blognavi"]/a|id("mainpage")//div[@id=""]/preceding-sibling::div/a', | |
pageElement: 'id("mainpage")/*', | |
// insertBefore: '', | |
exampleUrl: 'http://www3.atwiki.jp/nanakoso/pages/10.html', | |
}, | |
{ | |
url: '^http://netaatoz\.blog[^.]+\.fc2\.com/', | |
nextLink: 'descendant::a[contains(@href,"fc2.com/page-")][last()] | /descendant::a[contains(translate(text(), "ENTX", "entx"), "next")][last()]', | |
pageElement: 'id("center")[1]/div[not(@id)]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
/* | |
{ | |
url: 'https://shop.digi-goods.com/item.php', | |
nextLink: 'id("pg-search")/div/dl/dd[@class="pg-next"]/a', | |
pageElement: 'id("pg-search")/div/div', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
{ | |
url: 'http://(?:www.)?nitroplus.co.jp/pc/news/', | |
nextLink: '//font[@color="#a90a08"]/following-sibling::a', | |
pageElement: '//center/a[@name]/preceding-sibling::*[1]/following-sibling::*[following-sibling::table[.//font[@color="#a90a08"]]]', | |
// insertBefore: '', | |
exampleUrl: 'http://nitroplus.co.jp/pc/news/?ct=1', | |
}, | |
{ | |
url: 'http://(?:www.)?nitroplus.co.jp/special/karaoke/news/', | |
nextLink: 'id("main")/div[@class="pagination"]//span[@class="current_page"]/following-sibling::a|id("main")/div[@class="pagination"]/ul/li/a', | |
pageElement: 'id("main")/div[contains(concat(" ",@class," ")," article ")]', | |
// insertBefore: '', | |
exampleUrl: 'http://www.nitroplus.co.jp/special/karaoke/news/', | |
}, | |
/* | |
{//旧スタッフBBS formがPOSTのため不発 | |
url: 'http://(?:www.)?nitroplus.co.jp/pc/staff/bbs/', | |
nextLink: '//td/div[@align="right"]/form', | |
pageElement: '//center[2]/table', | |
// insertBefore: '', | |
exampleUrl: 'http://www.nitroplus.co.jp/pc/staff/bbs/', | |
}, | |
*/ | |
{ | |
url: 'http://(?:www.)?nitroplus.co.jp/news/\\d{4}/(?:\\d{2}/)?', | |
nextLink: 'id("main")/div[@class="moveList"]//span[@class="current_page"]/following-sibling::a|id("localNav")/ul/li/a', | |
pageElement: 'id("pastList")/*', | |
// insertBefore: '', | |
exampleUrl: 'http://www.nitroplus.co.jp/news/2011/', | |
}, | |
{ | |
url: 'http://(?:www.)?nitroplus.co.jp/(?:good|new)s/\\w+/', | |
nextLink: 'id("main")/div[@class="moveList"]//span[@class="current_page"]/following-sibling::a', | |
pageElement: 'id("pastList")/ul', | |
// insertBefore: '', | |
exampleUrl: 'http://www.nitroplus.co.jp/goods/05demonbane/ http://www.nitroplus.co.jp/news/game/index_2.php', | |
}, | |
/* | |
{ | |
url: 'http://nitroplus.co.jp/pc/staff/shining/\\d', | |
nextLink: '//div/a[contains(.,"next")]', | |
pageElement: '//center/table[@bgcolor]', | |
// insertBefore: '', | |
exampleUrl: 'http://nitroplus.co.jp/pc/staff/shining/001.html', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://www.nitroplus.co.jp/staff/blog/\\d{6}/', | |
nextLink: 'id("relationNews")/ul/li[number(translate(substring-after(a/@href,"/staff/blog/"),"_/.ph","")) < number(translate(substring-after(id("tb_url")/@value,"/staff/blog/"),"_/.ph",""))]/a|id("relationNews")/ul/li[contains(@class,"firstChild") and number(translate(substring-after(a/@href,"/staff/blog/"),"./_hp","")) >= number(translate(substring-after(id("tb_url")/@value,"/staff/blog/"),"./_hp","")) and number(translate(substring-after(following-sibling::li[contains(@class,"lastChild")]/a/@href,"/staff/blog/"),"./_hp","")) >= number(translate(substring-after(id("tb_url")/@value,"/staff/blog/"),"./_hp",""))]/a', | |
pageElement: 'id("main")/*[self::div[contains(@class,"article")]]', | |
// insertBefore: '', | |
exampleUrl: 'http://www.nitroplus.co.jp/staff/blog/201105/110528_2286.php http://www.nitroplus.co.jp/staff/blog/201105/110519_2252.php', | |
}, | |
// or (contains(@class,"firstChild") and (number(translate(substring-after(a/@href,"/staff/blog/"),"_/.ph","")) >= number(translate(substring-after(id("tb_url")/@value,"/staff/blog/"),"_/.ph",""))) and (number(translate(substring-after(../li[contains(@class,"lastChild")]/a/@href,"/staff/blog/"),"_/.ph","")) >= number(translate(substring-after(id("tb_url")/@value,"/staff/blog/"),"_/.ph","")))) | |
*/ | |
/* | |
{ | |
url: 'http://www.nitroplus.co.jp/staff/blog/', | |
nextLink: 'id("main")/div/ul/span[@class="current_page"]/following-sibling::a|id("localNav")/ul/li/a', | |
pageElement: 'id("main")/*[self::div[contains(@class,"article")] or self::p[contains(@class,"backtop")]]', | |
// insertBefore: '', | |
exampleUrl: 'http://www.nitroplus.co.jp/staff/blog/other/', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://www.nitroplus.co.jp/gelgoog/mt-search.cgi', | |
nextLink: 'id("search-results")/div[@class="moveList"]/ul/li[em]/following-sibling::li/a', | |
pageElement: 'id("search-results")/*', | |
// insertBefore: '', | |
exampleUrl: 'http://www.nitroplus.co.jp/gelgoog/mt-search.cgi?tag=虚淵玄&limit=10', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://www.1999.co.jp/blog/', | |
nextLink: '//td/span[not(a) and number(.) > 0]/following-sibling::span/a', | |
pageElement: 'id("primary-column")/div[contains(concat(" ",@class," ")," section ")]', | |
// insertBefore: '', | |
exampleUrl: 'http://www.1999.co.jp/blog/', | |
}, | |
*/ | |
/* | |
{ | |
pageElement: 'id("content")/*', | |
url: '^http://blog\.pokkeboy\.com/', | |
nextLink: '//div[@class="navigation"]/a[@class="next"]', | |
exampleUrl: 'http://blog.pokkeboy.com/', | |
}, | |
*/ | |
/* | |
{ | |
pageElement: 'id("shortCut")/preceding-sibling::div[contains(concat(" ", @class, " "), " section ")]/div[contains(concat(" ", @class, " "), " section ")]', | |
url: '^http://www\.remus\.dti\.ne\.jp/~a-satomi/nikki/', | |
nextLink: '//a[@rel="prev"]', | |
exampleUrl: 'http://www.remus.dti.ne.jp/~a-satomi/nikki/2007/05a.html\r\nhttp://www.remus.dti.ne.jp/~a-satomi/nikki/genres/Mozilla.html\r\nhttp://www.remus.dti.ne.jp/~a-satomi/nikki/1999/', | |
}, | |
*/ | |
/* | |
{ | |
pageElement: '//article[@class="post"]', | |
url: '^http://rss\.r401\.net/yaruo/', | |
nextLink: '//span/a[contains(text(), ">")]', | |
exampleUrl: 'http://rss.r401.net/yaruo/', | |
}, | |
*/ | |
/* | |
{ | |
pageElement: 'id("main")/*[contains(concat(" ",@class," ")," entry ")]', | |
url: 'http://akibahobby\.net/', | |
nextLink: '//*[contains(concat(" ", @class, " "), " current ")]/following-sibling::a', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://d.hatena.ne.jp/jkondo/touch', | |
nextLink: 'id("next-arrow")/..', | |
pageElement: '//div[@class="body"]/div[@class="pager"]/preceding-sibling::*', | |
exampleUrl: 'http://d.hatena.ne.jp/jkondo/touch http://d.hatena.ne.jp/jkondo/touch/20091002/1254451877', | |
}, | |
*/ | |
{//はてブ オフィシャルのPagerizeは嫌=LDRizeと連携したい派 | |
url: '^http://b\.hatena\.ne\.jp/(?!entry/)',//[a-zA-Z][-\\w]{1,30}[a-zA-Z\\d]/', | |
nextLink: '//a[@class="pager-next" or (@class="pager-prev" and not(//a[@class="pager-next"]))]', | |
pageElement: 'id("bookmarked_user")', | |
exampleUrl: 'http://b.hatena.ne.jp/naoya/', | |
comment: 'http://b.hatena.ne.jp/help/autop', | |
}, | |
{//hatenablog.com hateblo.jp hatenadiary.com hatenadiary.jp | |
url: 'http://\\w+.hate(?:na)?blog?.(?:com|jp)/entry/', | |
nextLink: 'id("main-inner")/div[contains(@class,"pager")]/span[@class="pager-next"]/a', | |
pageElement: 'id("main-inner")/article[contains(concat(" ",@class," ")," autopagerize_page_element ")]', | |
exampleUrl: 'http://uupaa.hatenablog.com/entry/2012/02/02/223449 http://kanose.hateblo.jp/entry/2012/02/16/055224', | |
}, | |
/* | |
{ | |
url: 'http://weheartit.com/', | |
nextLink: '//div[@class="pagination"]/div[@class="older"]/a', | |
pageElement: 'id("content")/div/div[contains(@class,"entry")]', | |
// insertBefore: '', | |
exampleUrl: 'http://weheartit.com/', | |
}, | |
*/ | |
{ | |
url: 'http://(?:diamond|(?:jbpress|gendai|karadastyle).ismedia|be-story|number.bunshun).jp/articles/-/', | |
nextLink: '(id("multipage")|//div[contains(@class,"multipage")])//*[contains(concat(" ", @class, " "), " next_p ")]/a |id("pagenation")/ul/li[span]/following-sibling::li/a', | |
pageElement: 'id("main-contents")/*[not(@id) or (@id!="mp-ie" and @id!="article-end")]', | |
// insertBefore: '', | |
exampleUrl: 'http://jbpress.ismedia.jp/articles/-/3524 http://diamond.jp/articles/-/7524 http://be-story.jp/articles/-/1325?page=2 http://number.bunshun.jp/articles/-/60558', | |
}, | |
/* | |
{ | |
url: 'http://haaya.net/', | |
nextLink: '//p/img[@alt=@title and contains(@src,"arrow")]/following-sibling::a[img]|id("flip2")/li[@class="older"]/a', | |
pageElement: 'id("main")/*[self::h2 or self::div[contains(@class,"entry")]]', | |
// insertBefore: '', | |
exampleUrl: 'http://haaya.net/2282', | |
}, | |
*/ | |
/* template | |
{ | |
url: 'http://www.flickr.com/groups_members_detail.gne?id=1257912@N23&tab=member', | |
nextLink: '', | |
pageElement: '', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://www.flickr.com/groups(?:/[^/]+/(?:discuss|pool)/|_members_detail.gne)', | |
nextLink: 'id("main Main")//div[@class="Pages"]/div/a[@class="Next"]', | |
pageElement: 'id("main Main")//*[self::div[contains(concat(" ",@class," ")," MembersList ") or @class="HoldPhotos"] or self::table[@class="TopicListing"] or @clear="all"]', | |
// insertBefore: '', | |
exampleUrl: 'http://www.flickr.com/groups/netbsd/pool/ http://www.flickr.com/groups/snapfish/discuss/', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://drmfree.calibre-ebook.com/(?:by|newest)', | |
nextLink: 'id("content")/div/span/a[.="next"]', | |
pageElement: 'id("object_list")', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
/* | |
{ | |
url: '^http://(?:www\.)?hirosegawa-net\.com/interview/', | |
nextLink: '//img[not(contains(@alt, "目次")) and (contains(@alt, "次") or contains(@alt, "話") or contains(@src,"next"))]/parent::a', | |
pageElement: '//div[@class="title_n"][img]/preceding-sibling::*[1]/following-sibling::node()|//td[img and table]/table/tbody/tr', | |
exampleUrl: 'http://www.hirosegawa-net.com/interview/new/18_01.html', | |
}, | |
*/ | |
/* | |
{ | |
url: '^http://loda\.jp/[^/]+/', | |
nextLink: '//span[contains(concat(" ",normalize-space(@class)," ")," pages ")]/strong/following-sibling::a[not(contains(.,"ALL")]', | |
pageElement: 'id("table")/table[@summary="files"]/tbody/tr', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://novel.fc2.com/novel.php', | |
nextLink: 'id("novel")/ul[@class="navi_page"]/li[@class="right"]/a|id("main")/div[@id]/div/div[@class="navi_page"]/span/following-sibling::a', | |
pageElement: 'id("novel")/div|id("main")/div[@id]/div/*[contains(concat(" ",@class," ")," list ")]', | |
// insertBefore: '', | |
exampleUrl: 'http://novel.fc2.com/novel.php?mode=rd&nid=14055&pg=1', | |
}, | |
*/ | |
{ | |
url: 'http://yoimachizaka.web.fc2.com/', | |
nextLink: '//a[.="next"]', | |
pageElement: '//center/node()[following::center]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://(?:sunmaster.web|gozarugozaru.x).fc2.com/html/hman', | |
nextLink: '//p/a[contains(.,"話へ")][last()]', | |
pageElement: '//p[img]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
/* | |
{ | |
url: 'http://www\.dmm\.co\.jp/.+/-/list/=/.+', | |
nextLink: '//td[@class="right"]/a[contains(text(), "次へ")]', | |
pageElement: '//tr[td/div[@class="float-l"]]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://shchara.co.jp/07event/comic/', | |
nextLink: '//td/a[img]', | |
pageElement: '//td/a[img]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://www.j-comi.jp/viewer/\\w+/\\d+/\\d+/', | |
nextLink: 'id("book_view")/div//ul/li[@class="icon_next"]/a', | |
pageElement: 'id("book_view")/div/div[@class="bv_main"]', | |
exampleUrl: '', | |
}, | |
*/ | |
{ | |
url: 'http://dl.dropbox.com/u/261418/scala-hackathon/', | |
nextLink: '//div[@class="related"]/ul/li/a[.="next"]', | |
pageElement: '//div[@class="bodywrapper"]/div[@class="body"]/*', | |
// insertBefore: '', | |
exampleUrl: 'http://dl.dropbox.com/u/261418/scala-hackathon/index.html', | |
}, | |
{ | |
url: 'http://upple.info/', | |
nextLink: '//ol/a[contains(@href,parent::ol/@start) or (.=parent::ol/@start)]/following-sibling::a', | |
pageElement: '//ol/p/table/tbody/tr[td]', | |
// insertBefore: '', | |
exampleUrl: 'http://upple.info/index.cgi?from=51', | |
}, | |
{ | |
url: 'http://dol.dengeki.com/sp/nekomimi/\\d{2}/\\d{2}.html', | |
nextLink: 'id("pagelink")/li/a[img[contains(@src,"next")]]', | |
pageElement: '//div[starts-with(@id,"main")]',//]id("main")', | |
exampleUrl: 'http://dol.dengeki.com/sp/nekomimi/08/01.html', | |
}, | |
{ | |
url: 'http://genesis.dengeki.com/blog/', | |
nextLink: 'id("g_main")//div[@class="nextprevbox"]/div[@class="prevbox"]/a[@rel="prev"]', | |
pageElement: 'id("g_main")//div[@class="b_articleboxbox"]', | |
exampleUrl: 'http://genesis.dengeki.com/blog/archives/394', | |
}, | |
/* | |
{ | |
url: 'http://maoh.dengeki.com/try/\\w+/\\d{2}', | |
nextLink: '(id("navi")/li[@class="next"]|id("next try_next"))/a', | |
pageElement: 'id("main main_1000 main_980 main_970 main_950")/*', | |
// insertBefore: '', | |
exampleUrl: 'http://maoh.dengeki.com/try/pianosonata/01.html', | |
}, | |
*/ | |
{ | |
url: 'http://starcollector.under.jp/\\w+/', | |
nextLink: '//center/a[img]', | |
pageElement: '//center[a/img]', | |
// insertBefore: '', | |
exampleUrl: 'http://starcollector.under.jp/kakatte2/016.htm', | |
}, | |
{ | |
url: 'http://www.shido.info/\\w+/\\w+\\d', | |
nextLink: '//p[@class="header"]/table//a[@rel="next"]', | |
pageElement: '//p[@class="header"]/following-sibling::node()[following-sibling::p[@class="footer"]]', | |
// insertBefore: '', | |
exampleUrl: 'http://www.shido.info/hs/haskell7.html', | |
}, | |
{ | |
url: 'http://www.webdoku.jp/rensai/sakka/michi\\d+_\\w+/', | |
nextLink: 'id("alpha")/div[starts-with(@id,"entry-")]//ul/li[@class="now"]/following-sibling::li/a', | |
pageElement: 'id("alpha")/div[starts-with(@id,"entry-")]/div[@class="entry-content"]', | |
// insertBefore: '', | |
exampleUrl: 'http://www.webdoku.jp/rensai/sakka/michi101_enjo/index.html', | |
}, | |
/* | |
{//復興支援ポスター | |
url: 'http://pstr.jp/', | |
nextLink: 'id("yw1")/li[contains(@class,"selected")]/following-sibling::li/a', | |
pageElement: 'id("yw0")/div[@class="items"]/a[img]', | |
// insertBefore: '', | |
exampleUrl: 'http://pstr.jp/', | |
}, | |
*/ | |
{ | |
url: 'http://bbs.weiphone.com/', | |
nextLink: 'id("c main")//div[@class="pages"]/b/following-sibling::a', | |
pageElement: 'id("main ajaxtable")/*', | |
// insertBefore: '', | |
exampleUrl: 'http://bbs.weiphone.com/thread-htm-fid-333.html http://bbs.weiphone.com/read-htm-tid-1857046-page-2.html', | |
}, | |
{ | |
url: 'http://blog.[^./]+.moo.jp/', | |
nextLink: 'id("contents")/ul[@class="navi"]/li[last()]/a', | |
pageElement: 'id("contents")/div', | |
// insertBefore: '', | |
exampleUrl: 'http://blog.azure-fantasy.moo.jp/', | |
}, | |
{ | |
url: 'http://ga.sbcr.jp/bunko_blog/', | |
nextLink: '//link[@rel="prev"]', | |
pageElement: 'id("beta-inner")/div', | |
// insertBefore: '', | |
exampleUrl: 'http://ga.sbcr.jp/bunko_blog/cat378/016837/', | |
}, | |
{ | |
url: 'http://www.kiwisbybeat.com/', | |
nextLink: '//center/h2/font/a[starts-with(.,"next")]', | |
pageElement: '//center/table', | |
// insertBefore: '', | |
exampleUrl: 'http://www.kiwisbybeat.com/minus37.html', | |
}, | |
{ | |
url: 'http://tategakibunko.mydns.jp/', | |
nextLink: 'id("main")/div/ul/li[@class="current"]/following-sibling::li/a[number(.)>0]', | |
pageElement: 'id("main")/div[@id]', | |
// insertBefore: '', | |
exampleUrl: 'http://tategakibunko.mydns.jp/', | |
}, | |
{ | |
url: 'http://june29.jp/', | |
nextLink: '//link[@rel="prev"]', | |
pageElement: 'id("content")/div[@id]', | |
// insertBefore: '', | |
exampleUrl: 'http://june29.jp/2007/10/03/autopagerize-mixi-diary/', | |
}, | |
/* anchor 不在 | |
{ | |
url: 'https://market.android.com/search', | |
nextLink: '//a[img[contains(@src,"arrow_right")]]', | |
pageElement: '//div[contains(concat(" ",@class," ")," pages ")]/div[a[img] or img]', | |
exampleUrl: 'https://market.android.com/search?q=POBox&so=1&c=apps', | |
}, | |
*/ | |
{//google日本語 | |
url: 'http://www.google.com/ime/comic/', | |
nextLink: '//a[img[contains(@src,"arrow_right")]]', | |
pageElement: '//div[contains(concat(" ",@class," ")," pages ")]/div[a[img] or img]', | |
exampleUrl: 'http://www.google.com/ime/comic/', | |
}, | |
{ | |
url: 'http://www.google.com/intl/ja/googlebooks/chrome/', | |
nextLink: 'id("info")/p[contains(concat(" ",@class," "),"nav")]/a[img[@src="images/arrowright.gif"]]', | |
pageElement: 'id("page")/div[a[img] or img]', | |
exampleUrl: 'http://www.google.com/intl/ja/googlebooks/chrome/index.html', | |
}, | |
/* | |
{ | |
url: '^https?://[^./]+\.google(?:\.[^./]{2,3}){1,2}/(?:c(?:se|ustom)|search|webhp|#)', | |
nextLink: 'id("pnnext")|id("navbar nav navcnt")//td[span]/following-sibling::td[1]/a|id("nn")/parent::a', | |
pageElement:'id("search")/div[ol or div]|id("res")/div[ol or div]|id("ofr")|id("rso")', | |
}, | |
*/ | |
/* 動的生成につき不可 | |
{ | |
url: 'http://www.google.co.jp/custom\\?domains', | |
nextLink: 'id("navbar")/table/tbody/tr/td[span]/following-sibling::td/a[span]', | |
pageElement: 'id("res")/div[not(@id)]', | |
// insertBefore: '', | |
exampleUrl: 'http://www.google.co.jp/custom?domains=ido.nu%2Fkuma%2F&q=greasemonkey&sitesearch=ido.nu%2Fkuma%2F&client=pub-6122863201929333&forid=1&ie=UTF-8&oe=UTF-8&cof=GALT%3A%23008000%3BGL%3A1%3BDIV%3A%23336699%3BVLC%3A663399%3BAH%3Acenter%3BBGC%3AFFFFFF%3BLBGC%3Affffff%3BALC%3A0000FF%3BLC%3A0000FF%3BT%3A000000%3BGFNT%3A0000FF%3BGIMP%3A0000FF%3BLH%3A90%3BLW%3A335%3BL%3Ahttp%3A%2F%2Fido.nu%2Fkuma%2Fimage%2FZeroMemoryBETA.png%3BS%3Ahttp%3A%2F%2Fido.nu%2Fkuma%2F%3BFORID%3A1&hl=ja', | |
}, | |
*/ | |
{ | |
url: 'http://blog.goo.ne.jp/\\w+/', | |
nextLink: 'id("mod-prev-next")//ul/li[@class="mod-pre-nex-prev"]/a', | |
pageElement: '//div[@class="content-body"]/*', | |
// insertBefore: '', | |
exampleUrl: 'http://blog.goo.ne.jp/blackswan_ny/', | |
}, | |
{ | |
url: 'http://blog.magropan.net/', | |
nextLink: 'id("main")/div/span[@class="current"]/following-sibling::a|id("flip2")/li[@class="older"]/a', | |
pageElement: 'id("main")/*',//div[@id]', | |
// insertBefore: '', | |
exampleUrl: 'http://blog.magropan.net/2011/', | |
}, | |
/* | |
{ | |
url: 'http://blog.magropan.net/', | |
nextLink: '//div[starts-with(@id,"ngg-gallery-")]/div[@class="ngg-navigation"]/span/following-sibling::a', | |
pageElement: '//div[starts-with(@id,"ngg-gallery-")]/*', | |
// insertBefore: '', | |
exampleUrl: 'http://blog.magropan.net/2011/0320/121452/', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://www.1999.co.jp/list/', | |
nextLink: '//div[@class="right"]/table//span[@class="list1"]/following-sibling::span[@class="list2"]/a', | |
pageElement: '//div[@class="right"]/table', | |
// insertBefore: '', | |
exampleUrl: 'http://www.1999.co.jp/list/1105/0/1', | |
}, | |
*/ | |
{ | |
url: 'http://mantan-web.jp/(?:gallery/)?\\d{4}', | |
nextLink: 'id("articleBody")//div[@class="photoWrapper"]//a', | |
pageElement: 'id("articlePhoto")|id("articleBody")[p]/*', | |
// insertBefore: '', | |
exampleUrl: 'http://mantan-web.jp/gallery/2011/03/24/3.html http://mantan-web.jp/2011/03/24/20110323dog00m200054000c.html', | |
}, | |
{ | |
url: '^http://sankei\.jp\.msn\.com/', | |
nextLink: 'id("MainContent")/div[contains(concat(" ", @class, " "), " NewsText ") or contains(concat(" ", @class, " "), " pager ")]//a[contains(text(), "記事詳細") or contains(text(), "次のページ")]|//div[contains(@class,"ModulePhotoList")][preceding-sibling::div//*[contains(text(),"このニュースの写真")]]/div/a[img]|id("__r_photo_img__")/ancestor::a[substring-before(substring-after(self::a/@href,"/photos/"),"-p") = substring-before(substring-after(self::a/span/img/@src,"/news/"),"-p")]', | |
pageElement: 'id("MainContent")//div[starts-with(@class,"NewsText") or (a/span/img and starts-with(@class,"img"))]', | |
}, | |
/* | |
{ | |
url: 'http://sankei.jp.msn.com/\\w+/(?:new|photo)s/\\d+/\\w{3}\\d+-[np]\\d', | |
nextLink: 'id("MainContent")/div[contains(concat(" ", @class, " "), " NewsText ") or contains(concat(" ", @class, " "), " pager ")]//a[contains(text(), "記事詳細") or contains(text(), "次のページ")]|//div[contains(@class,"ModulePhotoList")]/div/a[img]|id("__r_photo_img__")/ancestor::a[substring-before(substring-after(self::a/@href,"/photos/"),"-p") = substring-before(substring-after(self::a/span/img/@src,"/news/"),"-p")]',//|id("MainContent")/div[@class="pager"]/div/ul/li[contains(self::li/a/@href, substring-before(substring-after(following-sibling::li/a/@href,"/biz"),"-p"))]/following-sibling::li/a', | |
pageElement: 'id("MainContent")//div[starts-with(@class,"NewsText") or (a/span/img and not(p))]', | |
// insertBefore: '', | |
exampleUrl: 'http://sankei.jp.msn.com/economy/news/110318/biz11031809380006-n1.htm http://sankei.jp.msn.com/affairs/news/110320/dst11032020090083-n1.htm', | |
},*/ | |
/* | |
{ | |
url: 'http://sankei.jp.msn.com/\\w+/(?:new|photo)s/\\d+/\\w{3}\\d+-[np]\\d', | |
nextLink: 'id("MainContent")/div[contains(concat(" ", @class, " "), " NewsText ") or contains(concat(" ", @class, " "), " pager ")]//a[contains(text(), "記事詳細") or contains(text(), "次のページ")]|//div[contains(@class,"ModulePhotoList")]/div/a[img]|id("__r_photo_img__")/ancestor::a[substring-before(substring-after(self::a/@href,"/photos/"),"-p") = substring-before(substring-after(self::a/span/img/@src,"/news/"),"-p")]',//|id("MainContent")/div[@class="pager"]/div/ul/li[contains(self::li/a/@href, substring-before(substring-after(following-sibling::li/a/@href,"/biz"),"-p"))]/following-sibling::li/a', | |
pageElement: 'id("MainContent")/*[not(self::div[@class="pager"])]', | |
// insertBefore: '', | |
exampleUrl: 'http://sankei.jp.msn.com/economy/news/110318/biz11031809380006-n1.htm http://sankei.jp.msn.com/affairs/news/110320/dst11032020090083-n1.htm', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://sankei.jp.msn.com/\\w+/(?:new|photo)s/\\d+/biz\\d+-[np]\\d', | |
nextLink: '//div[contains(@class,"ModulePhotoList")]/div/a[img]|id("MainContent")/div[@class="pager"]/div/ul/li[contains(self::li/a/@href, substring-before(substring-after(following-sibling::li/a/@href,"/biz"),"-p"))]/following-sibling::li/a', | |
pageElement: 'id("MainContent")/*[not(self::div[@class="pager"])]', | |
// insertBefore: '', | |
exampleUrl: 'http://sankei.jp.msn.com/economy/news/110318/biz11031809380006-n1.htm http://sankei.jp.msn.com/affairs/news/110320/dst11032020090083-n1.htm', | |
}, | |
*/ | |
/*{ | |
url: 'http://sankei.jp.msn.com/\\w+/(?:new|photo)s/\\d+/biz\\d+-[np]\\d', | |
nextLink: '//div[contains(@class,"ModulePhotoList")]/div/a[img]|id("MainContent")/div[@class="pager"]/div/ul/li[substring-before(substring-after(self::li/a/@href,"/biz"),"-p") = substring-before(substring-after(preceding-sibling::li/a/@href,"/biz"),"-n")]/a', | |
pageElement: 'id("MainContent")/*[not(self::div[@class="pager"])]', | |
// insertBefore: '', | |
exampleUrl: 'http://sankei.jp.msn.com/economy/news/110318/biz11031809380006-n1.htm', | |
},*/ | |
/*{ | |
url: 'http://sankei.jp.msn.com/\\w+/news/\\d+/biz\\d+-n\\d', | |
nextLink: '//div[contains(@class,"ModulePhotoList")]/div/a[img]|id("MainContent")/div/div/ul/li[substring-before(substring-after(self::li/a/@href,"/biz"),"-p") = substring-before(substring-after(preceding-sibling::li/a/@href,"/biz"),"-n")]/a', | |
pageElement: 'id("MainContent")/*[not(self::div[@class="pager"])]', | |
// insertBefore: '', | |
exampleUrl: 'http://sankei.jp.msn.com/economy/news/110318/biz11031809380006-n1.htm', | |
},*/ | |
{ | |
url: 'http://sankei.jp.msn.com/\\w+/photos/\\d+/biz\\d+-p\\d', | |
nextLink: 'id("MainContent")/div/div/ul/li[last()]/a', | |
pageElement: 'id("MainContent")', | |
// insertBefore: '', | |
exampleUrl: 'http://sankei.jp.msn.com/economy/photos/110318/biz11031813480013-p1.htm', | |
}, | |
/* | |
{ | |
url: 'http://www.4gamer.net/games/\\d+/\\w\\d+/\\d+/screenshot.html', | |
nextLink: 'id("SS_header")/following-sibling::ul[@class="thumbs"]/li[@class="select"]/following-sibling::li/a', | |
pageElement: 'id("SS_normal")/div[@class="ss_container"][a[img]]', | |
// insertBefore: '', | |
exampleUrl: 'http://www.4gamer.net/games/126/G012664/20110309094/screenshot.html?num=028', | |
}, | |
*/ | |
{ | |
url: 'http://carameldow.com/menu/archives/\\d', | |
nextLink: '//link[@rel="prev"]', | |
pageElement: 'id("innerbox")/div[@class="post" or @id="comments"]', | |
// insertBefore: '', | |
exampleUrl: 'http://carameldow.com/menu/archives/1760', | |
}, | |
{ | |
url: 'http://carameldow.com/menu/webcomic/monster-age', | |
nextLink: 'id("wide-content")/div/p/text()[(contains(.,"ページ") and contains(.,"1")) or (number(normalize-space(self::text()))>0)]/following-sibling::a', | |
pageElement: 'id("wide-content")/div/p[img]', | |
// insertBefore: '', | |
exampleUrl: 'http://carameldow.com/menu/webcomic/monster-age', | |
}, | |
{ | |
url: 'http://dsas.blog.klab.org/', | |
nextLink: 'id("articlebody")/div[@class="blogbody"]/div[@class="menu"]/a[contains(.,"前")]', | |
pageElement: 'id("articlebody")/*', | |
// insertBefore: '', | |
exampleUrl: 'http://dsas.blog.klab.org/archives/51814449.html', | |
}, | |
{ | |
url: 'http://plixi.com/\\d', | |
nextLink: 'id("results")/div[@class="paging"]/span[@class="current"]/following-sibling::span/a', | |
pageElement: 'id("results")/ul', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://plixi.com/p/\\d', | |
nextLink: 'id("next")|id("photo_nav")/a[@id="next"]', | |
pageElement: 'id("main")/*', | |
// insertBefore: '', | |
exampleUrl: 'http://plixi.com/p/85162343', | |
}, | |
{ | |
url: 'http://blog.tatsuru.com/', | |
nextLink: '//link[@rel="prev"]', | |
pageElement: 'id("alpha-inner")/*[self::div[@id] or self::h2]', | |
// insertBefore: '', | |
exampleUrl: 'http://blog.tatsuru.com/2011/03/16_1745.php', | |
}, | |
{ | |
url: 'http://takedanet.com/', | |
nextLink: 'id("alpha-inner")//p[@class="content-nav"]/a', | |
pageElement: 'id("alpha-inner")/*[self::div[@id] or self::h2]', | |
// insertBefore: '', | |
exampleUrl: 'http://takedanet.com/2011/03/post_b594.html', | |
}, | |
{ | |
url: 'http://takenami1967.blog64.fc2.com/blog-entry-\\d+.html', | |
nextLink: '//a[.="つづく"]', | |
pageElement: 'id("left")/*', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://steps.dodgson.org/', | |
nextLink: 'id("content")/div[@class="navigations"]/div[@class="adminmenu"]/span[@class="adminmenu"]/a[contains(.,"前")]', | |
pageElement: 'id("content")/*[self::div[contains(@class,"autopagerize_page_element")] or self::p[@class="message"]]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://www.toranoana.jp/info/', | |
nextLink: '//td[strong]/a[last()]', | |
pageElement: '//table[tbody/tr/td[strong]/a[last()]]/following-sibling::*[self::table or self::div][following-sibling::table[tbody/tr/td[strong]]]', | |
// insertBefore: '', | |
exampleUrl: 'http://www.toranoana.jp/info/index.html', | |
}, | |
{//archive | |
url: 'http://yaplog.jp/[^/]+/archive/$', | |
nextLink: '//td[@align="center"][table[contains(@class,"entry")]]/table/tbody/tr/td[@class="prevew"]/a[last()]', | |
pageElement: '//td[@align="center"]/table[contains(@class,"entry")]', | |
// insertBefore: '', | |
exampleUrl: 'http://yaplog.jp/amaguri-irufu/archive/', | |
}, | |
{ | |
url: 'http://yaplog.jp/[^/]+/', | |
nextLink: '//td[@align="center"][table[contains(@class,"entry")]]/table/tbody/tr/td[@class="prevew"]/a|//table[@class="range"]/tbody/tr/td[@class="page"]/a[last()]', | |
pageElement: '//td[@align="center"]/table[contains(@class,"entry")]', | |
// insertBefore: '', | |
exampleUrl: 'http://yaplog.jp/amaguri-irufu/', | |
}, | |
{ | |
url: 'http://mojix.org/\\d{4}/\\d{2}/\\d{2}/', | |
nextLink: 'id("main")/div[@class="prevnext"]/a', | |
pageElement: 'id("main")/*', | |
// insertBefore: '', | |
exampleUrl: 'http://mojix.org/2011/03/09/github-open-source', | |
}, | |
/* needs script href replace **url** | |
{ | |
url: 'http://cookpad.com/recipe/\\d', | |
nextLink: '', | |
pageElement: '', | |
// insertBefore: '', | |
exampleUrl: 'http://cookpad.com/recipe/408677', | |
}, | |
*/ | |
{ | |
url: 'http://game5.jp/blog/', | |
nextLink: '//link[@rel="prev"]|id("yui-main")/div/div/div/div[@class="navigation"]/div/a', | |
pageElement: 'id("yui-main")/div/div/div[div[@id]]/div', | |
// insertBefore: '', | |
exampleUrl: 'http://game5.jp/blog/2010/10/09/chirpuserstreamuserstream-apiが正式版になっていた件/', | |
}, | |
/* | |
{ | |
url: 'http://jigokuno.com/\\?eid=', | |
nextLink: 'id("main")/div/a[contains(.,">>")]', | |
pageElement: 'id("main")/div[@class="entry_area"]', | |
// insertBefore: '', | |
exampleUrl: 'http://jigokuno.com/?eid=1', | |
}, | |
*/ | |
{ | |
url: 'http://www.caramel-box.com/comics/', | |
nextLink: '//div[@class="Column-Right"]/div/ul/li[contains(@class,"pnl_n")]/a', | |
pageElement: '//div[@class="Column-Left"]/div', | |
// insertBefore: '', | |
exampleUrl: 'http://www.caramel-box.com/comics/', | |
}, | |
{ | |
url: 'http://www.caramel-box.com/blog/yaruki2/', | |
nextLink: '//link[@rel="prev"]', | |
pageElement: 'id("alpha-inner")/*', | |
// insertBefore: '', | |
exampleUrl: 'http://www.caramel-box.com/blog/yaruki2/2011/02/post_341.html', | |
}, | |
{ | |
url: 'http://otbk2.com/', | |
nextLink: 'id("content-navi")/span/following-sibling::a|//link[contains(@rel,"prev")]', | |
pageElement: 'id("item-main")/*', | |
// insertBefore: '', | |
exampleUrl: 'http://otbk2.com/index_2.html', | |
}, | |
{ | |
url: 'http://www.mypress.jp/v2_writers/\\w+/', | |
nextLink: '//*[self::div[@class="index"] or self::p[@class="messe"]]/b/following-sibling::a', | |
pageElement: '//div[@class="index"]/table/tbody/tr|//div[@class="text"]/div', | |
// insertBefore: '', | |
exampleUrl: 'http://www.mypress.jp/v2_writers/kamisra2/idx/?mycategory_id=46159', | |
}, | |
{ | |
url: 'http://soundcloud.com/', | |
nextLink: 'id("tracks")/div[@class="pagination"]/a[@rel="next"]', | |
pageElement: 'id("tracks")/ul', | |
// insertBefore: '', | |
exampleUrl: 'http://soundcloud.com/go-qualia/tracks', | |
}, | |
{ | |
url: 'http://karetta.jp/book-(?:cover|node)/\\w', | |
nextLink: 'id("main-pane")/table/tbody/tr/td/a[.="Next"]', | |
pageElement: 'id("main-pane")/*[self::table[not(.//*[.="Prev" or .="Next" or .="Up"])] or self::h2]', | |
// insertBefore: '', | |
exampleUrl: 'http://karetta.jp/book-cover/lua', | |
}, | |
{ | |
url: 'http://www.ymt2.net/', | |
nextLink: 'id("content")/div[contains(@class,"pagination")]/span/a[@rel="prev" or (not(@rel) and parent::span[@class="next"])]', | |
pageElement: 'id("content")/*', | |
// insertBefore: '', | |
exampleUrl: 'http://www.ymt2.net/archives/314', | |
}, | |
{ | |
url: 'http://www.blueskyonmars.com', | |
nextLink: 'id("content")/div[@class="navigation"]/div[@class="alignleft"]/a', | |
pageElement: 'id("content")/*[self::div[@id] or self:: hr]', | |
// insertBefore: '', | |
exampleUrl: 'http://www.blueskyonmars.com/2009/', | |
}, | |
{ | |
url: 'http://sakura-editor.sourceforge.net/cgi-bin/cyclamen/cyclamen.cgi', | |
nextLink: '//b/following-sibling::a|//form/a[starts-with(.,"▼次")]', | |
pageElement: '//table|//form/*[self::hr or self::table]', | |
// insertBefore: '', | |
exampleUrl: 'http://sakura-editor.sourceforge.net/cgi-bin/cyclamen/cyclamen.cgi?page=1&log=macro', | |
}, | |
{ | |
url: 'http://cotoha.jp/', | |
nextLink: 'id("flip2")/li[@class="older"]/a|id("main")/div[@class="wp-pagenavi"]/span[@class="current"]/following-sibling::a', | |
pageElement: 'id("main")/*', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://zenryokuhp.com/blog/archives/\\d{4}/\\d{2}/\\w+.php', | |
nextLink: 'id("content")/div/div/a[last()]|id("menu")/a', | |
pageElement: 'id("content")/div/*[self::h2 or self::div]|id("container")/div', | |
// insertBefore: '', | |
exampleUrl: 'http://zenryokuhp.com/blog/archives/2010/11/windows_xpwindo.php', | |
}, | |
/* | |
{ | |
url: 'http://book.akahoshitakuya.com/favorite', | |
nextLink: '//span[@class="now_page"]/following-sibling::span/a', | |
pageElement: 'id("main_left")/div[@class="inner"]/*', | |
exampleUrl: 'http://book.akahoshitakuya.com/favorite', | |
}, | |
{ | |
url: 'http://book.akahoshitakuya.com/u/\\d+/log_list', | |
nextLink: '//span[@class="now_page"]/following-sibling::span/a', | |
pageElement: 'id("main_left")/div[@class="inner"]/*', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://book.akahoshitakuya.com/bl/\\d+', | |
nextLink: '//span[@class="now_page"]/following-sibling::span/a', | |
pageElement: 'id("main_right")/div[@class="inner"]/div[@class="inner"]/div[@class="log_list_box" or @class="tr_bgs2"]', | |
exampleUrl: 'http://book.akahoshitakuya.com/bl/4062175614?t=c&p=3', | |
}, | |
*/ | |
{ | |
url: 'http://blog.livedoor.jp/[^/]+/archives/\\d+.html', | |
nextLink: 'id("blog")/div[contains(@class,"menu")]/a[@rel="prev"]', | |
pageElement: 'id("blog")/*', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://snak.tdiary.net/\\d', | |
nextLink: '//div[@class="adminmenu"]/span[@class="adminmenu"]/a[contains(@href,"snak.tdiary.net")]', | |
pageElement: '//div[contains(@class,"autopagerize_page_element")]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://gutarin.jp/', | |
nextLink: 'id("postnav")/p/a[@rel="prev" or contains(.,"Older")]', | |
pageElement: 'id("content")/*', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://webos-goodies.jp/archives/getting_started_with_webgl.html', | |
nextLink: '', | |
pageElement: '', | |
// insertBefore: '', | |
exampleUrl: 'http://webos-goodies.jp/', | |
}, | |
{//month year top category | |
url: 'http://blog.justoneplanet.info/', | |
nextLink: 'id("content")/nav[last()]/a[last()]', | |
pageElement: 'id("content")/section', | |
// insertBefore: '', | |
exampleUrl: 'http://blog.justoneplanet.info/2010/12/05/javascriptで型付の配列を扱ってみる/', | |
}, | |
{ | |
url: 'http://blog.justoneplanet.info/\\d{4}/\\d{2}/\\d{2}/', | |
nextLink: 'id("content")/nav/ul/li/a[@rel="prev"]', | |
pageElement: 'id("content")/section', | |
// insertBefore: '', | |
exampleUrl: 'http://blog.justoneplanet.info/2010/12/05/javascriptで型付の配列を扱ってみる/', | |
}, | |
// {// //a[@href="http://blog.ninja.co.jp/"] | |
// url: '^http://.+/(?:Category|Date|Entry|Page|Search|$)', | |
// nextLink: '//*[//a[@href="http://blog.ninja.co.jp/"] and (contains(" PageLinkBlock EntryInnerBlock navi page_navi entry_navi contents_10link ", concat(" ", @class, " ")) or contains(" PageLinkBlock EntryBlock prev_next NaviBlock ", concat(" ", @id, " ")))]//a[contains(text(), "次") or contains(translate(text(), "etx", "ETX"), "NEXT") or contains(text(), ">>") or contains(text(), "過去")]|id("EntryBlock")[//a[@href="http://blog.ninja.co.jp/"]]/div[@class="PageLinkBlock"]/text()[string-length(normalize-space(translate(.,"[]→","")))>1]/following-sibling::a', | |
// pageElement: 'id("EntryBlock")//div[@class="EntryInnerBlock"]/parent::*/div[@class="EntryInnerBlock" or @class="CommentBlock" or @class="TrackbackBlock" or @class="EntryCalenderBlock"] | id("content")//div[@class="entry_body"] | id("entry")//div[@class="pad"] | id("entryarea")/node()[@class!="page_navi"] | id("e-zone")/node()[@class!="PageLinkBlock"] | id("Contents")/div[@id="Left"] | id("main")/*[@class="entry_table" or @align="center"] | id("contents")/div[@class="entry"]', | |
// exampleUrl: 'http://hblo.blog.shinobi.jp/Entry/1915/' | |
// }, | |
{ | |
url:'^http://[^.]+\.blog\.shinobi\.jp/(?:Category|Date|Entry|Page|Search|$)', | |
nextLink:'//*[contains(" PageLinkBlock EntryInnerBlock navi page_navi entry_navi contents_10link ", concat(" ", @class, " ")) or contains(" PageLinkBlock EntryBlock navi prev_next NaviBlock ", concat(" ", @id, " ")) or self::p[ancestor::*/@id="contents"]]//a[contains(text(), "次") or contains(translate(text(), "entxentxENTX", "ENTXENTXENTX"), "NEXT") or contains(text(), ">>") or contains(text(), "過去") or contains(@title, "次") or contains(text(), "》") or contains(following-sibling::text()[1],"》")]|id("EntryBlock")/div[@class="PageLinkBlock"]/text()[string-length(normalize-space(translate(.,"[]→","")))>1 or number(normalize-space(translate(.,"[]→","")))>0]/following-sibling::a', | |
pageElement:'id("EntryBlock")//div[@class="EntryInnerBlock"]/parent::*/div[@class="EntryInnerBlock" or @class="CommentBlock" or @class="TrackbackBlock" or @class="EntryCalenderBlock"] | id("content")//div[@class="entry_body"] | id("entry")//div[@class="pad"] | id("entryarea")/node()[@class!="page_navi"] | id("e-zone")/node()[@class!="PageLinkBlock"] | id("Contents")/div[@id="Left"] | id("main")/*[@class="entry_table" or @align="center"] | id("contents")/div[@class="entry" or contains(" comment_area trackback ",concat(" ",@id," "))]', | |
}, | |
{ | |
url:'^http://[^.]+\.blog\.shinobi\.jp/(?:Category|Date|Entry|Page|Search|$)', | |
nextLink:'//*[contains(" PageLinkBlock EntryInnerBlock navi page_navi entry_navi contents_10link ", concat(" ", @class, " ")) or contains(" PageLinkBlock EntryBlock navi prev_next NaviBlock ", concat(" ", @id, " ")) or self::p[ancestor::*/@id="contents"]]//a[contains(text(), "次") or contains(translate(text(), "entxentxENTX", "ENTXENTXENTX"), "NEXT") or contains(text(), ">>") or contains(text(), "過去") or contains(@title, "次") or contains(text(), "》") or contains(following-sibling::text()[1],"》")]|id("EntryBlock")/div[@class="PageLinkBlock"]/text()[string-length(normalize-space(translate(.,"[]→","")))>1 or number(normalize-space(translate(.,"[]→","")))>0]/following-sibling::a', | |
pageElement:'//table/following-sibling::*[@class="tb" or self::br]', | |
exampleUrl:'http://ramee.blog.shinobi.jp/', | |
}, | |
/* | |
{ | |
url: 'http://randambutter.blog.shinobi.jp/', | |
nextLink: 'id("navi")/a[last()]|id("contents")/p[span]/a[last()]', | |
pageElement: 'id("contents")/div', | |
// insertBefore: '', | |
exampleUrl: 'http://randambutter.blog.shinobi.jp/', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://\\w+.blog.shinobi.jp/', | |
//nextLink: 'id("EntryBlock")/div[@class="PageLinkBlock"]/text()[string-length(translate(normalize-space(.),"[] →",""))>=3]/following-sibling::a', | |
nextLink: 'id("EntryBlock")/div[@class="PageLinkBlock"]/text()[string-length(normalize-space(translate(.,"[]","")))>1]/following-sibling::a', | |
pageElement: 'id("EntryBlock")/div[not(@class="PageLinkBlock" or @id="TopBlock" or @id="FooterBlock")]', | |
// insertBefore: '', | |
exampleUrl: 'http://goishi.blog.shinobi.jp', | |
}, | |
*/ | |
/* | |
{//id('EntryBlock')/x:div[5]/text()[string-length(normalize-space(translate(.,"[]"," ")))>3]/following-sibling::a | |
url: 'http://teezeit.en-grey.com/', | |
nextLink: 'id("EntryBlock")/div[@class="PageLinkBlock"]/text()[string-length(normalize-space(translate(.,"[]","")))>1]/following-sibling::a', | |
pageElement: 'id("EntryBlock")/div[@class="EntryInnerBlock" or @class="CommentBlock"]', | |
// insertBefore: '', | |
exampleUrl: 'http://teezeit.en-grey.com/Entry/38/', | |
}, | |
{ | |
url: 'http://\\w+.asablo.jp/blog/\\d{4}(?:/\\d{2})?', | |
nextLink: 'id("navi-top")/a[contains(.,">>")]', | |
pageElement: 'id("main")', | |
// insertBefore: '', | |
exampleUrl: 'http://iiyu.asablo.jp/blog/2009/09/ http://iiyu.asablo.jp/blog/2009/', | |
}, | |
*/ | |
{ | |
url: 'http://research.preferred.jp/', | |
nextLink: 'id("content")/div[@class="navigation"]/span[@class="previous-entries"]/a', | |
pageElement: 'id("content")/*', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://mono.kmc.gr.jp/~\\w+/', | |
nextLink: '//div[@class="adminmenu"]/span/a[contains(@href,"?")]', | |
pageElement: '//div[@class="calendar"]/following-sibling::*[following-sibling::div[@class="footer"]]', | |
// insertBefore: '', | |
exampleUrl: 'http://mono.kmc.gr.jp/~oxy/', | |
}, | |
{ | |
url: 'http://kzk9.net/blog/', | |
nextLink: 'id("flip2")/li[@class="older"]/a', | |
pageElement: 'id("main")/*[self::h1 or self::div]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'https://addons.mozilla.org/ja/firefox/search-tools/', | |
nextLink: '//div[@class="listing-footer"]/ol/li[@class="selected"]/following-sibling::li/a', | |
pageElement: '//div[@class="featured-inner"]/div[contains(@class,"item")]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://blog.shibu.jp/article/\\d+.html', | |
nextLink: 'id("left_side")/div[@class="navi"]/a[text()="<<"]', | |
pageElement: 'id("left_side")/*', | |
// insertBefore: '', | |
exampleUrl: 'http://blog.shibu.jp/article/43503474.html', | |
}, | |
{ | |
url: 'http://www.s-abe.or.jp/(?:activity|mailmagazine|weeklyissues)', | |
nextLink: 'id("main")/div[@class="flip"]/ul/li[@class="older"]/a', | |
pageElement: 'id("main")/*[self::div or self::h2]', | |
// insertBefore: '', | |
exampleUrl: 'http://www.s-abe.or.jp/activity http://www.s-abe.or.jp/weeklyissues/61 http://www.s-abe.or.jp/mailmagazine/2036', | |
}, | |
{ | |
url: 'http://pub.ne.jp/\\w+', | |
nextLink: 'id("menu")/a | id("page")/a[contains(text(),"次")] | //a[contains(text(),"次の") and contains(text(),"件")]', | |
pageElement: 'id("content")/div[@*="blog"]/*|(//h2[@class="date"]|//div[starts-with(@class,"cont_body")])[../div/@class="blogbody"]|//div[@class="blogbody"][../h2/@class="date"]',//'id("menu page")/parent::div | //div[contains(@class,"blogbody")]/parent::div', | |
// insertBefore: '', | |
exampleUrl: 'http://pub.ne.jp/para_shift/ http://pub.ne.jp/para_shift/?entry_id=2711189', | |
}, | |
{ | |
url: 'http://girlfriend.is-a-chef.org/upload.cgi', | |
nextLink: '//p[@class="page_list"]/em[number(text()) > 0]/following-sibling::a', | |
pageElement: '//p[@class="page_list"]/following-sibling::p[following-sibling::p[@class="page_list"]]', | |
// insertBefore: '', | |
exampleUrl: 'http://girlfriend.is-a-chef.org/upload.cgi?m=I', | |
}, | |
{ | |
url: 'http://www.ecoop.net/coop/translated/GNUMake\\d.\\d+/', | |
nextLink: '//a[.="次"]', | |
pageElement: '//hr/following-sibling::*[following-sibling::hr]', | |
// insertBefore: '', | |
exampleUrl: 'http://www.ecoop.net/coop/translated/GNUMake3.77/make_1.jp.html#SEC1', | |
}, | |
{ | |
url: 'http://fladdict.net/blog/', | |
nextLink: 'id("content")/div[@class="navigation"]/div/a', | |
pageElement: 'id("content")/*', | |
// insertBefore: '', | |
exampleUrl: 'http://fladdict.net/blog/2011/02/auto-kerning.html', | |
}, | |
{ | |
url: 'http://n-styles.com/main/archives/\\d+/\\d+/', | |
nextLink: 'id("content")/div/p/a', | |
pageElement: 'id("content")/div[@class="blog"]/*', | |
// insertBefore: '', | |
exampleUrl: 'http://n-styles.com/main/archives/2011/02/26-223000.php', | |
}, | |
{ | |
url: 'http://naglly.com', | |
nextLink: 'id("content")/div[@class="content-nav-left"]/a[contains(text(),"Prev")]|id("content")/div[@class="blog"]/div[@class="page-link"]/span[@class="current_page"]/following-sibling::a', | |
pageElement: 'id("content")/div[@class="blog"]/*', | |
// insertBefore: '', | |
exampleUrl: 'http://naglly.com/archives/2009/06/index_2.php http://naglly.com/archives/2009/05/great-programming-quotes---stack-overflow.php', | |
}, | |
/* | |
{ | |
url: 'http://jp.makezine.com/blog/', | |
nextLink: 'id("main")/p[@class="box"]/span/a[@rel="next"]|id("main")/p[@class="box"]/span/b/following-sibling::a|id("blognav")/li[@class="blognav1"]/a|//link[@rel="prev"]', | |
pageElement: 'id("main")/*', | |
// insertBefore: '', | |
exampleUrl: 'http://jp.makezine.com/blog/2011/02/open-hardware-definition-1-0-released.html', | |
}, | |
*/ | |
/* | |
{ | |
url: '^http://blog\.makezine\.com/', | |
nextLink: 'id("main")/p[@class="box"]/span/span[@class="pagenav_links"]/strong[@class="on"]/following-sibling::a[1]|id("blognav")//a[@rel="prev"]', | |
pageElement: 'id("main")/div[contains(concat(" ",@class," ")," post ") or contains(concat(" ",@class," ")," asset-meta ") or @id="disqus_thread"]', | |
exampleUrl: 'http://blog.makezine.com/', | |
}, | |
*/ | |
{ | |
url: 'http://www.nya-buro.net/', | |
nextLink: 'id("content")/div/span[contains(@class,"previous-posts")]/a|//link[@rel="prev"]', | |
pageElement: 'id("content")/div', | |
// insertBefore: '', | |
exampleUrl: 'http://www.nya-buro.net/archives/599', | |
}, | |
{ | |
url: 'http://artifact-jp.com/', | |
nextLink: 'id("content")/a[last()]|id("content")/div[@class="navigation"]/a', | |
pageElement: 'id("content")/*[self::div[not(@id="info")] or self::p or self::h2 or self::ol]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://nicopita.info/NicoPITA/', | |
nextLink: 'id("content")/div[@class="navigation"]/div[@class="alignleft"]/a', | |
pageElement: 'id("content")/div[@id]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://www.nicochart.jp/blog/', | |
nextLink: 'id("wrapper")/div[@class="blog-main"]/ul[@class="pager"]/li/a', | |
pageElement: 'id("wrapper")/div[@class="blog-main"]/*', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://blog.smartnetwork.co.jp/staff/', | |
nextLink: 'id("main")/div/span/strong/following-sibling::a', | |
pageElement: 'id("main")/table', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://www.toranoana.jp/cgi-bin/R2/allsearch.cgi', | |
nextLink: '//table[@class="FixFrame"]/following-sibling::table/tbody/tr/td[font]/following-sibling::td/a', | |
pageElement: '//table[@class="FixFrame"]/tbody/tr', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://homepage.mac.com/tuyano/NewtonScriptTutor/', | |
nextLink: '//a[text()="GO NEXT"]', | |
pageElement: '//hr/preceding-sibling::*', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://watch-dog-timer.mine.nu/review/', | |
nextLink: '//td/a[font[contains(text(),"PREV")]]', | |
pageElement: '//center/*', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: '^http://sai-zen-sen\.jp/special/takegarou/', | |
nextLink: 'id("commentGroupNav_next")/a', | |
pageElement: 'id("page-content-body")/article', | |
}, | |
{ | |
url: 'https://developer.mozilla.org/ja/XUL_Tutorial', | |
nextLink: 'id("pageText")//div[@class="prevnext"]/p/a', | |
pageElement: 'id("content-main")/article', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://yuyaillust.blog58.fc2.com/', | |
nextLink: 'id("center-box")/div[@class="pagenavi"]/div/a[last()]', | |
pageElement: 'id("center-box")/div', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://\\w+.tokyobookmark.jp/', | |
nextLink: 'id("content")/div[@class="blog"]/div[@class="menu"]/a[last()]|id("content")/div[@class="blog"]//div[@class="menu"]/a[.="前の記事"]', | |
pageElement: 'id("content")/div[@class="blog"]/*', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://monadc.com/concurentjavalist/javaconcurrent\\w+/\\d-java\\w+.html', | |
nextLink: 'id("ja-content")//ul/li[span]/following-sibling::li/strong/a', | |
pageElement: 'id("ja-content")/div[@class="article-content"]/node()[not(self::div[@class="pagenavcounter"] or descendant-or-self::div[@class="pagenavbar"])]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
/* | |
{ | |
url: 'http://morimorisozai.net/', | |
nextLink: 'id("main")/p/a[preceding-sibling::b]', | |
pageElement: 'id("main")//table', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://calil.jp/', | |
nextLink: 'id("info_bar")/following-sibling::div/span/span[@class="selected"]/following-sibling::a', | |
pageElement: 'id("info_bar")/following-sibling::ul', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
{ | |
url: 'http://www.geekpage.jp/blog/', | |
nextLink: '//div[@class="main"]/div[@class="blogpagenavi"]/ul/li[@class="blogpagecurrent"]/following-sibling::li/a', | |
pageElement: '//div[@class="main"]/*', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://www.amaph.net/', | |
nextLink: '//div[@class="com"]/table/tbody/tr/td[last()]/a[last()]', | |
pageElement: '//div[@class="com"]/div[@class="box"]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{//Church of the Flying Spaghetti Monster | |
url: 'http://www.venganza.org/', | |
nextLink: 'id("content")/div[@class="navigationbox"]/div/div[@class="alignleft"]/a', | |
pageElement: 'id("content")/div', | |
// insertBefore: '', | |
exampleUrl: 'http://www.venganza.org', | |
}, | |
{ | |
url: 'http://ofo.jp/blog.phtml', | |
nextLink: 'id("currentpage")/following-sibling::li/a', | |
pageElement: 'id("main")/*', | |
}, | |
{ | |
url: 'http://gemaga(?:-archive)?.sbcr.jp/(?:archives/)?', // \\d{4}/\\d{2}/', | |
nextLink: 'id("beta-inner")/p/a[not(text()="メイン")]|id("beta-inner")/div[last()]/a', | |
pageElement: 'id("beta-inner")/*', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://news.livedoor.com/(?:topics|article)/detail/\\d+/', | |
nextLink: 'id("content")/div/div/p[@class="more"]/a|id("content")/div[@class="article"]/div[@class="figure"]/div[@class="article-image-border"]/div/a[@onclick]', | |
pageElement: 'id("content")/div[@class="article"]/div[@class="article-body" or @class="figure"]|id("content")/div[@class="photo-detail"]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://blog.mobilehackerz.jp/', | |
nextLink: 'id("blog-pager-older-link")/a', | |
pageElement: 'id("Blog1")/div[contains(@class,"blog-posts")]/*', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://www.dmm.co.jp/(?:digital|mono)/pcgame/[^.]+/=/', | |
nextLink: 'id("headlist")/div/dl/dd/ul/li[not(a)]/following-sibling::li/a', | |
pageElement: 'id("headlist")/p', | |
// insertBefore: '', | |
exampleUrl: 'http://www.dmm.co.jp/digital/pcgame/-/jpg/=/cid=discovery_0067/num=1/ http://www.dmm.co.jp/digital/pcgame/original/suzuka/chara_01_html/=/navi=none/ http://www.dmm.co.jp/mono/pcgame/elf/debris/cg/01_html/=/navi=none/', | |
}, | |
/* | |
{ | |
url: 'http://japan.gamespot.com/(?:image/l/story_image/|\\w+/photo/)', | |
nextLink: '//div[@class="content_l"]/div[@class="slideshow"]/a[(number(substring-before(substring-after(substring-after(self::a/@href,"story_image/"),"/AI/"),".")) = number(substring-before(substring-after(substring-after(id("fancy_box")/@href,"story_image/"),"/AI/"),"."))+1) or (number(substring-before(substring-after(substring-after(self::a/@href,"story_image/"),"/AI/"),"_")) = number(substring-before(substring-after(substring-after(//div[@class="leaf_wrap"]/div//img/@src,"story_image/"),"/AI/"),"_"))+1) or ( number(substring-before(substring-after(self::a/img/@src,"/thumb"),".") ) > number(substring-before(substring-after(//div[@class="ss_count"]/text(),"中"),"枚")) )]|id("pagination")/ul/li[@class="next"]/a', | |
pageElement: '//div[@class="content_l"]/div[@class="leaf_wrap"]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://japan.gamespot.com/image/l/story_image/', | |
nextLink: '//div[@class="content_l"]/div[@class="slideshow"]/a[number(substring-before(substring-after(substring-after(self::a/@href,"story_image/"),"/AI/"),".")) = number(substring-before(substring-after(substring-after(id("fancy_box")/@href,"story_image/"),"/AI/"),"."))+1]', | |
pageElement: '//div[@class="content_l"]/div[@class="leaf_wrap"]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://japan.gamespot.com/\\w+/photo/', | |
nextLink: '//div[@class="content_l"]/div[@class="slideshow"]/a[( number(substring-before(substring-after(self::a/img/@src,"/thumb"),".") ) > number(substring-before(substring-after(//div[@class="ss_count"]/text(),"中"),"枚")) )]|id("pagination")/ul/li[@class="next"]/a', | |
pageElement: '//div[@class="content_l"]/div[@class="leaf_wrap"]', | |
// insertBefore: '', | |
exampleUrl: 'http://japan.gamespot.com/xbox360/photo/10458063/1/ http://japan.gamespot.com/xbox360/photo/10458063/9/', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://japan.gamespot.com/\\w+/photo/', | |
nextLink: '//div[@class="content_l"]/div[@class="slideshow"]/a[( number(substring-before(substring-after(self::a/img/@src,"/thumb"),".") ) > number(substring-before(substring-after(//a[@id and @title]/@href,"story_image/b"),".")) )]|id("pagination")/ul/li[@class="next"]/a', | |
pageElement: '//div[@class="content_l"]/div[@class="leaf_wrap"]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
/* | |
{ | |
url: '^http://japan\.gamespot\.com/', | |
nextLink: '//div[@class="pagination"]//a[@class="next"]|id("main_col")//div[@class="more"]/b/following-sibling::a[1]|id("pagination")/ul/li[@class="next"]/a', | |
pageElement: 'id("block_story")/*|id("main_col")//div[@class="more" and ./*]/preceding-sibling::*[not(./div[@class="tac"])]|id("main_col")/div[@class="module_wrap"]|//div[@class="content_l"]/div[@class="leaf_wrap"]|//div[@class="content_l"]/div[@class="news_list"]/*', | |
exampleUrl: 'http://japan.gamespot.com/news/story/0,3800076565,20412665,00.htm http://japan.gamespot.com/features/ http://japan.gamespot.com/common/search_result.htm?type=11&stype=all&qs=psp', | |
}, | |
*/ | |
{ | |
url: 'http://kotoripiyopiyo.com/', | |
nextLink: '//link[@rel="prev"]|id("alpha-inner")/div[@class="pagenation"]/div/span[contains(@class,"pagenation-right")]/a', | |
pageElement: 'id("alpha-inner")/div', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://blog.mobazilla.jp/', | |
nextLink: 'id("coreContent")/div[contains(@class,"pageNav")]/div[@class="prev"]/a', | |
pageElement: 'id("coreContent")/div', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://blog.n-colo.net/', | |
nextLink: 'id("main")/p/a[@rel="prev" or contains(text(),"前")]', | |
pageElement: 'id("main")/*', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
/* | |
{ | |
url: 'http://blog.alice-books.com/', | |
nextLink: '//link[@rel="prev"]|id("pagination")/a[last()]', | |
pageElement: 'id("content")/div', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://fiona.typepad.jp/blog/\\d{4}/\\d{2}/', | |
nextLink: 'id("fiona-content")/p[@class="content-nav"]//a[last()]', | |
pageElement: 'id("fiona-content")/div', | |
// insertBefore: '', | |
exampleUrl: 'http://fiona.typepad.jp/blog/2009/05/index.html http://fiona.typepad.jp/blog/2009/05/post-2cf5-1.html', | |
}, | |
*/ | |
{ | |
url: 'http://www.manga-gai.net/(?:manga(?:kasoudan)?|column)/[^/]+/(?:\\d+(?:\.\\d+|kan)?|\\w+)/\\d+.htm', | |
nextLink: '//a[img[@name="next"] or contains(text(),"NEXT")]|//div[@align="center"]/a[contains(text(),"次")]|id("originalmanga")/*[self::p[@class="manga_main"] or self::div[@id="manga_main"]]//a[img]', | |
pageElement: '//td[@valign="middle" and ((@onclick and img) or form)]/ancestor::tr[2]|id("originalmanga")/table/tbody/tr[td[a/img or h4]]|id("originalmanga")/*[@class="manga_main" or @id="manga_main" or @class="manga_last"]',//|//tr[td[@valign="top"]]', | |
// insertBefore: '', | |
exampleUrl: 'http://www.manga-gai.net/column/mangamichi/new/01.html http://www.manga-gai.net/manga/hitoke/new/0001.htm http://www.manga-gai.net/manga/watashito/new/0001.html http://www.manga-gai.net/manga/love/new/0001.htm http://www.manga-gai.net/manga/hanamura30sai/k01/01.html http://www.manga-gai.net/manga/hanamura30sai/19.5/01.html', | |
}, | |
/* | |
{ | |
url: 'http://www.furanskin.net/', | |
nextLink: 'id("content")/div//a[contains(text(),"次ページへ") or @rel="prev"]',//'id("content")/div[last()]//a[last()]|id("content")/div[@class="navigation"]/div/a[@rel="prev"]', | |
pageElement: 'id("content")/div[contains(@class,"datewhole")]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
{ | |
url: 'http://www.melonbooks.co.jp/contents/melon/melocomi/melocomi.php', | |
nextLink: '//div/a|//div/font/text()[number()>0]/following-sibling::a', | |
pageElement: '//div/preceding-sibling::*', | |
exampleUrl: 'http://www.melonbooks.co.jp/contents/melon/melocomi/melocomi.php', | |
}, | |
{ | |
url: 'http://www.melonbooks.com/', | |
nextLink: '//ul[@class="pager"]/li[contains(@class,"now_location")][not(a)]/following-sibling::li/a', | |
pageElement: '//div[@class="contents-section-inner"]/ul', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
/* | |
{ | |
url: 'http://www.melonbooks.co.jp/blogs/', | |
nextLink: 'id("content")/div/div[@class="pagenate"]/div[@class="page_next"]//a', | |
pageElement: 'id("content")/div/div[position() < last()]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
/* | |
{//難 民 チ ャ ン プ http://blog.chabudai.com/ | |
url: 'http://blog.chabudai.com/', | |
nextLink: 'id("main")/*[contains(@class,"navi")]//a[parent::li[@class="next"] or parent::div[@class="entry_navi"]]',//'id("main")/ul/li[@class="next"]/a|id("main")/div[@class="entry_navi"]/a', | |
pageElement: 'id("main")/div[contains(@class,"entry")]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
{ | |
url: 'http://www.toranoana.jp/webcomic/holic/esora/webcomic/(?:4koma/)?\\w+/(?:new|\\d+)/', | |
nextLink: '//div[@align="center" or contains(@style, "text-align: center;")]/a', | |
pageElement: '//td/div[div[@align="center" or contains(@style, "text-align: center;")]/a or div/div/form]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
//http://www.toranoana.jp/webcomic/holic/esora/webcomic/karaage/new/01.html | |
//http://www.toranoana.jp/webcomic/holic/esora/webcomic/4koma/nino/0001/index.html | |
/* pageElement test用 | |
{ | |
url: 'http://www.toranoana.jp/webcomic/holic/esora/webcomic/4koma/\\w+/\\d+/', | |
nextLink: '//div[@align="center" or contains(@style, "text-align: center;")]/a|//a[img[contains(@src,"yomu.gif")]]', | |
pageElement: '//td/div[div[@align="center" or contains(@style, "text-align: center;")][a]]|//td/node()[div/div/form or div/div/p/img[contains(@src,"tobira")] or (preceding-sibling::div/div/p/img[contains(@src,"tobira")] and position()=last())]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
/* | |
{ | |
url: '^http://(?:dl|www)\.toranoana\.jp/(?:comiholi_a|webcomic/holic)/[^/]+(?:/webcomic(?:(?:/4koma)?/[^/]+)?)?/(?:new|\\d+[^/]*|m_01|comics/summary)/', | |
//url: '^http://(?:dl|www)\.toranoana\.jp/(?:comiholi_a|webcomic/holic)/[^/]+(?:/webcomic)?/(?:\\d+|comics/summary)/', | |
nextLink: '//div[@align="center" or contains(@style, "text-align: center;")]/a', | |
pageElement: '//div[@align="center" or contains(@style, "text-align: center;")][a]', | |
exampleUrl: " | |
http://www.toranoana.jp/webcomic/holic/cherish/000/index.html | |
http://www.toranoana.jp/webcomic/holic/esora/webcomic/4koma/nino/0001/index.html | |
http://www.toranoana.jp/webcomic/holic/esora/webcomic/4koma/page/0001/01.html | |
http://www.toranoana.jp/webcomic/holic/ihoujin/m_01/index.html | |
http://www.toranoana.jp/webcomic/holic/ihoujin/comics/summary/index.html | |
^http://(?:dl|www)\.toranoana\.jp/(?:comiholi_a|webcomic/holic)/[^/]+(?:/webcomic(?:(?:/4koma)?/[^/]+)?)?/(?:new|\\d+|comics/summary)/" | |
^http://(?:dl|www)\.toranoana\.jp/(?:comiholi_a|webcomic/holic)/[^/]+(?:/webcomic(?:(?:/4koma)?/[^/]+)?)?/(?:new|\\d+|comics/summary)/ | |
}, | |
*/ | |
{ | |
url: 'http://www.osakaya.co.jp/hirobad/detail.asp', | |
nextLink: '//a[img[contains(@src,"tab35a.gif")]]', | |
pageElement: '//p[@align="CENTER"]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://www.osakaya.co.jp/shinmachinichome/naniwa/na_backs.asp', | |
nextLink: '//a[img[contains(@src,"tab1a.gif")]]', | |
pageElement: '//small/following-sibling::*', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
/* | |
{ | |
url: '^http://www2?.osakaya.co.jp/kensaku/(?:kensaku|KENSAKU)2', | |
nextLink: '//font/a[text()="次ページ"]', | |
pageElement: '//table[@width="95%"]/tbody/tr[not(@bgcolor)]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
{ | |
url: 'http://searchirc.com/', | |
nextLink: '//div[@align="center"]/b/following-sibling::a', | |
pageElement: '//div[@align="center"]/ancestor::tbody[2]/tr', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://www.comshop.ne.jp/category-\\d+/', | |
nextLink: 'id("pub_main_contents")/form/div[@class="pub_main_sort"]//span[not(a)]/following-sibling::span/a', | |
pageElement: 'id("pub_main_contents")/form/div', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
/* | |
{ | |
url:'http://rh.atlusnet.jp/blog/', | |
nextLink:'id("alpha-inner")/div[last()]/a[last()]', | |
pageElement:'id("alpha-inner")/div[position() < last()]', | |
exampleUrl:'http://rh.atlusnet.jp/blog/', | |
}, | |
*/ | |
{ | |
url: 'http://mangayomo.com/illust/', | |
nextLink: 'id("results")//a[@title="next page"]', | |
pageElement: 'id("results")/div/*[self::div[contains(@class,"global_bg_middle") or self::img[@class="global_line"]]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://www.youtube.com/(?:watch\\?|comment_servlet\\?all_comments=\\d+&)v=\\w+', | |
nextLink: '//a[@class="comments-section-see-all"][2]|id("comments-view")/div/div/div/a[last() and preceding-sibling::button]', | |
pageElement: 'id("comments-view")/div/ul', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
/* | |
{ | |
url: 'http://movapic\.com/(?:\\w+/)?pic/\\d+\\w+', | |
nextLink: 'id("imageNavi")//td[@class="preNavi"]/a', | |
pageElement: 'id("content")/div/node()[self::div[@class="picdetail"] or last()]',//insertBefore要らずの挿入位置指定 | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
{ | |
url: 'http://movapic.com/\\w+(?:/(?:with_follow|p(?:ubl)?ic)s)?', | |
nextLink: 'id("paginate")/div/a[@class="nextLink"]', | |
pageElement: 'id("content")/*', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
pageElement: '//div[contains(concat(" ",translate(@class,"OPST","opst")," ")," post ")]',//'descendant::*[.//span[@class="AUTHOR"] and .//*[contains(text(), "\u6b21\u306e\u30da\u30fc\u30b8")]][last()]/*[not(.//a[text()="\u30ed\u30b0\u30a4\u30f3"]) and following-sibling::*/descendant-or-self::*[contains(text(), "\u6b21\u306e\u30da\u30fc\u30b8")]]', | |
url: '^http://(?:blog\.excite\.co|[^.]+\.exblog)\.jp/', | |
nextLink: '//a[@class="older_page"]',//'//a[contains(text(), "\u6b21\u306e\u30da\u30fc\u30b8")]', | |
exampleUrl: 'http://staff.exblog.jp/ http://complexcat.exblog.jp/ http://complexcat.exblog.jp/9555421/ http://tark.exblog.jp/ http://tark.exblog.jp/6883090/' | |
}, | |
/* | |
{ | |
url: 'http://mblog.excite.co.jp/user/[^./]+/entry/', | |
nextLink: '//font/a[@title="Next"]|//center[2]/font/a[contains(.,"次")]', | |
pageElement: '//div[@align="center"][.//a[@title="Next" or @title="Prev"]]/following-sibling::*[following-sibling::div[@align="center"][.//a[@title="Next" or @title="Prev"]]]', | |
exampleUrl: 'http://mblog.excite.co.jp/user/tark/entry/', | |
}, | |
*/ | |
{ | |
url: 'http://mblog.excite.co.jp/user/[^./]+/entry/', | |
nextLink: '//font/a[@title="Next"]|//center[2]/font/a[contains(.,"次")]', | |
pageElement: '//div/font[following-sibling::*[1][self::br and @clear="all"]]|//div[contains(substring-before(normalize-space(//font[a[@title="Next"]]/text()),"/"),"1") or //br[@clear="all"]/following-sibling::*[1][self::font]]/font[following-sibling::*[1][self::br and @clear="all"]]/preceding-sibling::*[preceding-sibling::center]|//div[not(//font[a[@title="Next"]])]/font[following-sibling::*[1][self::br and @clear="all"]]/following-sibling::*[following-sibling::a[@name="bottom"]]|//div[@align="center"][.//a[@title="Next" or @title="Prev"]]/following-sibling::*[following-sibling::div[@align="center"][.//a[@title="Next" or @title="Prev"]]]', | |
exampleUrl: 'http://mblog.excite.co.jp/user/tark/entry/detail/?id=2689499', | |
}, | |
{ | |
url: 'http://www.excite.co.jp/News/', | |
nextLink: 'id("contents")/div[contains(@class,"pager")]/ul/li[@class="next"]/a', | |
pageElement: 'id("contents")/div[@class="newsList"]/div[@class="backnumber"]', | |
// insertBefore: '', | |
exampleUrl: 'http://www.excite.co.jp/News/reviewbook/201105/', | |
}, | |
{ | |
url: 'http://www.excite.co.jp/News/photo_news/p-\\d+/', | |
nextLink: '//link[@rel="next"]|//span[@class="nextPhoto"]/a', | |
pageElement: 'id("contents")/div[@class="inner"]//*[@class="hgroup" or @class="photoGallery" or @class="photoCaption"]', | |
// insertBefore: '', | |
exampleUrl: 'http://www.excite.co.jp/News/photo_news/p-426909/ http://www.excite.co.jp/News/photo_news/p-424245/', | |
}, | |
{ | |
url: 'http://www.excite.co.jp/News/photo_news/\\w+/', | |
nextLink: '//link[@rel="next"]', | |
pageElement: 'id("photoGenreList")', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
/* | |
{ | |
url: 'http://www.excite.co.jp/News/(?:.+/E||photo_news/p-)\\d', | |
nextLink: '//link[@rel="next"]|id("storyPager")/preceding-sibling::div[@class="thumb"]//a|id("contents")/div[@class="inner"]/div/div[@class="newsImges"]/a[( number(substring-before(substring-after(substring-after(substring-after(self::a/img/@src,"/Excite"),"/E"),"_"),"_s.")) > number(substring-before(substring-after(substring-after(substring-after(preceding-sibling::a/img/@src,"/Excite"),"/E"),"_"),"_s."))+1 ) or ( number(substring-before(substring-after(substring-after(substring-after(self::a/img/@src,"/Excite"),"/E"),"_"),"_s.")) > number(substring-before(substring-after(substring-after(substring-after(parent::div/preceding-sibling::div[@class="photoGallery"]/div[@class="mainPhoto"]/img/@src,"/Excite"),"/E"),"_"),".")) )]', | |
pageElement: 'id("storyPager")/preceding-sibling::div[@class="story"]|id("contents")/div[@class="inner"]/div[contains(concat(" ",@class," ")," section ")]//*[@class="mainPhoto" or @class="photoCaption"]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://www.excite.co.jp/News/photo_news/p-\\d+/', | |
nextLink: 'id("detail")/div[@class="inner"]/div/div[@class="newsImges"]/a[( number(substring-before(substring-after(substring-after(self::a/img/@src,"review"),"_"),"_s.")) > number(substring-before(substring-after(substring-after(preceding-sibling::a/img/@src,"review"),"_"),"_s."))+1 ) or ( number(substring-before(substring-after(substring-after(self::a/img/@src,"review"),"_"),"_s.")) > number(substring-before(substring-after(substring-after(parent::div/preceding-sibling::div[@class="newsImg"]/img/@src,"review"),"_"),".")) )]', | |
pageElement: 'id("detail")/div[@class="inner"]/div/div[@class="newsImg"]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://www.excite.co.jp/News/review\\w+/\\d+/\\w\\d+.html', | |
nextLink: '//link[@rel="next"]', | |
pageElement: 'id("storyPager")/preceding-sibling::div[@class="story"]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
{ | |
url: 'http://twitter.com/[^/]+/lists', | |
nextLink: 'id("lists_pagination")/a', | |
pageElement: 'id("lists_table")//tr', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://talestune.s53.coreserver.jp/blog/', | |
nextLink: 'id("middle-column")/div/div[@class="navigation"]/div[@class="older"]/a', | |
pageElement: 'id("middle-column")/div/div[starts-with(@id,"post-")]|id("respond commentform")', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://thesocietypages.org/socimages/', | |
nextLink: 'id("posts")/div[@class="nav-links"]/div/div[@class="previous-post-link"]/a', | |
pageElement: 'id("posts")/div', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://jp.bloguru.com/[^/]+/', | |
nextLink: 'id("component_paginator")/li[not(a)]/following-sibling::li/a', | |
pageElement: 'id("posts")/div', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: '^http://[^/.]+\.posterous\.com/', | |
nextLink: 'id("pagination")//a[@class="next_page"]', | |
pageElement: 'id("articles")/*', | |
exampleUrl: 'http://garry.posterous.com/', | |
}, | |
/* move by javascript | |
{ | |
url: 'http://headlines.yahoo.co.jp/cm/main\\?d=20111026-00000173-reu-bus_all', | |
nextLink: '', | |
pageElement: '', | |
exampleUrl: 'http://headlines.yahoo.co.jp/cm/main?d=20111026-00000173-reu-bus_all', | |
}, | |
*/ | |
{ | |
url: 'http://(?:rikunabi-next.yahoo.co.jp|next.rikunabi.com)/tech/docs/ct_s\\d+.jsp', | |
nextLink: '//div[contains(concat(" ",@class," ")," jump ")]/b/following-sibling::a', | |
pageElement: '//td/div[@class="reportset"]', | |
exampleUrl: 'http://rikunabi-next.yahoo.co.jp/tech/docs/ct_s01300.jsp?p=010 http://rikunabi-next.yahoo.co.jp/tech/docs/ct_s01300.jsp?p=028&pg=1 http://next.rikunabi.com/tech/docs/ct_s01300.jsp?p=036&__m=1', | |
}, | |
/* | |
{ | |
url: 'http://comics.yahoo.co.jp/magazine/', | |
nextLink: '//td/small/a[starts-with(.,"次の")]', | |
pageElement: '//tbody[tr/td[@background] and tr/td/small]/tr', | |
exampleUrl: '', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://comics.yahoo.co.jp/magazine/\\w+_\\d+.html', | |
nextLink: '//a[contains(text(),"次の")]', | |
pageElement: '//table/tbody/tr[td[@background="http://i.yimg.jp/images/comics/free_magazine/list_bk_t_a.gif"]]/following-sibling::tr', | |
exampleUrl: '', | |
}, | |
*/ | |
/* | |
{ | |
url: '^http://comics\.yahoo\.co\.jp/', | |
nextLink: '//td/small/a[starts-with(.,"次の")]|id("tableBody")//ul[@class="clearfix"]/li/a[starts-with(.,"次の")]', | |
pageElement: '//tbody[tr/td[@background] and tr/td/small[translate(.,"0123456789","")="月日追加"]]/tr|id("tableBody")//table/tbody/tr|//td[@bgcolor]/table[tbody/tr[td[table and small] or td[@background and img]]]', | |
exampleUrl: 'http://comics.yahoo.co.jp/magazine/blood/maxtupus01_bknum_0001.html', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://blogs.yahoo.co.jp/\\w+/archive/\\d{4}/', | |
nextLink: 'id("mainContentsArea")/div/p/b/following-sibling::a|id("mainContentsArea")/div[contains(@class,"pagingNavi3") and not(//div[contains(@class,"pagingNavi2")]//b/following-sibling::a)]/p/a', | |
pageElement: 'id("mainContentsArea")/*[self::div[contains(concat(" ",@class," ")," entry ") or contains(@class,"pagingNavi")] or self::a[@name] or self::table]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
/* | |
{ | |
url: '^http://sp\.pf\.mbga\.jp/12008305/\\?(?:[^&?]*&)*?url=http%3A%2F%2F125\.6\.169\.35%2Fidolmaster%2F', | |
nextLink: 'id("top")//a[@accesskey="#"]', | |
pageElement: 'id("top")/div[@id="pics"]/following-sibling::node()[following-sibling::div[@id="pics"]]', | |
insertBefore: 'id("top")/div[@id="pics"][ul[contains(concat(" ",@class," ")," footerArea ")]][2]', | |
exampleUrl: 'http://sp.pf.mbga.jp/12008305/?guid=ON&url=http%3A%2F%2F125.6.169.35%2Fidolmaster%2Farchive%2Findex%2F3%3Frnd%3D545478744 http://sp.pf.mbga.jp/12008305/?guid=ON&url=http%3A%2F%2F125.6.169.35%2Fidolmaster%2Farchive%2Fview%2F2000901%2F2%2F16%2F0%3Frnd%3D472449175', | |
}, | |
*/ | |
{ | |
url: 'http://yahoo-mbga.jp/group/(?:category|search|\\d+/member)', | |
nextLink: 'id("main-sec mainbox-sec")//div[@class="paging-lay"]/ul/li/a[contains(.,"次")]', | |
pageElement: 'id("main-sec mainbox-sec")//div[@class="list1-lay"]', | |
// insertBefore: '', | |
exampleUrl: 'http://yahoo-mbga.jp/group/category/2113000', | |
}, | |
{ | |
url: 'http://yahoo-mbga.jp/friend/search', | |
nextLink: 'id("main-sec")//div[@class="paging-lay"]/ul/li/a[contains(.,"次")]', | |
pageElement: 'id("main-sec")//div[@class="txt1-box"]/table', | |
// insertBefore: '', | |
exampleUrl: 'http://yahoo-mbga.jp/friend/search?nickname=a&intro=&min_age=&max_age=&sex=&pref_id=&o=&s=検索', | |
}, | |
{ | |
url: 'http://yahoo-mbga.jp/\\d+/(?:asiato|friend)', | |
nextLink: 'id("mainbox-sec asiatobox-sec")//div[@class="paging-lay"]/ul/li/a[contains(.,"次")]', | |
pageElement: 'id("mainbox-sec asiatobox-sec")//div[@class="list1-lay"]/*[self::div[@class="blk2"] or self::table]', | |
// insertBefore: '', | |
exampleUrl: 'http://yahoo-mbga.jp/46741398/friend', | |
}, | |
{ | |
url: 'http://yahoo-mbga.jp/game/', | |
nextLink: 'id("main-sec")/div[@class="paging-lay"]/ul/li/a[contains(.,"次")]', | |
pageElement: 'id("main-sec")/div[@class="txt6-box"]', | |
// insertBefore: '', | |
exampleUrl: 'http://yahoo-mbga.jp/game/weekly', | |
}, | |
/* | |
{//サークル - Yahoo!モバゲー トピック&topic一覧 | |
url: 'http://yahoo-mbga.jp/group/\\d+/topic', | |
nextLink: 'id("mainbox-sec")/div/div/div[@class="paging-lay"]/ul/li[last()]/a', | |
pageElement: 'id("mainbox-sec")/div/div[@class="crcltopiclist-lay" or @class="crcltopicdetail-lay"]/div[@class="new-topic-lay" or @class="txt1-box"]/ul', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
/* | |
{//サークル - Yahoo!モバゲー トピック | |
url: 'http://yahoo-mbga.jp/group/\\d+/topic/\\d+', | |
nextLink: 'id("mainbox-sec")/div/div/div[@class="paging-lay"]/ul/li[last()]/a', | |
pageElement: 'id("mainbox-sec")/div/div[@class="crcltopicdetail-lay"]/div[@class="txt1-box"]/ul', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{//サークル - Yahoo!モバゲー トピック一覧 | |
url: 'http://yahoo-mbga.jp/group/\\d+/topic', | |
nextLink: 'id("mainbox-sec")/div/div/div[@class="paging-lay"]/ul/li[last()]/a', | |
pageElement: 'id("mainbox-sec")/div/div[@class="crcltopiclist-lay"]/div[@class="new-topic-lay"]/ul', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
{ | |
url: 'http://blogs\.yahoo\.co\.jp/(?:FRONT/update|DIRECTORY/cat|THBLOG/top)\.html', | |
nextLink: 'id("main")//p/strong/following-sibling::a', | |
pageElement: 'id("main")/div/div[@class="generic_roundCornerMiddle"]/div/div/*[self::dl or self::div[contains(@class,RankWrap)]]', | |
// insertBefore: '', | |
exampleUrl: 'http://blogs.yahoo.co.jp/FRONT/update.html http://blogs.yahoo.co.jp/DIRECTORY/cat.html?cid=555000138 http://blogs.yahoo.co.jp/THBLOG/top.html', | |
}, | |
/* Yahoo blog とちゅう */ | |
{ | |
url: 'http://blogs.yahoo.co.jp/[^/]+/\\w+\.html', | |
nextLink: 'id("mainContentsArea")/ul[contains(@class,"pagingNavi")]/li[@class="nextEntry"]/a', | |
pageElement: 'id("mainContentsArea")/*', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://www.kotaku.jp/gallery/[^/]+.html', | |
nextLink: '//link[@rel="next"]', | |
pageElement: 'id("main")/div[@class="entry"]/div[@class="entry_body"]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://gunp.jp/archives/\\d+/\\d+/post_\\d+.html', | |
nextLink: 'id("center")/div[@class="link2"]/a', | |
pageElement: 'id("center")/*', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://kota456.blog85.fc2.com/', | |
nextLink: '//a[.="NEXT"]', | |
pageElement: 'id("main")/div[@class="main_block"]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://www.honyaclub.com/shop/goods/search.aspx', | |
nextLink: 'id("contents-inner")/div[@class="pager"]/ul/li[@class="next"]/a', | |
pageElement: 'id("contents-inner")/div[@class="search-result"]/div', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
/* 動的生成 | |
{ | |
url: 'http://kensaku.itmedia.co.jp/itmedia_plusd_mobile.html', | |
nextLink: 'id("popin_navigation")/a[@rel="next"]', | |
pageElement: 'id("popin_content_main")', | |
// insertBefore: '', | |
exampleUrl: 'http://kensaku.itmedia.co.jp/itmedia_plusd_mobile.html?q=pobox&r=reflink', | |
}, | |
*/ | |
{ | |
url: 'http://image.itmedia.co.jp/l/im/news/articles/\\d+/\\d+/\\w+\\d+.jpg', | |
nextLink: '//center//a[contains(.,"次")]', | |
pageElement: '//center[.//a[img]]/p/preceding-sibling::node()', | |
// insertBefore: '', | |
exampleUrl: 'http://image.itmedia.co.jp/l/im/news/articles/1102/28/l_sk_kddi_02.jpg', | |
}, | |
{ | |
url: 'http://www.itmedia.co.jp/news/articles/1009/07/news070(?:_\\d)?.html', | |
nextLink: 'id("next")/a', | |
pageElement: 'id("notice")/preceding-sibling::*[preceding-sibling::div[@class="ctrl"] or preceding-sibling::h5] | //div[@class="ctrl"]/following-sibling::*[following-sibling::div[@class="endkwd"]]', | |
// insertBefore: '', | |
exampleUrl: '', | |
/* 2~n-1 ctrl to ctrl | |
n ctrl to endkwd | |
*/ | |
}, | |
/* { | |
url: 'http://tweetphoto.com/\\d+', | |
nextLink: 'id("previous")/a', | |
pageElement: 'id("right")/div', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, */ | |
{ | |
url: 'https://www.aines.net/kyoto-u/students/list.php', | |
nextLink: 'id("result")/following-sibling::ul/li/strong/following-sibling::a', | |
pageElement: 'id("result")/li', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
/* | |
{ | |
url: 'http://4koma.livedoor.com/creator/work/c\\d+/w\\d+.html', | |
nextLink: 'id("nearby")/ul/li[@class="next"]/a', | |
pageElement: 'id("article")/div[@class="header"]/*[not(self::div)]|id("viewer-wrapper")/*', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
{ | |
url: 'http://homepage1.nifty.com/SiteK4/m\\d+.htm', | |
nextLink: '//a[.="Next"]', | |
pageElement: '//p[img]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://twitcomike.jp/comike/following/circle', | |
nextLink: 'id("next-page")/a', | |
pageElement: 'id("content")/div/ul/li', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://www9.atpages.jp/~mmdaccessory/uploader/index.php', | |
nextLink: '//td[@align="right"]/b/following-sibling::a', | |
pageElement: '//tr[th]/following-sibling::tr', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://kotona.bona.jp/', | |
nextLink: 'id("content")/div[@class="navigation"]/span[@class="previous-entries"]/a', | |
pageElement: 'id("content")/div[@class="post"]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://comic-amaro.com/vol\\d/browse/', | |
nextLink: '//a[contains(.//@src,"next")]', | |
pageElement: 'id("container")', | |
exampleUrl: 'http://comic-amaro.com/vol2/browse/yamada01.html http://comic-amaro.com/vol2/browse/inomoto01.html http://comic-amaro.com/vol1/browse/if04_01.html http://comic-amaro.com/vol1/browse/if01_01.html', | |
}, | |
{ | |
url: 'http://www.enterbrain.co.jp/search', | |
nextLink: '//a[@class="next"]', | |
pageElement: 'id("content")/*[self::h3 or self::table]', | |
exampleUrl: 'http://www.enterbrain.co.jp/search?sword=b&category=&x=32&y=8', | |
}, | |
{ | |
url: 'http://www.enterbrain.co.jp/product/', | |
nextLink: '//a[@class="next"]', | |
pageElement: 'id("content")/dl', | |
exampleUrl: 'http://www.enterbrain.co.jp/product/strategy_guide_book http://www.enterbrain.co.jp/product/game http://www.enterbrain.co.jp/product/pocketbook/kcg_novel', | |
}, | |
{//ファミ通文庫堂 hoka | |
url: 'http://ebten.jp/\\w+/', | |
nextLink: '//div[@class="pager_unit"]/ul/li[@class="selected"]/following-sibling::li/a', | |
pageElement: 'id("bloc_center_unit_2c")/div[contains(@class,"_category_")]', | |
exampleUrl: 'http://ebten.jp/fb/618/', | |
}, | |
{//maoyu | |
url: 'http://www.enterbrain.co.jp/magical-cute/sp/maoyu/comic/', | |
nextLink: '//a[.//@title="next"]', | |
pageElement: 'id("container")/tbody/tr[not(@align)]', | |
exampleUrl: 'http://www.enterbrain.co.jp/magical-cute/sp/maoyu/comic/00_00.html', | |
}, | |
{ | |
url: 'http://www.enterbrain.co.jp/magical-cute/sp/compre/', | |
nextLink: '//a[contains(.//@src,"next")]', | |
pageElement: '//table', | |
exampleUrl: 'http://www.enterbrain.co.jp/magical-cute/sp/compre/19a.html', | |
}, | |
{ | |
url: 'http://www.enterbrain.co.jp/magical-cute/sp/komachan/comic', | |
nextLink: '//td[@class="side"]/div[contains(a/@href,substring-before(substring-after(//td[@class="main-area2"]/div/img[contains(@src,"/comic/")]/@src,"images/comic/"),".jpg"))]/preceding-sibling::div[1]/a', | |
pageElement: '//td[@class="main-area2"]/div[contains(img/@src,"/comic/")]', | |
exampleUrl: 'http://www.enterbrain.co.jp/magical-cute/sp/komachan/comic01.html', | |
}, | |
{//Gpen | |
url: 'http://www.enterbrain.co.jp/magical-cute/sp/gpen/comic/', | |
nextLink: '//a[.//@title="next"]', | |
pageElement: 'id("container")/tbody/tr[not(@align)]', | |
exampleUrl: 'http://www.enterbrain.co.jp/magical-cute/sp/gpen/comic/05.html http://www.enterbrain.co.jp/magical-cute/sp/gpen/comic/01_01.html', | |
}, | |
/* | |
{ | |
url: 'http://www.enterbrain.co.jp/fb/pc/02sp/02', | |
nextLink: '(id("wrapper")/article|id("tab"))/map/area[contains(@href,substring(substring-after(id("contents")/img/@src,"images/"),1,6)) or contains(@href,substring(substring-after(id("contents")/nav/img/@src,"images/"),1,5))]/following-sibling::area', | |
pageElement: 'id("contents")/*', | |
exampleUrl: 'http://www.enterbrain.co.jp/fb/pc/02sp/02_1109inu/sw3-01.html http://www.enterbrain.co.jp/fb/pc/02sp/02_1109gal/sw3-1.html', | |
}, | |
*/ | |
{ | |
url: 'http://www.enterbrain.co.jp/fb/pc/02sp/02_1109g', | |
nextLink: 'id("tab")/map/area[contains(@href,substring(substring-after(id("contents")/nav//img/@src,"images/"),1,5))]/following-sibling::area', | |
pageElement: 'id("contents")/*', | |
exampleUrl: 'http://www.enterbrain.co.jp/fb/pc/02sp/02_1109gal/sw3-1.html', | |
}, | |
{ | |
url: 'http://www.enterbrain.co.jp/fb/pc/02sp/02_1109i', | |
nextLink: 'id("wrapper")/article/map/area[starts-with(@href,substring(substring-after(id("contents")/img/@src,"images/"),1,6))]/following-sibling::area', | |
pageElement: 'id("contents")/*', | |
exampleUrl: 'http://www.enterbrain.co.jp/fb/pc/02sp/02_1109inu/sw3-01.html', | |
}, | |
{ | |
url: 'http://www.enterbrain.co.jp/fb/pc/08shinkan/08images_kuchie/', | |
nextLink: '//strong/following-sibling::a', | |
pageElement: '//div/table/tbody/tr[td[div/img[@alt] or img[@alt]]]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: '^http://(?:www\.)?enterbrain\.co\.jp/fb/pc/03novels/[01]3',//[^/]*(?:text|tan\\d/)?', | |
// nextLink: '//div[@align="center" or contains(@style,"text-align: center;")]/table/tbody/tr/td[last()]/a|//div[@class="newpager"]/div[@class="new_next"]/a|//table[@class="pager"]/tbody/tr/td/a[img[@alt="next"]]', | |
nextLink: '//*[contains(@class,"pager")]//a[img[contains(@src,"03bu_ya_r.gif") or @alt="next" or @alt="次へ"]]',//id("novelcontents")/div/div/a/img[contains(@src,"03bu_ya_r.gif")] | |
pageElement: 'id("novelcontents")/*[self::table[@class="pager"] or self::div[@class="newpager"]]|//div[@align="center" or contains(@style,"text-align: center;") or contains(@style,"text-align:center;")]/*[self::table[@class="pager"] or self::div[@class="newpager"]]/following-sibling::*[following-sibling::table[@class="pager"] or following-sibling::div[@class="newpager"]]', | |
// insertBefore: '', | |
exampleUrl: 'http://www.enterbrain.co.jp/fb/pc/03novels/03b_1004bad/03b_1004bad3_text1-01.html', | |
}, | |
{ | |
url: 'http://www2.moeyo.com/img/\\d+/\\d+/\\d+/[^/]+/[^/]*(?:top|\\d+).html', | |
nextLink: 'id("content")/a[contains(.,"次")]', | |
pageElement: 'id("content")/img', | |
exampleUrl: 'http://www2.moeyo.com/img/08/12/28/3/305.html http://www2.moeyo.com/img/08/12/28/3/top.html', | |
}, | |
{ | |
url: 'http://www2.moeyo.com/img/\\d+/\\d+/\\d+/[^/]+/[^/]*(?:top|\\d+).html', | |
nextLink: 'id("imgp-img")/tbody/tr/td/a|id("imgp-top")/following-sibling::table[1]/tbody/tr/td[last()]/a', | |
pageElement: 'id("imgp-img")/tbody/tr/td/*[self::a[img] or self::img]', | |
exampleUrl: 'http://www2.moeyo.com/img/11/02/07/3/348.html http://www2.moeyo.com/img/11/02/07/3/top.html', | |
}, | |
/* フィーたん4コマ | |
{ | |
url: 'http://www\.moeyo\.com/\\d+/\\d+/_no\\d+.html', | |
nextLink: '//a[descendant::img[@src="http://www.moeyo.com/blogparts/go.gif"]]', | |
pageElement: '//table/tbody/tr', | |
exampleUrl: 'http://www.moeyo.com/2009/12/_no177.html', | |
}, | |
*/ | |
{ | |
url: 'http://(?:www.ne.jp/asahi/molmol/sky/|web1.nazca.co.jp/moltarou/parities\\d+/).+\\d+.htm', | |
nextLink: '//a[img]', | |
pageElement: '//div[@align="center"]/*', | |
// insertBefore: '', | |
exampleUrl: 'http://www.ne.jp/asahi/molmol/sky/youkaidays/youkai001/manga000.htm', | |
}, | |
{ | |
url: 'http://enokix.web.fc2.com/comic/comic\\d?_?\\d+.html', | |
nextLink: '//center/a[img]', | |
pageElement: '//center/img[contains(@src,"cmtitle")]/following-sibling::node()[following-sibling::p]', | |
// insertBefore: '', | |
exampleUrl: 'http://enokix.web.fc2.com/comic/comic001.html', | |
}, | |
{ | |
url: 'http://coldturbine.srv7.biz/\\w+[0-9_]+.html', | |
nextLink: '//a[contains(text(),"Next")]', | |
pageElement: '//div[@align="center"]/table/tbody/tr/td[@align="center"]//*', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://blog.dmm.co.jp/(?:actress|chatgirl|kouhou)/[^/]+/archives/\\d+.html', | |
nextLink: 'id("menu")//td[@valign="middle"]/a', | |
pageElement: 'id("banner")/following-sibling::div', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: '^http://(twitter\.)?yfrog\.com', | |
nextLink: 'id("main-refreshable-area")//a[@title="Older" and not(contains(@class,"invisible"))]', | |
pageElement: 'id("page-content")/div[@class="left-side"]/*', | |
// insertBefore: '', | |
exampleUrl: 'http://twitter.yfrog.com/kj73vbrlj', | |
}, | |
/* | |
{ | |
url: '^http://yfrog\.com', | |
nextLink: 'id("page-content")//a[.="Next"]', | |
pageElement: 'id("page-content")', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://yfrog.com/', | |
nextLink: 'id("page-content")/div/div/div/ul/li/a[contains(text(),"Prev")]', | |
pageElement: 'id("page-content")/div[@class="left-content"]/*', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
{ | |
url: 'http://(?:search.mag2.com/MagSearch.do|www.mag2.com/)', | |
nextLink: 'id("content")/ul/li[@class="next"]/a[@rel="next"]|id("content")/div/table//td/a[preceding-sibling::text()[string-length( normalize-space( self::text() ) ) > 3]]',//text()[normalize-space(self::text())]/following-sibling::a', | |
pageElement: 'id("mag-list")/dl', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://blog.livedoor.jp/hiyonikki/', | |
nextLink: '//div[contains(@id,"index-navigator")]/div/div/ul/li[@class="paging-next"]/a|//ul[@class="index-navigator"]/li[@class="paging-last"]/a|id("blog")/div[last()]/a[@rel="prev"]', | |
pageElement: 'id("blog")/*', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://www.vanadis-soft.com/(?:sliscy|ararpy)/diary/', | |
nextLink: 'id("content_b")/div[@class="navigation"]/div/a', | |
pageElement: 'id("content_b")/*', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://www.vanadis-soft.com/wp/', | |
nextLink: 'id("content")/div[@class="navigation"]/div/a', | |
pageElement: 'id("content")/*[self::div[@class="post"] or self::h3 or self::ol or self::form]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://www.vanadis-soft.com/knight/monster.php', | |
nextLink: 'id("main")/tbody/tr[last()]/td/table/tbody/tr[last()-1]/td/a[img[contains(@src,"next")]]|id("Map")/area', | |
pageElement: 'id("main")/tbody/tr[last()]/td/table', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://www.h0\\d.i-friends.st//?index.php', | |
nextLink: '//a[contains(.,"次")]', | |
pageElement: '//center[img]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://www.h02.i-friends.st/index.php\\?in=roripeach', | |
nextLink: '//a[text()="次→"]', | |
pageElement: '//center[img]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://www.geocities.jp/bouasan2004/sozai/right', | |
nextLink: '//div/p/a[starts-with(text(),"第")]', | |
pageElement: '//p[a[text()="【top】"]]/following-sibling::*[following-sibling::div[table]]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://moedaigaku.livedoor.biz/', | |
nextLink: '//div[contains(@id,"index-navigator")]/div/div/ul/li[@class="paging-next"]/a|//div[@class="left_big"]/div[@class="center"]/div[last()-1]/a|//ul[@class="index-navigator"]/li[@class="paging-last"]/a', | |
pageElement: '//div[@class="left_big"]/div[@class="center"]/*', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://japan.zdnet.com/', | |
nextLink: 'id("col1_inner")/div/div[@class="subCol2"]/div/div[@class="content"]/div[@class="pages"]/div/span[@class="this-page"]/following-sibling::a', | |
pageElement: 'id("col1_inner")/div/div[@class="subCol2"]/div/div[@class="content"]/ul', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
/* | |
{ | |
url: 'http://(?:search\.)?merumo.ne.jp/', | |
nextLink: '//div[@class="pages"]/ol/li[@class="pages_current"]/following-sibling::li/a', | |
pageElement: '//div[@class="genre_table"]/following-sibling::*[following-sibling::div[@align="center"]]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
{ | |
url: '^http://18plus\.blog84\.fc2\.com/', | |
nextLink: '//div[@class="main"]/div[@class="rightsub"]/div[@class="nav"]/a[last()]', | |
pageElement: '//div[@class="main"]/div[@class="rightsub"]/div[@class="article"]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
/* | |
{ | |
url: 'http://dev.rsaga.org/up/', | |
nextLink: 'id("links")/a[@class="pageall"]/following-sibling::text()[normalize-space(self::text())]/following-sibling::a', | |
pageElement: 'id("files")/tbody/tr[not(th)]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://www.tinami.com/x/interview/11/', | |
nextLink: '', | |
pageElement: '', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://www.tinami.com/x/', | |
nextLink: '//table/tbody/tr/td/a[img[@src="../img/foot_next.gif"]]', | |
pageElement: '//table/following-sibling::*[following-sibling::table[last()]]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
{ /* 砂と東のこれこた */ | |
url: 'http://www.tinami.com/x/korekota/\\d+/', | |
nextLink: '//div[@align="center"]/table/tbody/tr[last()]/td/table/tbody/tr/td/a[img[@alt="next"]]', | |
pageElement: '//div[@align="center"]/table/tbody/tr[1]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
/* 個人ページ連続表示 */ | |
{ | |
url: 'http://www.tinami.com/view/\\d+', | |
nextLink: 'id("mv")/div[last()]/a', | |
pageElement: 'id("container")/*', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
/* | |
{ | |
url: 'http://dictionary.goo.ne.jp/srch/(?:ej|j[en])/',//[^/]/m0p\\du/', | |
nextLink: 'id("incontents")/div[@class="paging"]/div/a[@title="next page"]', | |
pageElement: 'id("incontents")/dl/*', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://(?:booksl?|comic|h(?:ome|ana)|maniax|www).dlsite.com/(?:(?:booksl?|comic|h(?:ome|ana)|maniax)/)?/popup/=/file/smp\\d/product_id/', | |
nextLink: /*'id("work_sample_img")//a| next_img is not unique * /'id("page")/following-sibling::td/a', | |
pageElement: /*'id("main_inner")',// * / 'id("work_sample_img")', | |
exampleUrl: 'http://www.dlsite.com/maniax/popup/=/file/smp1/product_id/RJ081575.html http://www.dlsite.com/maniax/popup/=/file/smp1/product_id/RJ085944 http://www.dlsite.com/books/popup/=/file/smp1/product_id/BJ006086.html', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://(?:maniax|comic|booksl?|h(?:ome|ana))\.dlsite\.com/(?:work/=/|popup/=/file/smp\\d/)product_id/[BR]J\\d+', | |
nextLink: 'id("next_img samplebar1")/a', | |
pageElement: '//div[contains(@class,"infomation")][.//img]', | |
insertBefore: '//div[@class="infomation_2"]', | |
exampleUrl: '', | |
}, | |
*/ | |
{ | |
url: 'http://www.dlsite.com/maniax/circle/report/backnumber/', | |
nextLink: '//td[@class="page_no"]/ul/li[strong]/following-sibling::li/a', | |
pageElement: 'id("main_inner")/div[contains(@class,"report_list_box")]', | |
exampleUrl: 'http://www.dlsite.com/maniax/circle/report/backnumber/=/category/2 http://www.dlsite.com/maniax/circle/report/backnumber/=/category/3', | |
}, | |
{ | |
url: 'http://filespump.com/\\w+/', | |
nextLink: '//td[@class="singledownload2"]/text()/following-sibling::text()[not(a) and normalize-space(self::text())]/following-sibling::a', | |
// nextLink: '//td[@class="singledownload2"]/a[(preceding-sibling::node()[1]/self::text()[string-length(normalize-space()) > 0])]', | |
pageElement: '//tr[td[@colspan=4]]/following-sibling::tr', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://filespump.com/[^/]+\.html', | |
nextLink: '//span/strong/following-sibling::text()[not(a) and normalize-space(self::text())]/following-sibling::a', | |
pageElement: '//td[@class="text_file_name"]/../../../../../../../../../../../../table', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://anime.biglobe.ne.jp/(?:search|title/all)/', | |
nextLink: '//b[span]/following-sibling::a', | |
pageElement: 'id("rankSrchSect")/*', | |
exampleUrl: 'http://anime.biglobe.ne.jp/title/all/free/ http://anime.biglobe.ne.jp/title/all/broadcast/ http://anime.biglobe.ne.jp/search/index?q=%E3%82%B7', | |
}, | |
/* 石田とあさくら まとめ | |
{ | |
url: 'http://www5c.biglobe.ne.jp/~kurekure/isidaasakura/[iy]?\\d+.html', | |
nextLink: '//a[text()="次へ"]', | |
pageElement: '//table/tbody/tr[td[b/font or img]]', | |
// insertBefore: '', | |
exampleUrl: 'http://www5c.biglobe.ne.jp/~kurekure/isidaasakura/0001.html', | |
}, | |
*/ | |
/* GATOH.COM 賀東招二ブログ | |
{ | |
url: 'http://gatoh.com/weblog/\\d+/\\d+/', | |
nextLink: 'id("alpha-inner")/div[@class="content-nav"]/a[1]', | |
pageElement: 'id("alpha-inner")[h1]/*', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
/* 高木浩光@自宅の日記 | |
{ | |
url: 'http://takagi-hiromitsu.jp/diary/\\d+.html', | |
nextLink: '//div[@class="adminmenu"]/span/a[contains(text(),"前の日記")]', | |
pageElement: '//div[@class="day"]', | |
// insertBefore: '', | |
exampleUrl: 'http://takagi-hiromitsu.jp/diary/20100529.html', | |
}, | |
*/ | |
/* ワールド文学カップ | |
{ | |
url: 'http://bookweb\.kinokuniya\.jp/bookfair/worldliteraturecup(?:\\d+)?\.html', | |
nextLink: 'id("container")/table/tbody/tr[@class="kikakusya"]/td/div[@align="right"]/b/a[.//text()="→次へ"]', | |
pageElement: 'id("center")/../../../tr', | |
// insertBefore: '', | |
exampleUrl: 'http://bookweb.kinokuniya.jp/bookfair/worldliteraturecup.html http://bookweb.kinokuniya.jp/bookfair/worldliteraturecup02.html#1', | |
}, | |
*/ | |
/* 新刊.net | |
{ | |
url: 'http://sinkan.net/\\?action_users=true', | |
nextLink: 'id("pagelink")/span[@id="current"]/following-sibling::span/a', | |
pageElement: 'id("users_list")/*', | |
// insertBefore: '', | |
exampleUrl: 'http://sinkan.net/?action_users=true', | |
}, | |
*/ | |
{ | |
url: 'http://haki.fc2web.com/kinomayoi/ngakuen\\d+.html', | |
nextLink: '//a[text()="進む"]', | |
pageElement: '//center', | |
// insertBefore: '', | |
exampleUrl: 'http://haki.fc2web.com/kinomayoi/ngakuen1.html', | |
}, | |
{ | |
url: 'http://www.alfasystem.net/a_m/', | |
nextLink: 'id("page")/ul/li/a[text()="次のページ"]', | |
pageElement: 'id("diary")/*', | |
// insertBefore: '', | |
exampleUrl: 'http://www.alfasystem.net/a_m/diary.cgi?page=1', | |
}, | |
/* ハヤカワオンライン | |
{ | |
url: 'http://www.hayakawa-online.co.jp/product/item_search_list.php', | |
nextLink: '//table[@class="bodyS"]/tbody/tr/td[@class="titleS"]/a[contains(text(),"次")]', | |
pageElement: '//td[@width="520"]/table[@width="520"]', | |
// insertBefore: '', | |
exampleUrl: 'http://www.hayakawa-online.co.jp/product/item_search_list.php?cate_search_id=001002 http://www.hayakawa-online.co.jp/product/item_search_list.php?keyword_type=2&keyword=%BF%C0%CE%D3&x=0&y=0', | |
}, | |
*/ | |
{ | |
url: 'https://www.library.pref.kyoto.jp/winj/opac/', | |
nextLink: '//div[@class="page_shift"]/text()[number(normalize-space(.))>0 or string-length(normalize-space(.))>2]/following-sibling::a[number(.)>0]', | |
pageElement: '//div[@class="content_list"]/node()[contains(@class,"table_list") or not(self::br or normalize-space(.))]', | |
// insertBefore: '', | |
exampleUrl: 'https://www.library.pref.kyoto.jp/winj/opac/newly-list.do https://www.library.pref.kyoto.jp/winj/opac/search-standard.do?lang=ja', | |
}, | |
{ | |
url: 'http://www.shiga-pref-library.jp/d_search/lsea030/(?:lsea|LSEA)030_31.cfm', | |
nextLink: '//table[@class="PageHeadBase"]//a[text()="次のページ"]', | |
pageElement: '//table/tbody/tr[contains(@class,"ListBase")]', | |
// insertBefore: '', | |
exampleUrl: 'http://www.shiga-pref-library.jp/d_search/lsea030/LSEA030_31.cfm?key=0&start=51', | |
}, | |
{ | |
url: '^http://2d\.moe\.hm/miku/', | |
nextLink: '//p[@class="bline"]/strong/following-sibling::a', | |
pageElement: '//table/tbody/tr', | |
// insertBefore: '', | |
exampleUrl: 'http://2d.moe.hm/miku/upload.php?page=2&gal=0&mode=list&sword=&andor=', | |
}, | |
/* 勇者「断る!」 | |
{ | |
url: '^http://maouyusya2828\.web\.fc2\.com/m', | |
nextLink: 'id("footer")/ul/li/a[contains(text(),"NEXT")]', | |
pageElement: 'id("Box")/*', | |
// insertBefore: '', | |
exampleUrl: 'http://maouyusya2828.web.fc2.com/matome01.html', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://www.fakku.net/(?:manga|(?:game|video)s)/', | |
nextLink: 'id("pagination")/span/following-sibling::a', | |
pageElement: 'id("content")/*', | |
exampleUrl: 'http://www.fakku.net/manga/japanese http://www.fakku.net/videos/streaminghentai', | |
}, | |
*/ | |
{ | |
pageElement: 'id("image")/a[img]', | |
url: '^http://(?:www\.)?fakku\.net/viewonline\.php', | |
nextLink: 'id("image")/a[@title="Next Page" and img]', | |
exampleUrl: 'http://www.fakku.net/viewonline.php?id=1194&page=2', | |
comment: 'Added [@class="next_right_nav"] so that it doesnt bounce back at the last page.' | |
}, | |
{ | |
pageElement: 'id("view_topic")/tbody/tr | id("comments right")/div[contains(@class,"comment") or contains(@class,"related")]', | |
url: '^http://www\.fakku\.net/view(?:manga|topic)\.php', | |
nextLink: 'id("more_comments_pag bot_right_bot pagination")/a[contains(text(),"Next")]', | |
exampleUrl: 'http://www.fakku.net/viewmanga.php?id=3407 \r\n http://www.fakku.net/viewtopic.php?t=25646' | |
}, | |
/* | |
{ | |
url: 'http://www.fakku.net/viewonline.php', | |
nextLink: 'id("content")/a[img]',//|id("chapter_nav_top")/div[@class="right_nav"]/div/a[text()="Next"]', | |
pageElement: 'id("content")/*[self::a[img] or self::img]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
{ | |
url: '^http://www\.fakku\.net/viewforum\.php', | |
nextLink: 'id("p_right")/b/following-sibling::a', | |
pageElement: 'id("view_forum")/tbody/tr[@class="topic_row"][td[text()="Topics"]]/following-sibling::tr', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: '^http://www\.fakku\.net/manga\.php', | |
nextLink: 'id("pagination")/a[text()=">"]', | |
pageElement: 'id("content")/*', | |
exampleUrl: 'http://www.fakku.net/manga.php?select=japanese', | |
}, | |
/* | |
{ | |
url: 'http://www.scribd.com/explore', | |
nextLink: 'id("docs")/div/div/span/following-sibling::a', | |
pageElement: 'id("docs")/table/tbody/tr', | |
// insertBefore: '', | |
exampleUrl: 'http://www.scribd.com/explore/Books-Fiction/Science-Fiction-Fantasy?full=1&p=2&page=2', | |
}, | |
*/ | |
{ | |
url: 'http://www.mf-davinci.com/yoo/index.php', | |
nextLink: '//th[@class="pagenav_next"]/a', | |
pageElement: '//td[@class="middle"]/div[@class="padding"]/table[@class="contentpaneopen"]', | |
// insertBefore: '', | |
exampleUrl: 'http://www.mf-davinci.com/yoo/index.php?option=com_content&task=view&id=1880&Itemid=53', | |
}, | |
{ | |
url: 'http://www.s-graphics.co.jp/nanoelectronics/kaitai/\\w+/(index|\\d+.htm|$)', | |
nextLink: '//td[@align="right"][.//img[contains(@src,"nextbuttun_.gif")]]//a', | |
pageElement: '//tr[td/center/table[@width="475"]]', | |
// insertBefore: '', | |
exampleUrl: 'http://www.s-graphics.co.jp/nanoelectronics/kaitai/dnacom/2.htm', | |
}, | |
/* Togetter */ | |
{ | |
url: '^http://togetter\.com/(?:index|update|recent|popular|)(?:\\?page=\\d+)?$', | |
nextLink: 'id("document")/div[@class="contents"]/div[@class="left"]/div[@class="pagenation"]/a[@rel="next"]', | |
pageElement: 'id("document")/div[@class="contents"]/div[@class="left"]/div[@class="info_list_box"]/ul/li', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://www\.sa-reika\.com/',// | sareika2\.web\.fc2\.com/fc2/)', | |
nextLink: '//a[1]', | |
pageElement: '//*[following-sibling::p[a[contains(@href,"manga.htm")]] or following-sibling::a[contains(@href,"manga.htm")] ]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://[^./]+.ap.teacup.com/applet/[^/]+/image', | |
nextLink: 'id("paging")/span/following-sibling::a', | |
pageElement: 'id("main")/div[@class="image_box2"]', | |
// insertBefore: '', | |
exampleUrl: 'http://angel.ap.teacup.com/applet/scissorhands/image', | |
}, | |
{ | |
url: 'http://\\w+.teacup.com/[^/]+/bbs/', | |
nextLink: 'id("nextBtn")/a', | |
pageElement: 'id("main")/*[self::h2 or @class="image_box" or contains(@class,"text_box")]', | |
// insertBefore: '', | |
exampleUrl: 'http://8207.teacup.com/deachao/bbs/t31/l50?M=IMGDT&CID=2520&ID=1 http://8207.teacup.com/deachao/bbs/image/detail/comm_id/2519/thread_id/31/id/1/?', | |
}, | |
{ | |
url: 'http://[^./]+.ap.teacup.com/applet/[^/]+/[\\d_]+/image', | |
nextLink: '//div[@class="image_box2"]/ul/li[a[@href=substring-before(id("commform")/form/@action,"#")]]/following-sibling::li/a|id("nextBtn")[not(//div[@class="image_box2"]/ul/li[a[@href=substring-before(id("commform")/form/@action,"#")]]/following-sibling::li/a)]/a', | |
pageElement: 'id("main")/*[@class="image_box" or contains(@class,"text_box") or contains(@class,"bt_01")]|id("main")[substring(substring-after(id("commform")/form/@action,"_"),1,1)="1"]/*[self::h2 or @class="image_box2"]', | |
// insertBefore: '', | |
exampleUrl: 'http://angel.ap.teacup.com/applet/scissorhands/657_1/image', | |
}, | |
{ | |
url: 'http://[^/]+\.ap\.teacup\.com/[^/]+/(?:applet/)?', | |
nextLink: 'id("center")/div[@class="content"]/div[last()]/b/following-sibling::a', | |
pageElement: 'id("center")/div[@class="content"]/*', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://[^/]+\.ap\.teacup\.com/[^/]+/\\d+\.html', | |
nextLink: 'id("center")/div[@class="content"]/div[@class="nextpage"]/a[last()]', | |
pageElement: 'id("center")/div[@class="content"]/*', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://www.kokusho.co.jp/series/bouken\\d.htm', | |
nextLink: '//a[contains(text(),"次のページ")]', | |
pageElement: '//tr[td/table[@width="250"]]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://www\.python\.jp/Zope', | |
nextLink: '//span[@class="xsmaller"]//a', | |
pageElement: '//span[@class="xsmaller"]/parent::td/*', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://www\.python\.jp/Zope/PyLog/\\d+', | |
nextLink: '//p[@align="center"]/a[last()]', | |
pageElement: '//p[@align="center"]/parent::td/*', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://tokyo.cool.ne.jp/nasito/imascomic/imas\\d+.htm', | |
nextLink: '//a[img[contains(@src,"next.gif")]]', | |
pageElement: '//center[.//img]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://blog.goo.ne.jp/hexenritter/\\w/\\w+', | |
nextLink: 'id("mod-prev-next")//ul/li[@class="mod-pre-nex-next"]/a', | |
pageElement: 'id("mod-prev-next")/preceding-sibling::div[@class="mod-entry-set"]/div[@class="entry"]', | |
// insertBefore: '', | |
exampleUrl: 'http://blog.goo.ne.jp/hexenritter/e/3ecd505b66ca9ac6750d393ac4d2df6c http://blog.goo.ne.jp/hexenritter/e/7d3a96fa94323d4f6b1f9f4e5b57894a http://blog.goo.ne.jp/hexenritter/e/5d3870b8cf3656582934c4497a92bdcb http://blog.goo.ne.jp/hexenritter/e/c00200b4f214952e731de552690b3e9f', | |
}, | |
{ | |
url: 'http://micron02syun.web.fc2.com/COMIC/[^/]+(?:/[^/]+)?/[^/]+\\d+.html', | |
nextLink: '//p[.//img]//a', | |
pageElement: '//p[.//img]', | |
// insertBefore: '', | |
exampleUrl: 'http://micron02syun.web.fc2.com/COMIC/comic.html', | |
}, | |
/* | |
{ | |
url: '^http://blog.kusfa.jp/', | |
nextLink: '//table[starts-with(@class,"navi-")]//td[@class="pager-off"][span[number(.)>0]]/following-sibling::td/a|//td[@class="prev-article-on"]/a|id("content")/div[@class="navi"]/a[.="TOP"]/preceding-sibling::a[1]|id("content")/div[@class="navi"]/text()[(contains(.,"1") and string-length(.)>3) or number(normalize-space(translate(.,"-.","")))>0]/following-sibling::a', | |
pageElement: 'id("list-content")/div[@class="blog-list"]|id("content")/div[@class="blog" or @id="trackback" or @class="trackback-body" or @id="comments"]', | |
// insertBefore: '', | |
exampleUrl: 'http://blog.kusfa.jp/ http://blog.kusfa.jp/s/', | |
}, | |
*/ | |
{ | |
url: '^http://[^./]+\.seesaa\.net/s/', | |
nextLink: '//table[starts-with(@class,"navi-")]//td[@class="pager-off"][span[number(.)>0]]/following-sibling::td/a|//td[@class="prev-article-on"]/a', | |
pageElement: 'id("list-content")/div[@class="blog-list"]|id("content")/div[@class="blog" or @class="trackback-body" or @id="comments"]', | |
exampleUrl: 'http://info.seesaa.net/s/ http://pythonlife.seesaa.net/s/article/122626332.html', | |
}, | |
{////div[@class="navi"]/text()[translate(.,"-"," ")][normalize-space()][string-length()>1] | |
url: 'http://[^./]+.seesaa.net/', | |
nextLink: '//div[@class="navi"]/a[contains(.,">>") or (self::a[.="<<"]/@href = following-sibling::a[1]/@href)]', | |
pageElement: '//div[@class="_content_"]/div[contains(@class,"blog")]', | |
// insertBefore: '', | |
exampleUrl: 'http://pythonlife.seesaa.net/article/122626332.html', | |
}, | |
/* | |
{ | |
url: 'http://catwalknero.seesaa.net/', | |
nextLink: 'id("content")/div[@class="navi"]//a[contains(text(),"次") or text()="<<"]', | |
pageElement: 'id("content")/div[contains(@class,"blog") or @id="trackback"]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://blog.seesaa.jp/pages/my/blog/article/edit/list', | |
nextLink: 'id("main")/form/div/a[@accesskey="#"]', | |
pageElement: 'id("main")/form/form/table/tbody/tr[td[@class="list-title"]]/following-sibling::tr', | |
exampleUrl: 'http://blog.seesaa.jp/pages/my/blog/article/edit/list', | |
}, | |
*/ | |
{ | |
url: 'http://www.python.jp/doc/release/(?:tut/node\\d+|lib/[^/]+).html', | |
nextLink: '//a[@rel="next"]', | |
pageElement: '//div[@class="navigation"]/following-sibling::*[following-sibling::div[@class="navigation"]]', | |
exampleUrl: 'http://www.python.jp/doc/release/tut/node1.html', | |
}, | |
{ | |
url: 'http://www.python.jp/Zope/articles/tips/regex_howto/regex_howto_\\d', | |
nextLink: '//b/following::a', | |
pageElement: '//td[p]/*', | |
exampleUrl: 'http://www.python.jp/Zope/articles/tips/regex_howto/regex_howto_3', | |
}, | |
{ | |
url: '^http://meito\.knt\.co\.jp/[0-9]/[^/]+/[0-9]+/(?:[0-9]+\.html)?(?:#tab)?', | |
nextLink: '//div[contains(@class,"result_area")]/div[contains(@class,"result_table")]/table', | |
pageElement: '//div[contains(@class,"result_area")]/table[contains(@class,"pagenavi")]//td[contains(@align,"center")]/a[contains(text(),"次の")]', | |
// insertBefore: '', | |
exampleUrl: 'http://meito.knt.co.jp/1/cb/20703007/#tab', | |
}, | |
{ | |
url: 'http://dabr\.co\.uk/(?:user/[^/]+)?', | |
nextLink: '//p/a[text()="Older"]', | |
pageElement: '//table[@class="timeline"]/tbody/tr', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://www\.worldlingo\.com/ma/enwiki/\\w\\w/', | |
nextLink: 'id("content")/div/b/text()[not(a) and number(normalize-space(translate(self::text(), "|", " " ) )) ]/following-sibling::a', | |
pageElement: 'id("content")/table/tbody/tr[2]/td/node()', | |
// insertBefore: '', | |
exampleUrl: 'http://www.worldlingo.com/ma/enwiki/ja/PPAD_(complexity)/1', | |
}, | |
/* | |
{ | |
url: 'http://www\.geocities\.jp/asumithi/(?:[^/]+/)?\\w+\\d*\.htm', | |
nextLink: '//a[text()="次へ"]', | |
pageElement: '//*[self::p or self::center or self::hr]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
/* Lilting Channel hide3tu */ | |
{ | |
url: 'http://lilting.ch/.*', | |
nextLink: '//div[@class="navigation"]/p/a[contains(.,"Previous")]|//link[@rel="prev"]', | |
pageElement: 'id("arch_content")/div[2]/*|id("post_content")/div[1]/*', | |
// insertBefore: '', | |
exampleUrl: 'http://lilting.ch/ http://lilting.ch/2011/08 http://lilting.ch/category/events http://lilting.ch/2011/08/10/harahe-c80.html', | |
}, | |
/* | |
{ | |
url: 'http://portal.acm.org/\\w+.cfm.*', | |
nextLink: '//a[contains(text(),"next")]', | |
pageElement: '//div/table/tbody/tr[3]/td/table/tbody/tr[@valign="top"]/td/table/tbody/tr', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
{ | |
url: 'http://www.db.is.kyushu-u.ac.jp/rinkou/program/dijkstra/.*', | |
nextLink: '//a[contains(text(),"次へ")]', | |
pageElement: '//*[following-sibling::hr]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
/* Personas */ | |
{ | |
url: 'https://addons.mozilla.org/ja/firefox/personas/.*', | |
nextLink: '//div[@class="featured"]/div/ol/li[last()]/a', | |
pageElement: '//div[@class="featured"][last()]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
{ | |
url: 'http://jetpackgallery.mozillalabs.com/jetpacks.*', | |
nextLink: 'id("results")//a[contains(text(),"Next Page")]', | |
pageElement: 'id("results")', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
/* urarai | |
{ | |
url: 'http://urara.tank.jp/', | |
nextLink: '//div[@class="wp-pagenavi"]/span[@class="current"]/following-sibling::a', | |
pageElement: 'id("content")/div', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
/* Italiajin */ | |
/* | |
{ | |
url: 'http://blog.ajin.jp/', | |
nextLink: '//div[@class="wp-pagenavi"]/span[@class="current"]/following-sibling::a', | |
pageElement: '//ul[contains(@class, "posts-line")]/li', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
// updated 12/3 | |
{ | |
url: 'http://blog.ajin.jp/', | |
nextLink: '//div[@class="number"]/span[number()>0]/following-sibling::a|//div[@class="number"]/a[span[@class="next"]]|//table[@class="next-previous-link"]//a[@rel="prev"]|//div[@class="wp-pagenavi"]/span[@class="current"]/following-sibling::a|//ul/li[a[@class="currentpage"]]/following-sibling::li/a', | |
pageElement: '//div[@class="content"]/div[@class="text"][1]|//div[@class="content"][not(./div[@class="number"]) or boolean(./div[@class="number"]/span[number()=1])]/*|id("main")/div[@class="mcleft" or @class="mc" or @class="clear"]', | |
// insertBefore: '', | |
exampleUrl: 'http://blog.ajin.jp/2011/11/28/%E3%81%93%E3%81%AE%E3%83%A9%E3%82%A4%E3%83%88%E3%83%8E%E3%83%99%E3%83%AB%E3%81%8C%E3%81%99%E3%81%94%E3%81%84%EF%BC%81-2012 http://blog.ajin.jp/2011', | |
}, | |
/* | |
{ | |
url: '.', | |
nextLink: '//div[@class="wp-pagenavi"]/span[@class="current"]/following-sibling::a', | |
pageElement: 'id("content")/*', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://www.kumby.com/(?:category/)?.*', | |
nextLink: '//div[@class="navigation"]/div/a[contains(text(),"Older")]', | |
pageElement: '//div[@class="mains"]/div[contains(@class,"rpas")]', | |
// insertBefore: '', | |
exampleUrl: 'http://www.kumby.com/category/anime-movies', | |
}, | |
*/ | |
{ | |
url: '^http://mitpress\.mit\.edu/sic(?:p/full-text/book|m)/', | |
nextLink: '//div[@class="navigation"]/span/a[text()="next"]', | |
pageElement: '//div[@class="navigation"]/following-sibling::*', | |
// insertBefore: '', | |
exampleUrl: 'http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-1.html', | |
}, | |
{ | |
url: 'http://mechanics.civil.tohoku.ac.jp/soft/node\\d+.html', | |
nextLink: '//a[img[@src="./icons/next.png"]] | //b[contains(text(),"Next")]/following-sibling::a', | |
pageElement: '//b[contains(text(),"Previous")]/following-sibling::a/following-sibling::*', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
//Generated from TeX source by tex2page | |
{ | |
url: '.', | |
nextLink: '/*[contains(//comment(),"Generated from TeX source by tex2page")]//div[@class="navigation"]/span/a[contains(text()="next") or contains(text(),"Next")]', | |
pageElement: '//div[@class="navigation"]/following-sibling::*', | |
exampleUrl: 'http://mitpress.mit.edu/sicp/full-text/book/book.html', | |
}, | |
{ | |
url: 'http://www.jalecogames.co.jp/rebirth/wizmans/monster/list.html', | |
nextLink: '//table//table//table/tbody/tr/td/a[img[contains(@src,"/rebirth/img/therpg/btn_n.gif")]]', | |
pageElement: '//div[@class="contents"]/table/tbody/tr[position()>3]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
/* | |
{ | |
url: 'http://www.japan-manganews.jp/.*', | |
nextLink: 'id("contents_area")/div/div[@class="content_text"]/p/a[img]', | |
pageElement: 'id("contents_area")/div/div[@class="content_text"]/p[descendant::img]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://www.japan-manganews.jp/\\?cat', | |
nextLink: '//span[@class="current"]/following-sibling::a', | |
pageElement: 'id("arc_contents_area")/a[@name="list_bottom"]/preceding-sibling::*', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
/* | |
{ | |
url: 'http://www.tanaka-rie.com/.*', | |
nextLink: '//table//table//td[2]/table//b/a[text()="前の日記>>"]', | |
pageElement: '//table//table//td[2]/table[2<=position() and position()<=(last()-1)]', | |
// insertBefore: '', | |
exampleUrl: '', | |
}, | |
*/ | |
/* | |
{ | |
url: '^http://slashdot\.jp/(?:(?:~[^/]+|authors)/journal|journal\.pl)', | |
nextLink: '//div[contains(concat(" ", @class, " "), " journalpage ")]//a[contains(text(), "以前の")] | //div[contains(concat(" ", @class, " "), " storylinks ")]//a[not(starts-with(text(),substring(@title,0,10))) or contains(text(), "後の")]', | |
pageElement: '//div[contains(concat(" ", @class, " "), " journal ")] | id("commentwrap commentlisting")', | |
insertBefore: 'id("discussion_buttons")', | |
exampleUrl: ' http://slashdot.jp/~tach/journal/453846 http://slashdot.jp/journal.pl?op=display&uid=3 http://slashdot.jp/authors/journal/', | |
}, | |
*/ | |
{ | |
url: 'http://slashdot\.jp/(?:\\w+/[0-9/]+\.shtml|article\.pl\\?sid=[0-9/]+)', | |
nextLink: 'id("articles-suffix")/div[contains(@class,"comments-suffix-prev-next")]/ul/li[@class="start"]/span/a', | |
pageElement: 'id("article")/a[@name] | id("articles commentwrap commentlisting")|id("articles-suffix")/div', | |
// insertBefore: '', | |
exampleUrl: 'http://slashdot.jp/security/10/02/19/0134257.shtml http://slashdot.jp/article.pl?sid=10/02/19/0130243', | |
}, | |
{ | |
url: '^http://www\.tohoho-web\.com/js/.*', | |
nextLink: '//a[text()="[next]"]', | |
pageElement: '//node()[following-sibling::div[contains(text(),"Copyright")]]', | |
// insertBefore: '//hr', | |
exampleUrl: 'http://www.tohoho-web.com/js/what.htm', | |
}, | |
{ | |
url: 'http://eririnloda.bob.buttobi.net/upload.php', | |
nextLink: '//p[@class="bline"]/strong/following-sibling::a[not(contains(text(),"ALL"))]', | |
pageElement: '(//table)[2]/tbody/tr', | |
exampleUrl: 'http://eririnloda.bob.buttobi.net/upload.php', | |
}, | |
/* | |
{ | |
url: 'http://mizzo.web.fc2.com/page\\d+\.htm', | |
nextLink: '//p//a', | |
pageElement: '//p', | |
exampleUrl: 'http://mizzo.web.fc2.com/page001.htm', | |
}, | |
*/ | |
/* | |
{ | |
url: '^http://www\.(new-akiba\.com|ura-akiba\.jp)/(?:entry/[^/]+/)?archives/\\d+/\\d+/\\w+\.html', | |
nextLink: '//div[@class="kiji-column-main"]/div[@align="center"]/p/a', | |
pageElement: 'id("bannerB2")/preceding-sibling::*|id("kiji_center")/h1', | |
exampleUrl: 'http://www.new-akiba.com/archives/2010/01/twitter_26.html', | |
}, | |
*/ | |
{ | |
url: 'http://bi3.jp/diary/bn.+', | |
nextLink: '//ul[@class="ArticleNavi"]/li/a[text()="前の月"]', | |
pageElement: 'id("Contents")', | |
exampleUrl: 'http://bi3.jp/diary/bn2009_06.html', | |
}, | |
/* | |
{ | |
url: 'http://www.publickey.jp/blog/\\d+/\\w+\.html', | |
nextLink: 'id("maincol")/div[last()]/a[last()]', | |
pageElement: 'id("container")/div[not(contains(@id,"subcol"))]', | |
exampleUrl: 'http://www.publickey.jp/blog/09/post_51.html', | |
}, | |
*/ | |
{ | |
url: '^http://(?:www\.)?publickey1?\.jp/[^/]+/\\d+/\\w+\.html', | |
nextLink: 'id("maincol")/p[last()]/em[contains(.,"前の記事")]/following-sibling::a', | |
pageElement: 'id("maincol commentsandtrackbacks")/*', | |
exampleUrl: 'http://www.publickey.jp/blog/09/post_51.html', | |
}, | |
{ | |
url: '^http://(?:www\.)?publickey1?\.jp/mt/mt-search\.cgi', | |
nextLink: 'id("maincol")/div[@class="newentries"]/div/a[last()]', | |
pageElement: 'id("maincol")/div[@class="newentries"]/ul', | |
exampleUrl: 'http://www.publickey.jp/mt/mt-search.cgi?blog_id=2&tag=Web標準&limit=20', | |
}, | |
] | |
var MICROFORMAT = { | |
url: '.*', | |
nextLink: '//a[@rel="next"] | //link[@rel="next"]', | |
insertBefore: '//*[contains(@class, "autopagerize_insert_before")]', | |
pageElement: '//*[contains(@class, "autopagerize_page_element")]', | |
} | |
var AutoPager = function(info) { | |
this.pageNum = 1 | |
this.info = info | |
this.state = AUTO_START ? 'enable' : 'disable' | |
var self = this | |
var url = this.getNextURL(info.nextLink, document, location.href) | |
if ( !url ) { | |
debug("getNextURL returns null.", info.nextLink) | |
return | |
} | |
if (info.insertBefore) { | |
this.insertPoint = getFirstElementByXPath(info.insertBefore) | |
} | |
if (!this.insertPoint) { | |
var lastPageElement = getElementsByXPath(info.pageElement).pop() | |
if (lastPageElement) { | |
this.insertPoint = lastPageElement.nextSibling || | |
lastPageElement.parentNode.appendChild(document.createTextNode(' ')) | |
} | |
} | |
if (!this.insertPoint) { | |
debug("insertPoint not found.", lastPageElement, info.pageElement) | |
return | |
} | |
this.requestURL = url | |
this.loadedURLs = {} | |
this.loadedURLs[location.href] = true | |
var toggle = function() {self.stateToggle()} | |
this.toggle = toggle | |
GM_registerMenuCommand('AutoPagerize - on/off', toggle) | |
this.scroll= function() { self.onScroll() } | |
window.addEventListener("scroll", this.scroll, false) | |
if (isFirefoxExtension()) { | |
var div = document.createElement("div") | |
div.setAttribute('id', 'autopagerize_icon') | |
div.style.display = 'none' | |
document.body.appendChild(div) | |
this.icon = div | |
} | |
else if (isChromeExtension() || isSafariExtension() || isJetpack()) { | |
var frame = document.createElement('iframe') | |
frame.style.display = 'none' | |
frame.style.position = 'fixed' | |
frame.style.bottom = '0px' | |
frame.style.left = '0px' | |
frame.style.height = '25px' | |
frame.style.border = '0px' | |
frame.style.opacity = '0.8' | |
frame.style.zIndex = '1000' | |
frame.width = '100%' | |
frame.scrolling = 'no' | |
this.messageFrame = frame | |
var u = settings['extension_path'] ? | |
settings['extension_path'] + 'loading.html' : | |
'http://autopagerize.net/files/loading.html' | |
this.messageFrame.src = u | |
document.body.appendChild(frame) | |
if (isSafariExtension()) { | |
safari.self.tab.dispatchMessage('launched', {url: location.href }) | |
} | |
else if (isChromeExtension()) { | |
chrome.extension.connect({name: "launched"}).postMessage() | |
} | |
if (isJetpack()) { | |
postMessage({name: 'launched', data: location.href }) | |
} | |
} | |
else { | |
this.initIcon() | |
this.initHelp() | |
GM_addStyle('@media print{#autopagerize_icon, #autopagerize_help {display: none !important;}}') | |
GM_addStyle('hr.autopagerize_page_separator {clear: both;}') | |
this.icon.addEventListener("mouseover", function() { | |
self.viewHelp() | |
}, true) | |
} | |
var scrollHeight = getScrollHeight() | |
var bottom = getElementPosition(this.insertPoint).top || | |
this.getPageElementsBottom() || | |
(Math.round(scrollHeight * 0.8)) | |
this.remainHeight = scrollHeight - bottom + BASE_REMAIN_HEIGHT | |
this.onScroll() | |
var that = this | |
document.addEventListener('AutoPagerizeToggleRequest', function() { | |
that.toggle() | |
}, false) | |
document.addEventListener('AutoPagerizeUpdateIconRequest', function() { | |
that.updateIcon() | |
}, false) | |
that.updateIcon() | |
} | |
AutoPager.prototype.getPageElementsBottom = function() { | |
try { | |
var elem = getElementsByXPath(this.info.pageElement).pop() | |
return getElementBottom(elem) | |
} | |
catch(e) {} | |
} | |
AutoPager.prototype.initHelp = function() { | |
var helpDiv = document.createElement('div') | |
helpDiv.setAttribute('id', 'autopagerize_help') | |
helpDiv.setAttribute('style', 'padding:5px;position:fixed;' + | |
'top:-200px;right:3px;font-size:10px;' + | |
'background:#fff;color:#000;border:1px solid #ccc;' + | |
'z-index:256;text-align:left;font-weight:normal;' + | |
'line-height:120%;font-family:verdana;') | |
var toggleDiv = document.createElement('div') | |
toggleDiv.setAttribute('style', 'margin:0 0 0 50px;') | |
var a = document.createElement('a') | |
a.setAttribute('class', 'autopagerize_link') | |
a.innerHTML = 'on/off' | |
a.href = 'javascript:void(0)' | |
var self = this | |
var toggle = function() { | |
self.stateToggle() | |
helpDiv.style.top = '-200px' | |
} | |
a.addEventListener('click', toggle, false) | |
toggleDiv.appendChild(a) | |
var s = '<div style="width:100px; float:left;">' | |
for (var i in COLOR) { | |
s += '<div style="float:left;width:1em;height:1em;' + | |
'margin:0 3px;background-color:' + COLOR[i] + ';' + | |
'"></div><div style="margin:0 3px">' + i + '</div>' | |
} | |
s += '</div>' | |
var colorDiv = document.createElement('div') | |
colorDiv.innerHTML = s | |
helpDiv.appendChild(colorDiv) | |
helpDiv.appendChild(toggleDiv) | |
var versionDiv = document.createElement('div') | |
versionDiv.setAttribute('style', 'clear:both;') | |
versionDiv.innerHTML = '<a href="' + URL + | |
'">AutoPagerize</a> ver ' + VERSION | |
helpDiv.appendChild(versionDiv) | |
document.body.appendChild(helpDiv) | |
var proc = function(e) { | |
var c_style = document.defaultView.getComputedStyle(helpDiv, '') | |
var s = ['top', 'left', 'height', 'width'].map(function(i) { | |
return parseInt(c_style.getPropertyValue(i)) }) | |
if (e.clientX < s[1] || e.clientX > (s[1] + s[3] + 11) || | |
e.clientY < s[0] || e.clientY > (s[0] + s[2] + 11)) { | |
helpDiv.style.top = '-200px' | |
} | |
} | |
helpDiv.addEventListener('mouseout', proc, false) | |
this.helpLayer = helpDiv | |
GM_addStyle('#autopagerize_help a { color: #0f0; text-decoration: underline;}') | |
} | |
AutoPager.prototype.viewHelp = function() { | |
this.helpLayer.style.top = '3px' | |
} | |
AutoPager.prototype.onScroll = function() { | |
var scrollHeight = Math.max(document.documentElement.scrollHeight, | |
document.body.scrollHeight) | |
var remain = scrollHeight - window.innerHeight - window.scrollY | |
if (this.state == 'enable' && remain < this.remainHeight) { | |
this.request() | |
} | |
} | |
AutoPager.prototype.stateToggle = function() { | |
if (this.state == 'enable') { | |
this.disable() | |
} | |
else { | |
this.enable() | |
} | |
} | |
AutoPager.prototype.enable = function() { | |
this.state = 'enable' | |
this.updateIcon() | |
} | |
AutoPager.prototype.disable = function() { | |
this.state = 'disable' | |
this.updateIcon() | |
} | |
AutoPager.prototype.updateIcon = function(state) { | |
var st = state || this.state | |
var rename = {'enable': 'on', 'disable': 'off' } | |
if (rename[st]) { | |
st = rename[st] | |
} | |
var color = COLOR[st] | |
if (color) { | |
if (isFirefoxExtension()) { | |
chlorine.pageAction.update(color, location.href) | |
} | |
else if (isChromeExtension()) { | |
chrome.extension.connect({name: "pageActionChannel"}).postMessage(color) | |
} | |
else if (isSafariExtension() || isJetpack()) { | |
} | |
else { | |
this.icon.style.background = color | |
} | |
} | |
} | |
AutoPager.prototype.request = function() { | |
if (!this.requestURL || this.lastRequestURL == this.requestURL) { | |
return | |
} | |
this.lastRequestURL = this.requestURL | |
var self = this | |
var mime = 'text/html; charset=' + document.characterSet | |
var headers = {} | |
if (isSameDomain(this.requestURL)) { | |
headers.Cookie = document.cookie | |
} | |
else { | |
this.error() | |
return | |
} | |
var opt = { | |
method: 'get', | |
url: this.requestURL, | |
headers: headers, | |
overrideMimeType: mime, | |
onerror: function(res) { | |
self.error() | |
}, | |
onload: function(res) { | |
if (res.finalUrl) { | |
var url_s = res.finalUrl.split(/[\/\?]/) | |
if (url_s[0] == location.protocol && location.host == url_s[2]) { | |
self.requestLoad.apply(self, [res]) | |
return | |
} | |
} | |
self.error() | |
} | |
} | |
AutoPager.requestFilters.forEach(function(i) { i(opt) }, this) | |
if (opt.stop) { | |
this.requestURL = opt.url | |
} | |
else { | |
this.showLoading(true) | |
GM_xmlhttpRequest(opt) | |
} | |
} | |
AutoPager.prototype.showLoading = function(sw) { | |
if (sw) { | |
this.updateIcon('loading') | |
if (this.messageFrame && settings['display_message_bar']) { | |
this.messageFrame.style.display = 'block' | |
} | |
} | |
else { | |
this.updateIcon('enable') | |
if (this.messageFrame) { | |
this.messageFrame.style.display = 'none' | |
} | |
} | |
} | |
AutoPager.prototype.requestLoad = function(res) { | |
AutoPager.responseFilters.forEach(function(i) { | |
i(res, this.requestURL) | |
}, this) | |
var htmlDoc = createHTMLDocumentByString(res.responseText) | |
AutoPager.documentFilters.forEach(function(i) { | |
i(htmlDoc, this.requestURL, this.info) | |
}, this) | |
try { | |
var page = getElementsByXPath(this.info.pageElement, htmlDoc) | |
var url = this.getNextURL(this.info.nextLink, htmlDoc, this.requestURL) | |
} | |
catch(e){ | |
log(e) | |
this.error() | |
return | |
} | |
if (!page || page.length < 1 ) { | |
debug('pageElement not found.' , this.info.pageElement) | |
this.terminate() | |
return | |
} | |
if (this.loadedURLs[this.requestURL]) { | |
debug('page is already loaded.', this.requestURL, this.info.nextLink) | |
this.terminate() | |
return | |
} | |
this.loadedURLs[this.requestURL] = true | |
page = this.addPage(htmlDoc, page) | |
AutoPager.filters.forEach(function(i) { | |
i(page) | |
}) | |
this.requestURL = url | |
this.showLoading(false) | |
this.onScroll() | |
if (!url) { | |
debug('nextLink not found.', this.info.nextLink, htmlDoc) | |
this.terminate() | |
} | |
var ev = document.createEvent('Event') | |
ev.initEvent('GM_AutoPagerizeNextPageLoaded', true, false) | |
document.dispatchEvent(ev) | |
} | |
AutoPager.prototype.addPage = function(htmlDoc, page) { | |
var HTML_NS = 'http://www.w3.org/1999/xhtml' | |
var hr = document.createElementNS(HTML_NS, 'hr') | |
var p = document.createElementNS(HTML_NS, 'p') | |
hr.setAttribute('class', 'autopagerize_page_separator') | |
p.setAttribute('class', 'autopagerize_page_info') | |
var self = this | |
if (page[0] && /tr/i.test(page[0].tagName)) { | |
var insertParent = this.insertPoint.parentNode | |
var colNodes = getElementsByXPath('child::tr[1]/child::*[self::td or self::th]', insertParent) | |
var colums = 0 | |
for (var i = 0, l = colNodes.length; i < l; i++) { | |
var col = colNodes[i].getAttribute('colspan') | |
colums += parseInt(col, 10) || 1 | |
} | |
var td = document.createElement('td') | |
// td.appendChild(hr) | |
td.appendChild(p) | |
var tr = document.createElement('tr') | |
td.setAttribute('colspan', colums) | |
tr.appendChild(td) | |
insertParent.insertBefore(tr, this.insertPoint) | |
} | |
else { | |
this.insertPoint.parentNode.insertBefore(hr, this.insertPoint) | |
this.insertPoint.parentNode.insertBefore(p, this.insertPoint) | |
} | |
p.innerHTML = 'page: <a class="autopagerize_link" href="' + | |
this.requestURL.replace(/&/g, '&') + '">' + (++this.pageNum) + '</a>' | |
return page.map(function(i) { | |
var pe = document.importNode(i, true) | |
self.insertPoint.parentNode.insertBefore(pe, self.insertPoint) | |
var ev = document.createEvent('MutationEvent') | |
ev.initMutationEvent('AutoPagerize_DOMNodeInserted', true, false, | |
self.insertPoint.parentNode, null, | |
self.requestURL, null, null) | |
pe.dispatchEvent(ev) | |
return pe | |
}) | |
} | |
AutoPager.prototype.initIcon = function() { | |
var div = document.createElement("div") | |
div.setAttribute('id', 'autopagerize_icon') | |
with (div.style) { | |
fontSize = '12px' | |
position = 'fixed' | |
top = '3px' | |
right = '3px' | |
background = COLOR['on'] | |
color = '#fff' | |
width = '10px' | |
height = '10px' | |
zIndex = '255' | |
if (this.state != 'enable') { | |
background = COLOR['off'] | |
} | |
} | |
document.body.appendChild(div) | |
this.icon = div | |
} | |
AutoPager.prototype.getNextURL = function(xpath, doc, url) { | |
var nextLink = getFirstElementByXPath(xpath, doc) | |
if (nextLink) { | |
var nextValue = nextLink.getAttribute('href') || | |
nextLink.getAttribute('action') || nextLink.value | |
if (nextValue.match(/^http(s)?:/)) { | |
return nextValue | |
} | |
else { | |
var base = getFirstElementByXPath('//base[@href]', doc) | |
return resolvePath(nextValue, (base ? base.href : url)) | |
} | |
} | |
} | |
AutoPager.prototype.terminate = function() { | |
window.removeEventListener('scroll', this.scroll, false) | |
this.updateIcon('terminated') | |
var self = this | |
setTimeout(function() { | |
if (self.icon) { | |
self.icon.parentNode.removeChild(self.icon) | |
} | |
if (isSafariExtension()) { | |
var mf = self.messageFrame | |
mf.parentNode.removeChild(mf) | |
} | |
}, 1500) | |
} | |
AutoPager.prototype.error = function() { | |
this.updateIcon('error') | |
window.removeEventListener('scroll', this.scroll, false) | |
if (isSafariExtension() || isChromeExtension() || isJetpack()) { | |
var mf = this.messageFrame | |
var u = settings['extension_path'] ? | |
settings['extension_path'] + 'error.html' : | |
'http://autopagerize.net/files/error.html' | |
mf.src = u | |
mf.style.display = 'block' | |
setTimeout(function() { | |
mf.parentNode.removeChild(mf) | |
}, 3000) | |
} | |
} | |
AutoPager.documentFilters = [] | |
AutoPager.requestFilters = [] | |
AutoPager.responseFilters = [] | |
AutoPager.filters = [] | |
var parseInfo = function(str) { | |
var lines = str.split(/\r\n|\r|\n/) | |
var re = /(^[^:]*?):(.*)$/ | |
var strip = function(str) { | |
return str.replace(/^\s*/, '').replace(/\s*$/, '') | |
} | |
var info = {} | |
for (var i = 0; i < lines.length; i++) { | |
if (lines[i].match(re)) { | |
info[RegExp.$1] = strip(RegExp.$2) | |
} | |
} | |
var isValid = function(info) { | |
var infoProp = ['url', 'nextLink', 'pageElement'] | |
for (var i = 0; i < infoProp.length; i++) { | |
if (!info[infoProp[i]]) { | |
return false | |
} | |
} | |
return true | |
} | |
return isValid(info) ? info : null | |
} | |
var launchAutoPager = function(list) { | |
if (list.length == 0) { | |
return | |
} | |
for (var i = 0; i < list.length; i++) { | |
try { | |
if (ap) { | |
return | |
} | |
else if (!location.href.match(list[i].url)) { | |
} | |
else if (!getFirstElementByXPath(list[i].nextLink)) { | |
// FIXME microformats case detection. | |
// limiting greater than 12 to filter microformats like SITEINFOs. | |
if (list[i].url.length > 12 ) { | |
debug("nextLink not found.", list[i].nextLink) | |
} | |
} | |
else if (!getFirstElementByXPath(list[i].pageElement)) { | |
if (list[i].url.length > 12 ) { | |
debug("pageElement not found.", list[i].pageElement) | |
} | |
} | |
else { | |
ap = new AutoPager(list[i]) | |
return | |
} | |
} | |
catch(e) { | |
log(e) | |
continue | |
} | |
} | |
} | |
var clearCache = function() { | |
GM_setValue('cacheInfo', '') | |
} | |
var getCache = function() { | |
try { | |
return JSON.parse(GM_getValue('cacheInfo')) || {} | |
} | |
catch(e) { | |
return {} | |
} | |
} | |
var getCacheCallback = function(res, url) { | |
if (res.status != 200) { | |
return getCacheErrorCallback(url) | |
} | |
var info | |
try { | |
info = JSON.parse(res.responseText).map(function(i) { return i.data }) | |
} | |
catch(e) { | |
info = [] | |
} | |
if (info.length > 0) { | |
info = info.filter(function(i) { return ('url' in i) }) | |
info.sort(function(a, b) { return (b.url.length - a.url.length) }) | |
var r_keys = ['url', 'nextLink', 'insertBefore', 'pageElement'] | |
info = info.map(function(i) { | |
var item = {} | |
r_keys.forEach(function(key) { | |
if (i[key]) { | |
item[key] = i[key] | |
} | |
}) | |
return item | |
}) | |
cacheInfo[url] = { | |
url: url, | |
expire: new Date(new Date().getTime() + CACHE_EXPIRE), | |
info: info | |
} | |
GM_setValue('cacheInfo', JSON.stringify(cacheInfo)) | |
launchAutoPager(info) | |
} | |
else { | |
getCacheErrorCallback(url) | |
} | |
} | |
var getCacheErrorCallback = function(url) { | |
var expire = new Date(new Date().getTime() + CACHE_EXPIRE) | |
if (cacheInfo[url]) { | |
cacheInfo[url].expire = expire | |
launchAutoPager(cacheInfo[url].info) | |
} | |
else { | |
cacheInfo[url] = { | |
url: url, | |
expire: expire, | |
info: [] | |
} | |
} | |
GM_setValue('cacheInfo', cacheInfo.toSource()) | |
} | |
var linkFilter = function(doc, url) { | |
var base = getFirstElementByXPath('//base[@href]', doc) | |
var baseUrl = base ? base.href : url | |
var isSameBase = isSameBaseUrl(location.href, baseUrl) | |
if (!FORCE_TARGET_WINDOW && isSameBase) { | |
return | |
} | |
var anchors = getElementsByXPath('descendant-or-self::a[@href]', doc) | |
anchors.forEach(function(i) { | |
var attrHref = i.getAttribute('href') | |
if (FORCE_TARGET_WINDOW && !attrHref.match(/^#|^javascript:/) && | |
i.className.indexOf('autopagerize_link') < 0) { | |
i.target = '_blank' | |
} | |
if (!isSameBase && !attrHref.match(/^#|^\w+:/)) { | |
i.href = resolvePath(i.getAttribute('href'), baseUrl) | |
} | |
}) | |
if (!isSameBase) { | |
var images = getElementsByXPath('descendant-or-self::img', doc) | |
images.forEach(function(i) { | |
i.src = resolvePath(i.getAttribute('src'), baseUrl) | |
}) | |
} | |
} | |
AutoPager.documentFilters.push(linkFilter) | |
fixResolvePath() | |
if (typeof(window.AutoPagerize) == 'undefined') { | |
window.AutoPagerize = {} | |
window.AutoPagerize.addFilter = function(f) { | |
AutoPager.filters.push(f) | |
} | |
window.AutoPagerize.addDocumentFilter = function(f) { | |
AutoPager.documentFilters.push(f) | |
} | |
window.AutoPagerize.addResponseFilter = function(f) { | |
AutoPager.responseFilters.push(f) | |
} | |
window.AutoPagerize.addRequestFilter = function(f) { | |
AutoPager.requestFilters.push(f) | |
} | |
window.AutoPagerize.launchAutoPager = launchAutoPager | |
var ev = document.createEvent('Event') | |
ev.initEvent('GM_AutoPagerizeLoaded', true, false) | |
document.dispatchEvent(ev) | |
if(typeof(sharedObject) !== 'undefined' ){ | |
sharedObject.AutoPagerize = window.AutoPagerize; | |
//sharedObject = { | |
// AutoPagerize : window.AutoPagerize, | |
// __exposedProps__ : { | |
// AutoPagerize : "r" | |
// } | |
//} | |
} | |
} | |
var settings = {} | |
var ap = null | |
if (isChromeExtension()) { | |
var port = chrome.extension.connect({name: "settingsChannel"}) | |
port.postMessage() | |
port.onMessage.addListener(function(res) { | |
settings = res | |
if (res['exclude_patterns'] && isExclude(res['exclude_patterns'])) { | |
return | |
} | |
launchAutoPager(SITEINFO) | |
var port_ = chrome.extension.connect({name: "siteinfoChannel"}) | |
port_.postMessage({ url: location.href }) | |
port_.onMessage.addListener(function(res) { | |
launchAutoPager(res) | |
chrome.extension.onConnect.addListener(function(port) { | |
if (port.name == "toggleRequestChannel") { | |
port.onMessage.addListener(function(msg) { | |
if (ap) { | |
ap.toggle() | |
} | |
}) | |
} | |
}) | |
}) | |
}) | |
} | |
else if (isSafariExtension()) { | |
var re_exclude = /^(about:|safari-extension:)/ | |
if (!location.href.match(re_exclude)) { | |
safari.self.addEventListener('message', function(event) { | |
if (event.name === 'settings') { | |
settings = event.message | |
safari.self.tab.dispatchMessage('siteinfoChannel', {url: location.href }) | |
} | |
else if (event.name === 'siteinfoChannel') { | |
if (!settings['exclude_patterns'] || !isExclude(settings['exclude_patterns'])) { | |
launchAutoPager(SITEINFO) | |
launchAutoPager([MICROFORMAT]) | |
launchAutoPager(event.message) | |
} | |
} | |
else if (event.name === 'toggleRequestChannel') { | |
if (ap) { | |
ap.toggle() | |
} | |
} | |
else if (event.name === 'updateSettings') { | |
settings = event.message | |
} | |
}, false) | |
safari.self.tab.dispatchMessage('settings') | |
} | |
} | |
else if (isJetpack()) { | |
postMessage({ name: 'settings' }) | |
onMessage = function(message) { | |
if (message.name == 'siteinfo') { | |
// launchAutoPager(SITEINFO) | |
launchAutoPager(message.data) | |
} | |
else if (message.name == 'settings') { | |
settings = message.data | |
if (settings['exclude_patterns'] && isExclude(settings['exclude_patterns'])) { | |
// return | |
} | |
else { | |
postMessage({ name: 'siteinfo', url: location.href }) | |
launchAutoPager([MICROFORMAT]) | |
} | |
} | |
} | |
} | |
else { | |
launchAutoPager(SITEINFO) | |
GM_registerMenuCommand('AutoPagerize - clear cache', clearCache) | |
var cacheInfo = getCache() | |
var xhrStates = {} | |
SITEINFO_IMPORT_URLS.forEach(function(i) { | |
if (!cacheInfo[i] || new Date(cacheInfo[i].expire) < new Date()) { | |
var opt = { | |
method: 'get', | |
url: i, | |
onload: function(res) { | |
xhrStates[i] = 'loaded' | |
getCacheCallback(res, i) | |
}, | |
onerror: function(res){ | |
xhrStates[i] = 'error' | |
getCacheErrorCallback(i) | |
}, | |
} | |
xhrStates[i] = 'start' | |
GM_xmlhttpRequest(opt) | |
setTimeout(function() { | |
if (xhrStates[i] == 'start') { | |
getCacheErrorCallback(i) | |
} | |
}, XHR_TIMEOUT) | |
} | |
else { | |
launchAutoPager(cacheInfo[i].info) | |
} | |
}) | |
launchAutoPager([MICROFORMAT]) | |
} | |
// new google search sucks! | |
if (location.href.match('^http://[^.]+\.google\.(?:[^.]{2,3}\.)?[^./]{2,3}/.*(&fp=)')) { | |
var to = location.href.replace(/&fp=.*/, '') | |
// console.log([location.href, to]) | |
location.href = to | |
} | |
// utility functions. | |
function createHTMLDocumentByString(str) { | |
if (document.documentElement.nodeName != 'HTML') { | |
return new DOMParser().parseFromString(str, 'application/xhtml+xml') | |
} | |
var html = strip_html_tag(str) | |
var htmlDoc | |
try { | |
// We have to handle exceptions since Opera 9.6 throws | |
// a NOT_SUPPORTED_ERR exception for |document.cloneNode(false)| | |
// against the DOM 3 Core spec. | |
htmlDoc = document.cloneNode(false) | |
htmlDoc.appendChild(htmlDoc.importNode(document.documentElement, false)) | |
} | |
catch(e) { | |
htmlDoc = document.implementation.createDocument(null, 'html', null) | |
} | |
var fragment = createDocumentFragmentByString(html) | |
try { | |
fragment = htmlDoc.adoptNode(fragment) | |
} | |
catch(e) { | |
fragment = htmlDoc.importNode(fragment, true) | |
} | |
htmlDoc.documentElement.appendChild(fragment) | |
return htmlDoc | |
} | |
function getElementsByXPath(xpath, node) { | |
var nodesSnapshot = getXPathResult(xpath, node, | |
XPathResult.ORDERED_NODE_SNAPSHOT_TYPE) | |
var data = [] | |
for (var i = 0; i < nodesSnapshot.snapshotLength; i++) { | |
data.push(nodesSnapshot.snapshotItem(i)) | |
} | |
return data | |
} | |
function getFirstElementByXPath(xpath, node) { | |
var result = getXPathResult(xpath, node, | |
XPathResult.FIRST_ORDERED_NODE_TYPE) | |
return result.singleNodeValue | |
} | |
function getXPathResult(xpath, node, resultType) { | |
var node = node || document | |
var doc = node.ownerDocument || node | |
var resolver = doc.createNSResolver(node.documentElement || node) | |
// Use |node.lookupNamespaceURI('')| for Opera 9.5 | |
// A workaround for bugs of Node.lookupNamespaceURI(null) | |
// https://bugzilla.mozilla.org/show_bug.cgi?id=693615 | |
// https://bugzilla.mozilla.org/show_bug.cgi?id=694754 | |
var defaultNS = null | |
try { | |
// This follows the spec: http://www.w3.org/TR/DOM-Level-3-Core/namespaces-algorithms.html#lookupNamespaceURIAlgo | |
if (node.nodeType == node.DOCUMENT_NODE) { | |
defaultNS = node.documentElement.lookupNamespaceURI(null) | |
} | |
else { | |
defaultNS = node.lookupNamespaceURI(null) | |
} | |
} | |
catch(e) {} | |
if (defaultNS) { | |
const defaultPrefix = '__default__' | |
xpath = addDefaultPrefix(xpath, defaultPrefix) | |
var defaultResolver = resolver | |
resolver = function (prefix) { | |
return (prefix == defaultPrefix) | |
? defaultNS : defaultResolver.lookupNamespaceURI(prefix) | |
} | |
} | |
return doc.evaluate(xpath, node, resolver, resultType, null) | |
} | |
function addDefaultPrefix(xpath, prefix) { | |
const tokenPattern = /([A-Za-z_\u00c0-\ufffd][\w\-.\u00b7-\ufffd]*|\*)\s*(::?|\()?|(".*?"|'.*?'|\d+(?:\.\d*)?|\.(?:\.|\d+)?|[\)\]])|(\/\/?|!=|[<>]=?|[\(\[|,=+-])|([@$])/g | |
const TERM = 1, OPERATOR = 2, MODIFIER = 3 | |
var tokenType = OPERATOR | |
prefix += ':' | |
function replacer(token, identifier, suffix, term, operator, modifier) { | |
if (suffix) { | |
tokenType = | |
(suffix == ':' || (suffix == '::' && | |
(identifier == 'attribute' || identifier == 'namespace'))) | |
? MODIFIER : OPERATOR | |
} | |
else if (identifier) { | |
if (tokenType == OPERATOR && identifier != '*') { | |
token = prefix + token | |
} | |
tokenType = (tokenType == TERM) ? OPERATOR : TERM | |
} | |
else { | |
tokenType = term ? TERM : operator ? OPERATOR : MODIFIER | |
} | |
return token | |
} | |
return xpath.replace(tokenPattern, replacer) | |
} | |
function createDocumentFragmentByString(str) { | |
var range = document.createRange() | |
range.setStartAfter(document.body) | |
return range.createContextualFragment(str) | |
} | |
function log(message) { | |
if (typeof console == 'object') { | |
console.log(message) | |
} | |
else { | |
GM_log(message) | |
} | |
} | |
function debug() { | |
if ( typeof DEBUG != 'undefined' && DEBUG ) { | |
if (console.log.apply) { | |
console.log.apply(console, arguments) | |
} | |
else { | |
Function.prototype.apply.apply(console.log, [console, arguments]) | |
} | |
} | |
} | |
function getElementPosition(elem) { | |
var offsetTrail = elem | |
var offsetLeft = 0 | |
var offsetTop = 0 | |
while (offsetTrail) { | |
offsetLeft += offsetTrail.offsetLeft | |
offsetTop += offsetTrail.offsetTop | |
offsetTrail = offsetTrail.offsetParent | |
} | |
offsetTop = offsetTop || null | |
offsetLeft = offsetLeft || null | |
return {left: offsetLeft, top: offsetTop} | |
} | |
function getElementBottom(elem) { | |
var c_style = document.defaultView.getComputedStyle(elem, '') | |
var height = 0 | |
var prop = ['height', 'borderTopWidth', 'borderBottomWidth', | |
'paddingTop', 'paddingBottom', | |
'marginTop', 'marginBottom'] | |
prop.forEach(function(i) { | |
var h = parseInt(c_style[i]) | |
if (typeof h == 'number') { | |
height += h | |
} | |
}) | |
var top = getElementPosition(elem).top | |
return top ? (top + height) : null | |
} | |
function getScrollHeight() { | |
return Math.max(document.documentElement.scrollHeight, | |
document.body.scrollHeight) | |
} | |
function isSameDomain(url) { | |
if (url.match(/^\w+:/)) { | |
var url_s = url.split(/[\/\?]/) | |
return url_s[0] == location.protocol && location.host == url_s[2] | |
} | |
else { | |
return true | |
} | |
} | |
function isSameBaseUrl(urlA, urlB) { | |
return (urlA.replace(/[^/]+$/, '') == urlB.replace(/[^/]+$/, '')) | |
} | |
function resolvePath(path, base) { | |
if (path.match(/^https?:\/\//)) { | |
return path | |
} | |
if (path.match(/^\?/)) { | |
return base.replace(/\?.+$/, '') + path; | |
} | |
if (path.match(/^[^\/]/)) { | |
return base.replace(/[^/]+$/, '') + path | |
} | |
else { | |
return base.replace(/([^/]+:\/\/[^/]+)\/.*/, '\$1') + path | |
} | |
} | |
function fixResolvePath() { | |
if (resolvePath('', 'http://resolve.test/') == 'http://resolve.test/') { | |
return | |
} | |
// A workaround for WebKit and Mozilla 1.9.2a1pre, | |
// which don't support XML Base in HTML. | |
// https://bugs.webkit.org/show_bug.cgi?id=17423 | |
// https://bugzilla.mozilla.org/show_bug.cgi?id=505783 | |
var XML_NS = 'http://www.w3.org/XML/1998/namespace' | |
var baseElement = document.createElementNS(null, 'base') | |
var pathElement = document.createElementNS(null, 'path') | |
baseElement.appendChild(pathElement) | |
resolvePath = function resolvePath_workaround(path, base) { | |
baseElement.setAttributeNS(XML_NS, 'xml:base', base) | |
pathElement.setAttributeNS(XML_NS, 'xml:base', path) | |
return pathElement.baseURI | |
} | |
} | |
function strip_html_tag(str) { | |
var chunks = str.split(/(<html(?:[ \t\r\n][^>]*)?>)/) | |
if (chunks.length >= 3) { | |
chunks.splice(0, 2) | |
} | |
str = chunks.join('') | |
chunks = str.split(/(<\/html[ \t\r\n]*>)/) | |
if (chunks.length >= 3) { | |
chunks.splice(chunks.length - 2) | |
} | |
return chunks.join('') | |
} | |
function getPref(key, defaultValue) { | |
var value = GM_getValue(key) | |
return (typeof value == 'undefined') ? defaultValue : value | |
} | |
function wildcard2regep(str) { | |
return '^' + str.replace(/([-()\[\]{}+?.$\^|,:#<!\\])/g, '\\$1').replace(/\x08/g, '\\x08').replace(/\*/g, '.*') | |
} | |
function isExclude(patterns) { | |
var rr = /^\/(.+)\/$/ | |
var eps = (patterns || '').split(/[\r\n ]+/) | |
for (var i = 0; i < eps.length; i++) { | |
var reg = null | |
if (rr.test(eps[i])) { | |
reg = eps[i].match(rr)[1] | |
} | |
else { | |
reg = wildcard2regep(eps[i]) | |
} | |
if (location.href.match(reg)) { | |
return true | |
} | |
} | |
return false | |
} | |
// obsolete | |
function isFirefoxExtension() { | |
return (typeof chlorine == 'object') | |
} | |
function isChromeExtension() { | |
return (typeof chrome == 'object') && | |
(typeof chrome.extension == 'object') | |
} | |
function isSafariExtension() { | |
return (typeof safari == 'object') && | |
(typeof safari.extension == 'object') | |
} | |
function isGreasemonkey() { | |
return (typeof GM_log == 'function') | |
} | |
function isJetpack() { | |
// isFirefoxExtension is obsolete | |
return (!isGreasemonkey() && !isSafariExtension() && | |
!isChromeExtension() && !isFirefoxExtension()) | |
} | |
function gmCompatible() { | |
GM_registerMenuCommand = function() {} | |
GM_setValue = function() {} | |
GM_getValue = function() {} | |
GM_addStyle = function() {} | |
uneval = function() {} | |
fixResolvePath = function() {} | |
resolvePath = function (path, base) { return path } | |
if (isChromeExtension() || isSafariExtension()) { | |
createHTMLDocumentByString = function(str) { | |
if (document.documentElement.nodeName != 'HTML') { | |
return new DOMParser().parseFromString(str, 'application/xhtml+xml') | |
} | |
// FIXME | |
var html = str.replace(/<script(?:[ \t\r\n][^>]*)?>[\S\s]*?<\/script[ \t\r\n]*>|<\/?(?:i?frame|html|script|object)(?:[ \t\r\n][^<>]*)?>/gi, ' ') | |
var htmlDoc = document.implementation.createHTMLDocument ? | |
document.implementation.createHTMLDocument('apfc') : | |
document.implementation.createDocument(null, 'html', null) | |
var range = document.createRange() | |
range.selectNodeContents(document.documentElement) | |
htmlDoc.documentElement.appendChild(range.createContextualFragment(html)) | |
return htmlDoc | |
} | |
} | |
return true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment