Hack does not work with forum titles that have single quotes (') in them. To fix, add:
Code:
function vbaddslashes (str) {
return (str+'').replace(/[\\"']/g, '\\$&').replace(/\u0000/g, '\\0');
}
to the clientscript. Then change:
Code:
eval("element." + a + " = " + ((parseInt(attributes[a]) == attributes[a]) ? attributes[a] : "'" + attributes[a] + "'") + ";");
to
Code:
eval("element." + a + " = " + ((parseInt(attributes[a]) == attributes[a]) ? attributes[a] : "'" + vbaddslashes(attributes[a]) + "'") + ";");
in the same file