贴吧繁体字代码
2015-01-07 04:06:06 -0500
javascript:var m=prompt("输入繁体内容");var c=A2W(m);function A2W(s){var r="";for(var i=0;i<s.length;i++){r+='&\011#'+s.charCodeAt(i)+';'};return r};$.post("
http://tieba.baidu.com/f/commit/post/add ",{kw:PageData.forum.forum_name,ie:"utf-8",rich_text:1,floor_num:1,fid:PageData.forum.forum_id,tid:PageData.thread.thread_id,content:c,anonymous:0,tbs:PageData.tbs},function(o){if(o.no!=0)alert("no:"+o.no+"\nerr_code:"+o.err_code+"\nerror:"+o.error);else location.reload()},"json");void 0
Back to home
Subscribe |
Register |
Login
| N