Royal Road Download Button

Adds buttons to download to Royal Road chapters

These are versions of this script where the code was updated. Show all versions.

  • v4.8 2024-04-28

    Added icon

  • v4.7 2023-11-22

    Fixed "Previous Chapter" button

  • v4.6 2023-10-15

    Client seemed to not be detecting previous version

  • v4.5 2023-10-15

    Fixed name

  • v4.5 2023-10-15

    Downloading in the chapter page now gets the content from the current page instead of fetching it. Done in case the user wants to get the chapters current state instead of the updated one, or in case the chapter has been deleted. Due to the risk of deletion, the file naming code now checks if the index exists.

  • v4.4 2023-10-15

    Adds link to original chapter in header

  • v4.3 2023-10-15

    The fiction page is no longer fetched again to fill the select inputs and the current page is used instead. The chapter list is now also being checked to prevent the previous change from causing errors.

  • v4.2 2023-10-15

    Better spoiler elements, and more careful whitespace removal

  • v4.1 2023-10-15
  • v4.1 2023-10-15

    Updated code description, and added regex to remove whitespace from chapters

  • v4 2023-10-15

    You can now select which chapters to download in the fiction page, and download a single chapter in the chapter page

  • v3.6 2023-10-14

    Changed description slightly

  • v3.5 2023-10-14

    Button now disables on click to better prevent multiple downloads, and has a better looking progress bar.

  • v3.4 2023-10-14

    Cleaned up the code, added more comments, added a check for the "Slow down!" page, and made it work better in mobile.

  • v3.3 2023-05-21

    Script is public now

  • v3.2 2023-05-21

    Added description

  • v3.1 2023-05-21

    Slight cleanup

  • v3.0 2023-05-21

    Added previous/next buttons, fixed header links, zip is now compressed

  • v2.1 2023-05-19

    Added replacement for spoilers

  • v2.0 2023-05-19

    Added styling to outputed files + some cleanup

  • v1.1 2023-05-19
  • v1.0 2023-05-19
  • v1.0 2023-05-19