Royal Road Download Button

Adds buttons to download Royal Road chapters

코드가 바뀐 버전들입니다. 모든 버전 보기

  • v6.3 2024-06-23

    Changed the filename prefix default

  • v6.3 2024-06-23

    Radio inputs are now used for the filename prefix.

    Using my new setupCommands library.

  • v6.2 2024-06-22

    Forgot the version again

  • v6.1 2024-06-22

    Better error throwing

  • v6.1 2024-06-22

    Error while getting the chapter list now alerts

  • v6.0 2024-06-22

    Functionality to download images in progress.

    Downloading images is now supported.

  • v5.5 2024-06-18

    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 2024-06-17

    Fixed downloaded chapter chapter link.

  • v5.2 2024-06-17

    Removed margin from dates.

  • v5.2 2024-06-17

    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 2024-06-17

    Added option to use the chapter ID as the prefix

  • v5 2024-06-16

    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 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