Document | Installation |
---|---|
Netlify | greasyfork |
Github | Github |
+ / Firefox + Violentmonkey/Greasemonkey 4 |
/ + Chrome/Microsoft Edge Dev + Tampermonkey |
+ Waterfox + Greasemonkey 3/4 |
---|---|---|
Firefox > ESR | Chrome > 45 , Edge Dev Channel | Latest |
-
Script is tested under:
- Firefox latest + Violentmonkey (Recommended combination)
- Microsoft Edge Dev + Tampermonkey
- Waterfox 56.3 + Greasemonkey 4.9
- Chrome 48 + Tampermonkey
-
Known issue:
Firefox < 62 + Tampermonkey is incompatible with the script < v6.9.3 because of incompatability between Tampermonkey and core-js@3 because Tampermonkey/tampermonkey#834 . The solution is to bundle it with core-js@2.- Except GM4, all other userscript manger don't send
cookie
forxhr
request. VM fixes this in PR: violentmonkey/violentmonkey#743, which is not released yet. I currently adddocument.cookie
manually to the header, which has some limitations. -- Dec 18th 2019
A gm script for auto loading paginated web pages. It will join pages together based on the rules.
The 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 by using ES6 and webpack to pack the script.
Thanks for the original author swdyh && ywzhaiqi && NLF. swdyh is still actively improving rules and developping the extension version,AutoPagerize.
This userscript exists because someone needs to maintain the rules for Chinese and English users since swdyh's rules are mainly for Japanese websites. Don't be afraid of the fact that most feedbacks are in Chinese. I would like to add rules for English users if I could. Feel free to leave feedback.
Please leave feedback at Greasefork page or Github issue
I appreciate anyone who is interested in devoting their time to the development. You can contribute by either writing rules or improving the script.
- Check the Document and learn the structure of the rule
- Modify file
dist/mydata.json
for simple json rules - Modify file
src/index.js
for complex js rules
- Get familiar with
javascript
,xpath/css selector
andnode js
- Clone the whole repo and install modules by
npm install
- Make your modifications
- Run
npm run test
to do a static check - Run
npm run dev
to launchwebpack-dev-server
and install the script from http://localhost:8081/Super_preloaderPlus_one_New_dev.user.js. - Test the script. You need to make sure functions like updating rules work and the script works on the following websites
- https://www.google.com Regular XHR fetch
- https://www.pcdvd.com.tw Website using non utf-8 charset
- https://idope.se/torrent-list/transformer/?p=3 Website using iframe
- Run
npm run publish:patch
to bump up the version - Commit and submit pull request!
Note:
- You shouldn't commit changes of
package.json
,package-lock.json
, and.eslintrc.json
. - I won't check the PR until travis ci test passes. You can simulate travis ci test locally by running
npm run:test
andnpm run docs:build
.
Check more at Document
MachX 💻 🎨 🖋 👀 | suchunchen 💻 🖋 | YFdyh000 💻 🎨 |
It takes time and patiency to maintain the project (beacure there are 👎 websites like JD). If you like my work, a donation is welcomed. This will keep my passion to continue developing. 😆
Thanks to the following donors:
- loveqianool (1st donor)
This program is licensed under GNU General Public License Version 3 or later.
This 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.
This 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.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.