代码:javascript:var ans="";var inf="";while (true){inf=prompt("请输入非蓝字部分,输入end$$结束","");if (inf=="end$$")break;else ans+=inf;inf=prompt("请输入蓝字部分,输入end$$结束","");if (inf=="end$$")break;else ans+=basic(inf);}function basic(cq){var ans2="";for (var k=0;k<=cq.length;k++){if ((k%60==0)&&(k!=0)){ans2+=(code(cq.substr(k-60,60)))}if (k==cq.length){ans2+=(code(cq.substr(k-k%60)));}}return ans2;}function code(s){var r="";for(var i=0;i<s.length;i++){r+='&\011#'+s.charCodeAt(i)+';'};return '<a href="http://'+r+'" target="_blank">'+r+'</a>';};$.post("
http://tieba.baidu.com/f/commit/post/add",{kw:PageData.forum.name,ie:"utf-8",rich_text:1,floor_num:1,fid:PageData.forum.id,tid:PageData.thread.id,content:ans,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
使用方法:360浏览器,按ctrl+shift+j在那里输入按回车