Greasemonkey script for easier reading on Dreams of Jianghu & Kobatochan

Discussion in 'Tech Discussion' started by Randyr, Jul 17, 2017.

  1. Randyr

    Randyr Member

    Joined:
    Jun 21, 2016
    Messages:
    9
    Likes Received:
    17
    Reading List:
    Link
    Hey all,

    I started reading WoC on Dreams of Jianghu (DoJ) and was annoyed by the "next" button for the chapters. This button simply goes to the next chronological post on the website. So I made a little script. Head to the table of contents of a novel on DoJ and click any chapter. It will load the chapter into an overlay and add a next/previous button. This way you basically scroll through the table of contents as you read.

    Can be found on Greasyfork under "Desktop Readable Dreams of Jianghu" (can't post links yet)

    Enjoy

    EDIT:
    As requested, added a similar script for Kobatochan (example: EER). Also on Greasyfork as "Desktop Readable KobatoChanDaiSuki"

    EDIT 2:
    The script has been merged into one on Greasyfork as Desktop Readable Novels with some new features. The next chapter will now be preloaded so clicking "next" should now be instant. Other than this, the chapter you are reading is now remembered in the url, and reloading the page will automatically open the chapter you were reading.

    The other two scripts will be removed from Greasyfork in a while.
     
    Last edited: Jul 18, 2017
  2. MangoGuy

    MangoGuy Rambling Mango

    Joined:
    Apr 15, 2016
    Messages:
    7,625
    Likes Received:
    8,697
    Reading List:
    Link
    I thought there was a next chapter link towards the top of the chapter...or is it only on PC?
     
  3. AardwarkThe2nd

    AardwarkThe2nd (R-18 writer) Aardwark, the king of aardvarks!

    Joined:
    Mar 1, 2016
    Messages:
    1,890
    Likes Received:
    2,095
    Reading List:
    Link
  4. Randyr

    Randyr Member

    Joined:
    Jun 21, 2016
    Messages:
    9
    Likes Received:
    17
    Reading List:
    Link
    There are next and previous buttons, but these don't necessarily go to the next chapter. They go to the next post on the website (this could for example be another novel).
     
  5. noisypixy

    noisypixy Sacatunn que pen, que summum que tun.

    Joined:
    Jun 25, 2016
    Messages:
    716
    Likes Received:
    950
    Reading List:
    Link
    Every time I see things like this I want to release a nice JSON API for NU, only to make things easier for you developers.

    But... reasons.
     
  6. Twilight Fox

    Twilight Fox 【Foxy】【Ayayayay!】

    Joined:
    Apr 14, 2016
    Messages:
    1,968
    Likes Received:
    11,186
    Reading List:
    Link
    Hey, can you do this for EER as well? The stupid thing does the same thing and goes to the next Chronological post on the site instead of the next chapter.
     
    neon likes this.
  7. TheSupremeManificentSovereign

    TheSupremeManificentSovereign Well-Known Member

    Joined:
    Oct 24, 2015
    Messages:
    106
    Likes Received:
    122
    Reading List:
    Link
    nice, bro/lady !...I did find the random nature of the next button annoying...
     
  8. Randyr

    Randyr Member

    Joined:
    Jun 21, 2016
    Messages:
    9
    Likes Received:
    17
    Reading List:
    Link
    Sure. Same UI for the overlay?
     
    neon likes this.
  9. Twilight Fox

    Twilight Fox 【Foxy】【Ayayayay!】

    Joined:
    Apr 14, 2016
    Messages:
    1,968
    Likes Received:
    11,186
    Reading List:
    Link
    Yeah
     
  10. RxSniper007

    RxSniper007 Well-Known Member

    Joined:
    Dec 28, 2016
    Messages:
    26
    Likes Received:
    12
    Reading List:
    Link
    hmm AFAIK EER has working next and previous chapter buttons included :p

    *just read the latest chapter :p

    though nifty javascript is nifty sooo...
    can't complain if ppl wanna use it hehe,
    good job @Randyr

    XD
     
    Randyr likes this.
  11. devilmaycry1

    devilmaycry1 Well-Known Member

    Joined:
    Dec 6, 2015
    Messages:
    395
    Likes Received:
    242
    Reading List:
    Link
    I think you mean greaseMOnkey/violentMonkey


    Tampermonkey is proprietary shit

    This is on their github page
     
  12. Deleted member 41274

    Deleted member 41274 Guest

    Reading List:
    Link
    It is much more convenient if you can just press the next chapter button =3=
     
  13. Nargol

    Nargol Evangelist. Candy-san. Pope of the Cult of Pyoo

    Joined:
    Dec 29, 2015
    Messages:
    2,566
    Likes Received:
    6,858
    Reading List:
    Link
    An actual saint, here, on NUF?

    Incredible
     
    kfahad likes this.
  14. Randyr

    Randyr Member

    Joined:
    Jun 21, 2016
    Messages:
    9
    Likes Received:
    17
    Reading List:
    Link
    It has been done.

    You can find it on Greasyfork just like the first one. The name is Desktop Readable KobatoChanDaiSuki.
    The chapter name can be found in the URL now.
    Should work for most, if not all, novels on kobatochan.

    Enjoy.

    EDIT: Might merge them at some point if I feel like it.
     
  15. Twilight Fox

    Twilight Fox 【Foxy】【Ayayayay!】

    Joined:
    Apr 14, 2016
    Messages:
    1,968
    Likes Received:
    11,186
    Reading List:
    Link
    DANK YOU!
     
    Randyr likes this.