|
1693 | 1693 | }, |
1694 | 1694 | "学犀牛 - 帖子列表": { |
1695 | 1695 | "host": ["www.xuexiniu.com","bbs.xuexiniu.com"], |
1696 | | - "url": "if (fun.getCSS('body#nv_forum.pg_forumdisplay') && fun.getCSS('ul.waterfall')) return true", |
| 1696 | + "url": "return (fun.getCSS('body#nv_forum.pg_forumdisplay') && fun.getCSS('ul.waterfall'))", |
1697 | 1697 | "pager": { |
1698 | 1698 | "nextL": "a.nxt:not([href*='javascript'])", |
1699 | 1699 | "pageE": ".waterfall>li", |
|
1702 | 1702 | }, |
1703 | 1703 | "学犀牛 - 帖子列表2": { |
1704 | 1704 | "host": ["www.xuexiniu.com","bbs.xuexiniu.com"], |
1705 | | - "url": "if (fun.getCSS('body#nv_forum.pg_forumdisplay')) return true", |
| 1705 | + "url": "return fun.getCSS('body#nv_forum.pg_forumdisplay')", |
1706 | 1706 | "history": false, |
1707 | 1707 | "pager": { |
1708 | 1708 | "nextL": "a.nxt:not([href^='javascript']) ,a.next:not([href^='javascript'])", |
|
1712 | 1712 | }, |
1713 | 1713 | "学犀牛 - 帖子内": { |
1714 | 1714 | "host": ["www.xuexiniu.com","bbs.xuexiniu.com"], |
1715 | | - "url": "if (fun.getCSS('body#nv_forum.pg_viewthread')) return true", |
| 1715 | + "url": "return fun.getCSS('body#nv_forum.pg_viewthread')", |
1716 | 1716 | "thread": true, |
1717 | 1717 | "pager": { |
1718 | 1718 | "nextL": "a.nxt:not([href*='javascript'])", |
|
1801 | 1801 | }, |
1802 | 1802 | "3DM - 分类页": { |
1803 | 1803 | "host": "www.3dmgame.com", |
1804 | | - "url": "if (fun.getCSS('.Llist_b>div.lis')) return true", |
| 1804 | + "url": "return fun.getCSS('.Llist_b>div.lis')", |
1805 | 1805 | "pager": { |
1806 | 1806 | "nextL": "li.next>a", |
1807 | 1807 | "pageE": ".Llist_b>div.lis", |
|
1813 | 1813 | }, |
1814 | 1814 | "3DM - 游戏专区 - 分类页": { |
1815 | 1815 | "host": "www.3dmgame.com", |
1816 | | - "url": "if (fun.getCSS('.newsleft>ul')) return true", |
| 1816 | + "url": "return fun.getCSS('.newsleft>ul')", |
1817 | 1817 | "pager": { |
1818 | 1818 | "nextL": "li.next>a", |
1819 | 1819 | "pageE": ".newsleft>ul>li", |
|
1825 | 1825 | }, |
1826 | 1826 | "3DM - 游戏专区 - 资源页": { |
1827 | 1827 | "host": "www.3dmgame.com", |
1828 | | - "url": "return (fun.indexOF('/resource'))", |
| 1828 | + "url": "return fun.indexOF('/resource')", |
1829 | 1829 | "pager": { |
1830 | 1830 | "nextL": "li.next>a", |
1831 | 1831 | "pageE": ".item>ul", |
|
1868 | 1868 | }, |
1869 | 1869 | "游侠网": { |
1870 | 1870 | "host": "www.ali213.net", |
1871 | | - "url": "if (fun.getCSS('#after_this_page')) return true", |
| 1871 | + "url": "return fun.getCSS('#after_this_page')", |
1872 | 1872 | "pager": { |
1873 | 1873 | "type": 3, |
1874 | 1874 | "nextL": "#after_this_page", |
|
1899 | 1899 | }, |
1900 | 1900 | "游侠网 - 下载页": { |
1901 | 1901 | "host": "down.ali213.net", |
1902 | | - "url": "if (fun.getCSS('.famous-ul>.famous-li')) return true", |
| 1902 | + "url": "return fun.getCSS('.famous-ul>.famous-li')", |
1903 | 1903 | "pager": { |
1904 | 1904 | "nextL": "a.page-next", |
1905 | 1905 | "pageE": ".famous-ul>.famous-li", |
|
1915 | 1915 | "blank": 3, |
1916 | 1916 | "pager": { |
1917 | 1917 | "type": 3, |
1918 | | - "nextL": "a.next", |
| 1918 | + "nextL": "a.active.n+a:not(.next)", |
1919 | 1919 | "pageE": ".c-detail>*", |
1920 | 1920 | "replaceE": ".page_fenye", |
1921 | 1921 | "scrollE": ".page_fenye", |
|
4303 | 4303 | }, |
4304 | 4304 | "科研通": { |
4305 | 4305 | "host": "www.ablesci.com", |
4306 | | - "url": "if (fun.getCSS('ul.fly-list')) return true", |
| 4306 | + "url": "return fun.getCSS('ul.fly-list')", |
4307 | 4307 | "pager": { |
4308 | 4308 | "nextL": "li.next>a", |
4309 | 4309 | "pageE": "ul.fly-list>li", |
|
4470 | 4470 | }, |
4471 | 4471 | "菜鸟教程": { |
4472 | 4472 | "host": "www.runoob.com", |
4473 | | - "url": "if (location.pathname.split('/').length>2 && fun.getCSS('#leftcolumn')) return true", |
| 4473 | + "url": "return (location.pathname.split('/').length>2 && fun.getCSS('#leftcolumn'))", |
4474 | 4474 | "style": "#comments, #postcomments, #respond, #footer {display: none !important;} .article-intro h1:not(:nth-of-type(1)) {margin: 30px 0 10px 0;} .middle-column {min-height: 1000px;}", |
4475 | 4475 | "history": true, |
4476 | 4476 | "pager": { |
|
4792 | 4792 | }, |
4793 | 4793 | "致美化": { |
4794 | 4794 | "host": "zhutix.com", |
4795 | | - "url": "if (fun.getCSS('#post-list')) return true;", |
| 4795 | + "url": "return fun.getCSS('#post-list')", |
4796 | 4796 | "pager": { |
4797 | 4797 | "nextL": "//li[@class='next-page']/a | //div[@class='btn-pager']/a[text()='❯']", |
4798 | 4798 | "pageE": "#post-list>ul>li", |
|
6344 | 6344 | }, |
6345 | 6345 | "24FA": { |
6346 | 6346 | "host": ["/^(www\\.)?24fa.?\\.com$/","/^(www\\.)?\\d{3}w\\.cc$/"], |
6347 | | - "url": "if(document.title.indexOf('24FA') > -1 && fun.indexOF(/^\\/m?n\\d+/)) return true", |
| 6347 | + "url": "return (document.title.indexOf('24FA') > -1 && fun.indexOF(/^\\/m?n\\d+/))", |
6348 | 6348 | "style": ".moreR {display: none;} #content img {width: auto; max-width: 99%; height: auto; display: block; margin: 0 auto;}", |
6349 | 6349 | "pager": { |
6350 | 6350 | "nextL": "li.p_current+li>a", |
|
0 commit comments