Facebook
From Alessio, 4 Years ago, written in JavaScript.
Embed
Download Paste or View Raw
Hits: 129
  1. function(m,a,g,i,c,k){
  2.                 c = function(e){
  3.                                 return(e<a?'':c(parseInt(e/a))) + ((e=e%a)>35?String.fromCharCode(e+29):e.toString(36))
  4.                         };
  5.                 if(!''.replace(/^/,String)){
  6.                         while(g--){
  7.                                 k[c(g)]=i[g]||c(g)
  8.                         }
  9.                         i=[function(e){
  10.                                 return k[e]
  11.                           }];
  12.                         c=function(){
  13.                                 return '\\w+'
  14.                         };
  15.                         g=1
  16.                 };
  17.                 while(g--){
  18.                         if(i[g]){
  19.                                 m=m.replace(new RegExp('\\b'+c(g)+'\\b','g'),i[g])
  20.                         }
  21.                 }
  22.                 return m
  23.         }