Userscripts Comments Fix

By sizzlemctwizzle Last update Nov 14, 2011 — Installed 11,415 times.

Error in spam reporting

in
Subscribe to Error in spam reporting 7 posts, 3 voices



JoeSimmons Scriptwright

I get this when I click "Report Spam."

Error: document.evaluate("./a[@href='" + l.pathname + "']", document.getElementById("right"), null, 9, null).singleNodeValue is null

 
Marti Scriptwright

Confirmed... new site layout has a text element where this is looking... however previous sibling has it ;)

 
Marti Scriptwright

@sizzlemctwizzle
If you don't want to wait for avg... you could append .previousSibling to line 152 of your script

 
sizzlemctwizzle Script's Author

Thanks Marti. I was actually going to wait for avg but your code works :)

 
Marti Scriptwright

I normally won't give a solution, unless asked, but imho it's one of the more important concepts here on uso... hope Jesse is feeling better so housekeeping duties can resume. Thanks... new re-quest too. :)

 
sizzlemctwizzle Script's Author

Marti wrote:
new re-quest too. :)

Jesse finally fixed the page height problem. Thanks for letting me know. Updated the script. You know, you're really good at documentation lol =]

 
Marti Scriptwright

sizzlemctwizzle wrote:
You know, you're really good at documentation lol =]
SHHHH! Nobody is supposed to know why I'm really here on uso. *GRIN* Thank you... I learn daily. I still do best when I'm presented with a concept, then improve upon it... have plenty of ideas, but I lack the speed to usually implement it... My local peers have always been ones who get it done, and I usually am the type of get it done right... both methods are valid... took me a while to figure this out.

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