Userscript to spend your coins to unlock chapters easily.
Ezy-Coin-Spend is a userscript designed to help you spend your coins to unlock chapters easily on supported websites.
- Adds clickable buttons for each chapter to immediately unlock desired chapters without visiting the chapters.
- Adds a button to unlock all locked chapters.
- Optional AutoUnlock for better reading experience when reading chapter by chapter
- Firefox, Tampermonkey
Tip
Should work with every modern browser with tampermonkey.
Feel free to suggest more or create pull requests.
- Install a userscript manager like Tampermonkey.
- Add the Ezy-Coin-Spend userscript from GitHub.
Once installed, the script will automatically run on the supported sites. You can unlock chapters by clicking on the coin elements or unlock all of them with the button.
This script is designed to prevent spending more than required. Please, report any oversights. (I wasted a lot of coins to prevent double spending.)
- Reorganize the "site config"
- move chapterPageKeywordList to "site config"
- move autounlock variables "site config"
- track handlecoinclick event listeners and prevent atatching multiple event listeners
- check if the spinner element is being hidden after completion or being removed. Remove it after completion if not already done so.
- check observer behaviour and disconnect early if not needed
Contributions are welcome! Please open an issue or submit a pull request on GitHub.
This project is licensed under the GNU General Public License v3.0. See the LICENSE file for details.