{"id":13608052,"url":"https://github.com/machsix/Super-preloader","last_synced_at":"2025-04-12T14:31:55.978Z","repository":{"id":38335756,"uuid":"89822935","full_name":"machsix/Super-preloader","owner":"machsix","description":"Userscript to enable autopagerizing as well as preloading","archived":false,"fork":false,"pushed_at":"2025-04-11T00:42:36.000Z","size":43759,"stargazers_count":595,"open_issues_count":54,"forks_count":83,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-04-11T01:34:10.925Z","etag":null,"topics":["greasemonkey","tampermonkey","userscript","violentmonkey"],"latest_commit_sha":null,"homepage":"https://machsix.github.io/Super-preloader/Super_preloaderPlus_one_New.user.js","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/machsix.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-30T01:36:11.000Z","updated_at":"2025-04-11T00:42:40.000Z","dependencies_parsed_at":"2024-02-19T12:52:30.989Z","dependency_job_id":"c2da75e0-d004-4942-accb-882fac1bcc45","html_url":"https://github.com/machsix/Super-preloader","commit_stats":{"total_commits":1221,"total_committers":22,"mean_commits":55.5,"dds":0.6723996723996724,"last_synced_commit":"6ed5e5b12cb88d892e9d929ca6e2690351f16a39"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/machsix%2FSuper-preloader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/machsix%2FSuper-preloader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/machsix%2FSuper-preloader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/machsix%2FSuper-preloader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/machsix","download_url":"https://codeload.github.com/machsix/Super-preloader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248581242,"owners_count":21128132,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["greasemonkey","tampermonkey","userscript","violentmonkey"],"created_at":"2024-08-01T19:01:23.869Z","updated_at":"2025-04-12T14:31:54.125Z","avatar_url":"https://github.com/machsix.png","language":"JavaScript","readme":"![icon](https://machsix.github.io/Super-preloader/logo.png)\n\n[![workflow](https://github.com/machsix/Super-preloader/actions/workflows/node.js.yml/badge.svg)](https://github.com/machsix/Super-preloader/actions/workflows/node.js.yml)  \u003ca href='https://ko-fi.com/X8X6UEPM' target='_blank'\u003e\u003cimg height='36' style='border:0px;height:28px;' src='https://az743702.vo.msecnd.net/cdn/kofi5.png?v=2' border='0' alt='Buy Me a Coffee' /\u003e\u003c/a\u003e\n\n# Super-preloader\n\n## Installation and Document\n\n| Document                                                                                                                                                                                                            | Installation                                                                                                                                                                                                                                                                                   |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| \u003cimg height=\"40\" width=\"40\" onclick=\"window.open(https://machsix.github.io/Super-preloader/)\" src=\"https://simpleicons.org/icons/github.svg\" /\u003e [Github Page](https://machsix.github.io/Super-preloader/)                | \u003cimg height=\"40\" width=\"40\" onclick=\"window.open(https://machsix.github.io/Super-preloader/Super_preloaderPlus_one_New.user.js)\" src=\"https://simpleicons.org/icons/github.svg\" /\u003e [Github Page](https://machsix.github.io/Super-preloader/Super_preloaderPlus_one_New.user.js)                                                   |\n| \u003cimg height=\"40\" width=\"40\" onclick=\"window.open(https://super-preloader.vercel.app/)\" src=\"https://assets.vercel.com/image/upload/front/favicon/vercel/60x60.png\" /\u003e [Vercel](https://super-preloader.vercel.app/) | \u003cimg height=\"40\" width=\"40\" onclick=\"window.open(https://super-preloader.vercel.app/)\" src=\"https://assets.vercel.com/image/upload/front/favicon/vercel/60x60.png\" /\u003e [Vercel](https://super-preloader.vercel.app/Super_preloaderPlus_one_New.user.js) |\n|                |   \u003cimg height=\"40\" width=\"40\"  src=\"https://simpleicons.org/icons/github.svg\" /\u003e [Github Raw](https://github.com/machsix/Super-preloader/raw/master/dist/Super_preloaderPlus_one_New.user.js) |\n|                |   \u003cimg height=\"40\" width=\"40\"  src=\"https://www.jsdelivr.com/icons/favicon.svg\" /\u003e [JS Delivr](http://cdn.jsdelivr.net/gh/machsix/Super-preloader/dist/Super_preloaderPlus_one_New.user.js) |\n## Compatibility\n\n| [\u003cimg src=\"https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png\" alt=\"Firefox\" width=\"48px\" height=\"48px\" /\u003e](http://godban.github.io/browsers-support-badges/) + [\u003cimg src=\"https://github.com/violentmonkey.png\" height=\"48px\" alt=\"violentmonkey\"/\u003e](https://github.com/violentmonkey)/[\u003cimg src=\"https://github.com/greasemonkey.png\" height=\"48px\" alt=\"greasemonkey\"/\u003e](https://github.com/Greasemonkey) \u003cbr\u003eFirefox + Violentmonkey/Greasemonkey 4 | [\u003cimg src=\"https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png\" alt=\"Chrome\" width=\"48px\" height=\"48px\" /\u003e](http://godban.github.io/browsers-support-badges/) / [\u003cimg src=\"https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png\" alt=\"Microsoft Edge Dev\" width=\"48px\" height=\"48px\" /\u003e](http://godban.github.io/browsers-support-badges/)+ [\u003cimg src=\"https://github.com/Tampermonkey.png\" height=\"48px\" alt=\"violentmonkey\"/\u003e](https://github.com/Tampermonkey) \u003cbr\u003eChrome/Microsoft Edge Dev + Tampermonkey | [\u003cimg src=\"https://upload.wikimedia.org/wikipedia/commons/4/43/Waterfox_Logo_%28redesigned_2015%29.png\" alt=\"Microsoft Edge Dev\" width=\"48px\" height=\"48px\" /\u003e](http://godban.github.io/browsers-support-badges/)+ [\u003cimg src=\"https://github.com/greasemonkey.png\" height=\"48px\" alt=\"greasemonkey\"/\u003e](https://github.com/Greasemonkey) \u003cbr\u003eWaterfox + Greasemonkey 3/4 | [\u003cimg src=\"https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari-ios/safari-ios_48x48.png\" alt=\"Geasymonkey\" width=\"48px\" height=\"48px\" /\u003e](http://godban.github.io/browsers-support-badges/)+ [\u003cimg src=\"https://cdn.sspai.com/2022/10/03/e8a99be0b355c18d3d5765ecf1268efd.jpg\" alt=\"Stay2\" width=\"48px\" height=\"48px\" /\u003e](https://apps.apple.com/us/app/stay-for-safari/id1591620171)\u003cbr\u003eSafari for IOS + Stay |\n|--|--|--|--|\n| Firefox \u003e ESR                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | Chrome \u003e 45 , Edge Dev Channel                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | Latest                                                                                                                                                                                                                                                                                                                                                                  |  |\n\n- Script is tested under:\n\n  - Firefox latest + Violentmonkey (**Recommended combination**)\n  - Microsoft Edge Dev + Tampermonkey\n  - Waterfox 56.3 + Greasemonkey 4.9\n  - Chrome 48 + Tampermonkey\n\n## Introduction\n\nA userscript for auto loading paginated web pages. It will join pages together based on the rules.\n\nThe script is forked from https://greasyfork.org/en/scripts/10433-super-preloaderplus-one. However, it is refactored since v6.8.xx. Now we are embracing new techniques (features of ES6) and ~~webpack~~rollup to pack the script.\n\nThanks to\n\n- Contributers: https://github.com/machsix/Super-preloader/graphs/contributors\n- [swdyh](https://github.com/swdyh) initial idea of autopagger and preloader. (swdyh is still actively improving [rules](http://wedata.net/databases/AutoPagerize/items) and developping the extension version,[AutoPagerize](https://addons.mozilla.org/en-US/firefox/addon/autopagerize/). )\n- NLF: initial version of the Preloader\n- Users of Opera China forum: contributions to the rules\n- [ywzhaiqi](https://github.com/ywzhaiqi/userscript/tree/master/scripts/Super_preloaderPlus): Autopagger\n\nThanks to 红叶舞秋山, who introduced the history of the script to me\n\n\u003e ywzhaiqi 也不是原创，这是个很久远的故事啊！还记得很多年以前，那时候我们还用 Opera 的旧版，总拿着它看小说之类的。然后在当年的 Opera 中国官方论坛，NLF 开始写这么个脚本的最初版，开始叫 Preloader 还是 PreloaderPlus 有点儿记不起来了！我们帮着测试，大家一起顺便也写写规则之类的。当年好像还有个简化版，只能预读不能拼接的，后来还有 Firefox 版，Chrome 版等等，甚至自己还考虑过自己写个外接可定制网页的 GUI...。开始时候这东西没啥按钮 Debug 什么的，都是一点点加的，还记得当年为了找个函数翻 Xml 等等文档翻了两天终于搞定的日子。后来基本功能有了，也没啥人维护了，大部分都是遇到问题自己写个规则用了。。。再后来 Opera 中国论坛也散了，很久之后 ywzhaiqi 接手改了个 Super_preloader，然后 Super_preloader one 的合一版他到\n\nPlease leave feedback at [Greasefork page](https://greasyfork.org/en/scripts/33522-super-preloaderplus-one-new) or Github issue\n\n## Development Guide\n\nI appreciate anyone who is interested in devoting their time to the development. You can contribute by either **writing rules** or **improving the script**.\n\n### To write rules\n\n1. Check the [Document](https://machsix.github.io/Super-preloader/) and learn the structure of the rule\n2. Modify file `dist/mydata.json` for simple json rules\n3. Modify file `src/rules/jsSiteRule.js` for complex js rules\n\n### To modify document\n\n1. Modify content in `docs/`\n\n### To improve the script\n\n1. Clone the whole repo and install modules by `npm install`\n1. Make your modifications with your favoriate IDE. You IDE should support eslint and prettier to ease your life.\n1. Run `npm run check` to do a static check with eslint and prettier\n1. Run `npm run test` to test the script on certain websites with puppeteer\n1. Run `npm run dev` to launch the dev server and install the script from [http://localhost:8081/Super_preloaderPlus_one_New.user.js](http://localhost:8081/Super_preloaderPlus_one_New_dev.user.js). Test it on the website your added\n1. **Only if all previous tests pass**, you can now run `npm run publish:patch` to bump up the version and build the script. The file `dist/Super_preloaderPlus_one_New.user.js` will be updated.\n1. Commit all the changes you make and submit a pull request.\n\n### Note:\n\n1. You shouldn't commit changes of `package.json`, `package-lock.json`, and `.eslintrc.json` unless you have a good reason to do that.\n2. I won't check the PR until travis ci test passes. You can simulate travis ci test locally by running `npm run check` and `npm run test`.\n\nCheck more at [Document](https://machsix.github.io/Super-preloader/)\n\n## Known issues:\n\n- Firefox + Tampermonkey won't send cookie with `GM_xmlhttpRequest`. Unless [this issue](https://github.com/Tampermonkey/tampermonkey/issues/786) is resolved, I can do nothing with special websites. -Dec 31th 2019\n- Violentmonkey doesn't inject the scripts correctly on [https://nhentai.org](https://nhentai.org). Check [this issue](https://github.com/violentmonkey/violentmonkey/issues/991) The new release candidate v2.12.8 may fix the issuse.\n\n## Donation\n\nIt takes time and patiency to maintain the project (beacure there are :thumbsdown: websites like [JD](https://jd.com)). If you like my work, a donation is welcomed. This will keep my passion to continue developing. :satisfied:\n\n\u003ca href='https://ko-fi.com/X8X6UEPM' target='_blank'\u003e\u003cimg height='36' style='border:0px;height:36px;' src='https://az743702.vo.msecnd.net/cdn/kofi5.png?v=2' border='0' alt='Buy Me a Coffee' /\u003e\u003c/a\u003e\n\n**Thanks to the following donors**:\n\n- loveqianool (1st donor)\n\n## License\n\n![GPLv3](https://www.gnu.org/graphics/gplv3-127x51.png)\n\nThis program is licensed under [GNU General Public License](https://www.gnu.org/licenses/gpl.html) Version 3 or later.\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\n**Howver you need to acknowledge the author `machsix` before redistribute the source code, databases and bundled script. Reposting the code anywhere without the author's permission is regarded as infringement. The author preserves the right to sue the infringer.**\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with this program. If not, see \u003chttp://www.gnu.org/licenses/\u003e.\n","funding_links":["https://ko-fi.com/X8X6UEPM'"],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmachsix%2FSuper-preloader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmachsix%2FSuper-preloader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmachsix%2FSuper-preloader/lists"}