onemangahelper

By Samuel Liew Last update Jul 17, 2010 — Installed 168,412 times.

Bug?

in
Subscribe to Bug? 4 posts, 3 voices



Trelander User

TypeError: $("content") is nul

is something I keep getting everytime i load a page. Occasionally this also blanks out the chapter list in the drop down menu.

 
Samuel Liew Script's Author

Hi Trelander,

It may have been something that I might have missed out, 'cos I don't visit every single onemanga page. Kindly provide more details about the bug.

1) What page(s) were you on that triggered the error?
2) Were you using the latest version of the script?

Thanks

 
chunkybacon User

Hello there,

I'm also getting the same message on every page with the newest version.
Something goes wrong while the script is trying to hide the reading instructions at line 172 - 179

// ===== Hide reading instructions ===== 
try{
	find=    "<<<<<    This series is read from right to left    <<<<<";
	replace= ""+find+"";

	var re= new RegExp(find, "gi");
	$('content').innerHTML= ($('content').innerHTML).replace(re, replace);
}catch(e){}

As you may noticed, I removed the alert in the catch block. The alert is gone, but the reading instruction is not removed.

Anyway, great script. I've been searching for that. thanks!

 
Samuel Liew Script's Author

Yup, sorry about that. I forgot to remove the alert() for debugging purposes. At least now if the script didn't manage to hide the "reading instruction" bit the error won't appear.

If you could help, which pages does the reading instructions don't get hidden?

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