Customized Homeunix Manga

By knaces Last update Jul 14, 2009 — Installed 457 times.

Make link point to first page of next chapter

in
Subscribe to Make link point to first page of next chapter 4 posts, 2 voices



Pellanor User
FirefoxWindows

When going through multiple chapters it would be nice to have the link go to the next chapter rather than back to the chapter index.

Replacing line 131 with:
if(links[1].text == "[RETURN]")
newimg.innerHTML = '';
else
newimg.innerHTML = '';

Will do this.

 
Pellanor User
FirefoxWindows

Of course it stripped out the html code that I put in...

It should be fairly easy to figure out what I meant. The first newimg.innerHTML should link to links[2] where as the 2nd one (else) should be the same as the original line 131.

 
knaces Script's Author
MozillaWindows

Hmm, I'll look into it then and update it soon. This was a quick script on my part so I initially didn't bother with the extra effort since I don't really read beyond more then one chapter at a time. I'll revisit this script within the next few days.

 
knaces Script's Author
MozillaWindows

Update: It seems like they added the [NEXT CHAPTER] link which i didn't notice till now (they didn't have it when i first created this script...i think) which makes it easy to fix. I'll release a new update by the end today probably as I don't think such a change will require much testing.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel