魅族吧 关注:9,110,951贴子:99,231,129

回复:(打敦dun字教程)繁体字通用,欢迎大家实验

只看楼主收藏回复

这是什么脚本?


IP属地:福建99楼2013-01-19 21:54
回复


    100楼2013-01-19 22:11
    收起回复
      2026-02-14 16:45:48
      广告
      不感兴趣
      开通SVIP免广告


      104楼2013-01-19 22:32
      回复


        105楼2013-01-19 22:37
        回复


          来自Android客户端106楼2013-01-19 23:19
          回复
            敦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();})();


            来自Android客户端107楼2013-01-19 23:20
            回复
              敦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();})();


              来自Android客户端108楼2013-01-19 23:20
              回复


                IP属地:山西109楼2013-01-19 23:33
                回复
                  2026-02-14 16:39:48
                  广告
                  不感兴趣
                  开通SVIP免广告


                  IP属地:新疆110楼2013-01-20 00:02
                  回复


                    IP属地:新疆111楼2013-01-20 00:03
                    回复
                      亲们会了吗


                      来自Android客户端112楼2013-01-20 10:39
                      回复


                        来自Android客户端113楼2013-01-20 10:46
                        回复


                          114楼2013-01-20 12:54
                          回复


                            115楼2013-01-20 12:59
                            收起回复
                              2026-02-14 16:33:48
                              广告
                              不感兴趣
                              开通SVIP免广告


                              116楼2013-01-20 12:59
                              回复