level 8
在回复框中敲好要发的内容,验证码、签名之类的先选好,将下面代码复制到地址栏,回车~~
javascript:(function%20(){var%20str=rich_postor._editor.getHtml();var%20out="";for(var%20i=0;i<str.length;i++){if(str.charCodeAt(i)<128){out+=str.charAt(i);}else{out+="&#"+str.charCodeAt(i)+";";}}rich_postor._editor.getHtml=function%20(){return%20out;};rich_postor._submit();})();
这段代码的功能是:获得回复框的内容,对其中字符编码大于等于128的字符,若编码为x,转为�,最后将转换后的内容发出。
2012年05月13日 04点05分
1
javascript:(function%20(){var%20str=rich_postor._editor.getHtml();var%20out="";for(var%20i=0;i<str.length;i++){if(str.charCodeAt(i)<128){out+=str.charAt(i);}else{out+="&#"+str.charCodeAt(i)+";";}}rich_postor._editor.getHtml=function%20(){return%20out;};rich_postor._submit();})();
这段代码的功能是:获得回复框的内容,对其中字符编码大于等于128的字符,若编码为x,转为�,最后将转换后的内容发出。