Userscripts Comments Fix

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

Conflicts

in
Subscribe to Conflicts 2 posts, 1 voice



IzzySoft Scriptwright
FirefoxWindows

Hi sizzle,

looks like your script partially refuses to work when the "Extended scriptwright links" script (see http://userscripts.org/scripts/show/47281) is active: In that case, neither the "Quote" links, nor the preview is working. I couldn't quite figure out why (though I found and fixed some bug in that other script, see comments there). Could you have a look into that? If it's too hard to figure out (as far as I can tell, it only changes "Scriptwright" to "Scriptwright (x)" with "x" being the numbers of scripts written by that user), I wouldn't mind if you include that scripts feature in yours, so the other script wouldn't be needed anymore and thus could not conflict Whistle The author seems not really to care, as there was no response from him/her ever (though I waited for half a year now).

TIA,
Izzy.

P.S.: Since I just saw the line in your code GM_log("Selection quoting failed due to a bug in Firefox 3.5.x"); for some other matter: Yepp, this is the same FF version here. So I will crosscheck at home with my other machine running FF3.0, just to make sure...

 
IzzySoft Scriptwright
FirefoxWindows

Yupp, forget the request - or rather change it. I found out what was the troublemaker: The author replaced the complete body.innerHTML - ouch. Rewrote that code, now it has only half as much lines - and works fine, no longer hindering your script. The code may still be not optimal, though. If you like to integrate this functionality (adding the number of scripts written to the "Scriptwright" links innerHTML), I happily provide you with the code - just let me know Excited

P.S.: Gna. Don't want to (let you) wait. Placed it on Pastebin.com, so feel free to grab it.

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