Greasy Fork is available in English.

Royal Road Download Button

Adds buttons to download Royal Road chapters

Dette er versioner af dette script, hvor koden er blevet opdateret. Vis alle versioner.

  • v6.3 23.06.2024

    Changed the filename prefix default

  • v6.3 23.06.2024

    Radio inputs are now used for the filename prefix.

    Using my new setupCommands library.

  • v6.2 22.06.2024

    Forgot the version again

  • v6.1 22.06.2024

    Better error throwing

  • v6.1 22.06.2024

    Error while getting the chapter list now alerts

  • v6.0 22.06.2024

    Functionality to download images in progress.

    Downloading images is now supported.

  • v5.5 18.06.2024

    Better


    Script now supports corrupted chapters.

    Not sure if this is how I should name them, but it seems correct (example of a corrupt chapter: https://www.royalroad.com/fiction/chapter/1671376). Also made all URLs internally full URLs. Downloading multiple chapters from the middle of the fiction now no longer fetches the chapters around those more than needed.

  • v5.3 17.06.2024

    Fixed downloaded chapter chapter link.

  • v5.2 17.06.2024

    Removed margin from dates.

  • v5.2 17.06.2024

    Downloaded files now contain dates.

    Both publish and last edit dates are used if available. Also removed useless class from all

    elements of the chapter content.

  • v5.1 17.06.2024

    Added option to use the chapter ID as the prefix

  • v5 16.06.2024

    Full refactor of the royalroad script

    It now uses the publish date as the filename prefix, and its easier to read and maintain.

  • v4.8 28.04.2024

    Added icon

  • v4.7 22.11.2023

    Fixed "Previous Chapter" button

  • v4.6 15.10.2023

    Client seemed to not be detecting previous version

  • v4.5 15.10.2023

    Fixed name

  • v4.5 15.10.2023

    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 15.10.2023

    Adds link to original chapter in header

  • v4.3 15.10.2023

    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 15.10.2023

    Better spoiler elements, and more careful whitespace removal

  • v4.1 15.10.2023
  • v4.1 15.10.2023

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

  • v4 15.10.2023

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

  • v3.6 14.10.2023

    Changed description slightly

  • v3.5 14.10.2023

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

  • v3.4 14.10.2023

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

  • v3.3 21.05.2023

    Script is public now

  • v3.2 21.05.2023

    Added description

  • v3.1 21.05.2023

    Slight cleanup

  • v3.0 21.05.2023

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

  • v2.1 19.05.2023

    Added replacement for spoilers

  • v2.0 19.05.2023

    Added styling to outputed files + some cleanup

  • v1.1 19.05.2023
  • v1.0 19.05.2023
  • v1.0 19.05.2023