Script Summary: Wakaba post preview generator.
Version: 1.3.22
License: WTFPLv2
Fixed for modern browsers.
Tested with iichan.ru, iichan.net and 2-ch.ru, in opera and firefox.
Yo dawg. I heard you like reading posts, so we put posts in your posts, so you can read posts, while you reading posts.
Configuration:
config['recursive_post_preview']=true;
set to false, if you don't like post previews in post previews
config['display_link_to_previewing_post']=true;
set to false if you don't like link to previewing post in top of preview or that preview is covering original link
config['abort_http_connections']=false;
*do not change if you don't sure* true is a bit (only a bit) faster, but result in partial page downloading, so you get "Error 000" - no post error even if there is such post, so you will have to manually reload thread to which previewing link is heading.
config['limit_preview_by_board']=false;
set to true if you don't want to preview posts from other boards
config['limit_op_post_preview_by_thread']=false;
set to true if you don't want to preview original post not in the thread (might help to solve conflict with other userjs's)
config['limit_preview_by_replies']=false;
set to true if you don't want to preview anything but >>postnumber (might help to solve conflict with other userjs's)
config['no_post_content_error_msg']='Error 000';
set to any string you like to see when is no post content found. valid html allowed.
config['limit_preview_size']=0;
set to maximum height of preview you like (in pixels). 0 or false to disable.
And if you see something like a bug (browser displaying error console is a GRAVE bug) or want to change or add something in feel'n'look please DO the bug report/feature request!
Only for opera: To make it work with Wakaba Extension thread expansion, replace Wakaba Extension's 2665th line
var currentLink = refLinks.snapshotItem(i);
with
var currentLink = refLinks.snapshotItem(i);
if (currentLink.textContent.indexOf(">>") != -1)
currentLink.addEventListener('mouseover',initPostPreview,false);



