Scroll page for CGIIRC. formatting is crappy, just cut and paste into your favourite text editor and edit the url in the @include clause at the top of the page.
search for using user javascript to work out how to get it to load
// ==UserScript==
// @include http://irc.pocketwater.com.au/cgi-bin/cgiirc/irc.cgi
// ==/UserScript==
function pageScroll() {
//alert('Scrolling!!!!!!!!!!!!!!');
top.fmain.scrollBy(0,20); // horizontal and vertical scroll increments
scrolldelay = setTimeout('pageScroll()',500); // scrolls every sec
}
function stopScroll() {
clearTimeout(scrolldelay);
}
var isCGIIRC = (self.name == 'fform');
if(isCGIIRC) {
//alert('found input field');
self.opera.addEventListener( 'AfterEvent.load', function (e) {
//alert('handling event AfterEvent.load');
pageScroll();
},
false
);
}
0 responses so far ↓
There are no comments yet...Kick things off by filling out the form below.
Leave a Comment