|
1 | 1 | // ==UserScript== |
2 | 2 | // @name 自动无缝翻页 |
3 | | -// @version 3.0.4 |
| 3 | +// @version 3.0.5 |
4 | 4 | // @author X.I.U |
5 | 5 | // @description 无缝拼接下一页内容(瀑布流),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、DUX/XIU/D8/Begin(WP主题)」网站]、百度、谷歌、必应、搜狗、头条搜索、360 搜索、微信搜索、贴吧、豆瓣、微博、NGA、V2EX、B 站(Bilibili)、煎蛋网、糗事百科、龙的天空、起点小说、IT之家、千图网、Pixabay、3DM、游侠网、游民星空、NexusMods、Steam 创意工坊、CS.RIN.RU、FitGirl、片库、茶杯狐、NO视频、低端影视、奈菲影视、91美剧网、音范丝、BT之家、萌番组、动漫花园、樱花动漫、爱恋动漫、AGE 动漫、Nyaa、SrkBT、RARBG、SubHD、423Down、不死鸟、扩展迷、极简插件、小众软件、动漫狂、漫画猫、漫画DB、HiComic、动漫之家、古风漫画网、PubMed、wikiHow、GreasyFork、Github、StackOverflow(以上仅一小部分,更多的写不下了... |
6 | 6 | // @match *://*/* |
|
561 | 561 | curSite = DBSite.douban_subject_reviews; |
562 | 562 | } else if(location.pathname.indexOf('/subject') > -1 && location.pathname.indexOf('/episode') > -1) { // 电视剧每集评论 |
563 | 563 | curSite = DBSite.douban_subject_episode; |
| 564 | + } else if(location.pathname.indexOf('/people') > -1 && location.pathname.indexOf('/collect') > -1) { // 看过的电影 |
| 565 | + curSite = DBSite.douban_people_collect; |
564 | 566 | }}, |
565 | 567 | pager: { |
566 | 568 | type: 1, |
|
591 | 593 | scrollD: 1000 |
592 | 594 | } |
593 | 595 | }, // 豆瓣 - 剧评 |
| 596 | + douban_people_collect: { |
| 597 | + pager: { |
| 598 | + type: 1, |
| 599 | + nextL: 'css;link[rel="next"]', |
| 600 | + pageE: 'css;.grid-view > div', |
| 601 | + insertP: ['css;.grid-view', 3], |
| 602 | + replaceE: 'css;.paginator', |
| 603 | + scrollD: 1000 |
| 604 | + } |
| 605 | + }, // 豆瓣 - 看过的电影 |
594 | 606 | douban_group: { |
595 | 607 | host: 'www.douban.com', |
596 | 608 | functionStart: function() {if (location.pathname.indexOf('/group/topic/') > -1) { |
|
3906 | 3918 | pF: [0, 'img[original]', 'original'] |
3907 | 3919 | } |
3908 | 3920 | }, // 图集谷 - 图片页 |
| 3921 | + mvtui: { |
| 3922 | + host: 'mvtui.com', |
| 3923 | + functionStart: function() {if (location.pathname.indexOf('.html') > -1) {curSite = DBSite.mvtui;} else {curSite = DBSite.mvtui_list;}}, |
| 3924 | + pager: { |
| 3925 | + type: 1, |
| 3926 | + nextL: 'css;.article-paging span.current+a', |
| 3927 | + pageE: 'css;.article-content > p', |
| 3928 | + insertP: ['css;.article-paging', 1], |
| 3929 | + replaceE: 'css;.article-paging', |
| 3930 | + scrollD: 3000 |
| 3931 | + } |
| 3932 | + }, // 美女推 - 图片页 |
| 3933 | + mvtui_list: { |
| 3934 | + pager: { |
| 3935 | + type: 1, |
| 3936 | + nextL: 'css;li.next-page a', |
| 3937 | + pageE: 'css;#posts > div', |
| 3938 | + insertP: ['css;#posts', 3], |
| 3939 | + replaceE: 'css;.pagination', |
| 3940 | + scrollD: 1500 |
| 3941 | + }, |
| 3942 | + function: { |
| 3943 | + bF: src_bF, |
| 3944 | + pF: [0, 'img[data-src]', 'data-src'] |
| 3945 | + } |
| 3946 | + }, // 美女推 - 分类页 |
3909 | 3947 | mm131: { |
3910 | 3948 | host: 'www.mm131.net', |
3911 | 3949 | functionStart: function() { |
|
4410 | 4448 | if (oldList) { |
4411 | 4449 | // 将当前列表存为变量 |
4412 | 4450 | oldList = oldList.innerHTML; |
4413 | | - // 暂停一段时间,避免多次重复点击下一页 |
4414 | | - /*let _SiteTypeID = curSite.SiteTypeID; |
4415 | | - curSite.SiteTypeID = 0; |
4416 | | - setTimeout(function(){curSite.SiteTypeID = _SiteTypeID;}, 400)*/ |
4417 | 4451 | // 点击下一页 |
4418 | 4452 | next.click(); |
4419 | 4453 | // 当前页码 + 1 |
|
0 commit comments