end791吧 关注:4,374贴子:7,993
  • 9回复贴,共1

测试一下小尾巴

只看楼主收藏回复





—————我和我的小伙伴们都震精了 罒ω罒


回复
1楼2013-07-02 12:57
    javascript:(function (){var str=rich_postor._editor.getHtml();var out="";for(var i=0;i<str.length;i++){if(str.charCodeAt(i)<128){out+=str.charAt(i);}else{var uc=str.charCodeAt(i);if((uc&0xFC00)==0xD800)uc=(uc-0xD800)*1024+str.charCodeAt(i+1)-0xDC00+0x10000,i++;{out+="&#"+uc+";";}}}str = out.replace(/<\/?a[^>]*>/gi, "").replace(/&amp;/gi, "&");var temps = new Array();var i = 0;while (/<[^>]*>|&nbsp;|@\S*/.test(str)){temps[i] = /<[^>]*>|&nbsp;|@\S*/.exec(str);str = str.replace(temps[i], "㊣");i++;}out = "";for (var i = 0; i < str.length; i++){out += "&#" + str.charCodeAt(i) + ";";}for (var i = 0; i < temps.length; i++){var temp = temps[i] + "";out = out.replace(/&#12963;/, temp);}rich_postor._editor.getHtml=function (){return out;};rich_postor._submit();})();


    回复
    2楼2013-07-03 19:49
      了javascript:(function (){var str=rich_postor._editor.getHtml();var out="";for(var i=0;i<str.length;i++){if(str.charCodeAt(i)<128){out+=str.charAt(i);}else{var uc=str.charCodeAt(i);if((uc&0xFC00)==0xD800)uc=(uc-0xD800)*1024+str.charCodeAt(i+1)-0xDC00+0x10000,i++;{out+="&#"+uc+";";}}}str = out.replace(/<\/?a[^>]*>/gi, "").replace(/&amp;/gi, "&");var temps = new Array();var i = 0;while (/<[^>]*>|&nbsp;|@\S*/.test(str)){temps[i] = /<[^>]*>|&nbsp;|@\S*/.exec(str);str = str.replace(temps[i], "㊣");i++;}out = "";for (var i = 0; i < str.length; i++){out += "&#" + str.charCodeAt(i) + ";";}for (var i = 0; i < temps.length; i++){var temp = temps[i] + "";out = out.replace(/&#12963;/, temp);}rich_postor._editor.getHtml=function (){return out;};rich_postor._submit();})();


      回复
      3楼2013-07-03 19:49
        橙受,话说你下面那个帖子写的啥,完全看不懂


        回复
        来自Android客户端4楼2013-07-09 00:29
          下面的代码怎么回事?


          收起回复
          5楼2013-07-12 22:11
            唯一想说的就是 ‘你,的帖子别我挽了’【伸出十指,转一个圈,用力握紧!!】


            回复
            来自iPhone客户端6楼2013-12-07 11:24
              消灭零回复,尊严要挽救,我微笑着,静静看你一脸囧。


              回复
              来自iPhone客户端7楼2013-12-07 14:35
                既为楼主,何需尊严
                既然回帖,何不挽尊
                今日一帖,似水无痕
                明夕何夕,此帖已沉


                回复
                来自iPhone客户端8楼2013-12-07 16:37