君临天下
- UID
- 11537
- 积分
- 2073
- TBS
- 2612
- 智商
- 1279
- 节操
- 1715
- 海贝
- 65
- 阅读权限
- 50
- 在线时间
- 427 小时
- 注册时间
- 2014-5-24
- 最后登录
- 2024-7-13
|
- function getqid(){var source=$(*cc*);var floor=prompt("楼层号");var qid=(source[floor-1].innerHTML.match(/post_content_(\d+)/));return qid[1];}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,quote_id: qid,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);console.log(o)}else location.reload()},"json");void 0
复制代码
|
|