OkC Forum Ignore List

By estragib Last update Feb 5, 2012 — Installed 1,162 times.

now broken, need update

in
Subscribe to now broken, need update 3 posts, 2 voices



marvinglenn User
FirefoxX11

Due to some change by OkC (2009-11-10), this script is now broken. :-(

 
marvinglenn User
FirefoxX11

Here's a fix that takes care of at least the forum functionality (but maybe not the topic functionality):

under //XPATH, replace this line:

const XPATH_COMMENTERS =            'id("' + ID_CONTENT_WRAPPER + '")//td[@class="user_info"]//p[@class="username"]/a';

with:
const XPATH_COMMENTERS = 'id("' + ID_CONTENT_WRAPPER + '")//td[@class="post"]//div[@class="info"]/a';

In the function hide(), replace the lines:

if(mode == 's')      container = aUser.parentNode.parentNode.parentNode;            // a -> p -> td -> tr
else if(mode == 't') container = aUser.parentNode.parentNode.parentNode.parentNode; // a -> p -> div -> td -> tr

with:
if(mode == 's') var container = aUser.parentNode.parentNode.parentNode; // a -> div -> td -> tr
else if(mode == 't') var container = aUser.parentNode.parentNode.parentNode; // a -> div -> td -> tr

 
estragib Script's Author
FirefoxWindows

Fixed in 1.2

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