Skip to content

Instantly share code, notes, and snippets.

@zhuomingliang
Forked from zythum/gist:2856612
Created June 24, 2012 02:02
Show Gist options
  • Save zhuomingliang/2981008 to your computer and use it in GitHub Desktop.
Save zhuomingliang/2981008 to your computer and use it in GitHub Desktop.
检测google敏感词
var b=_.L.NF().getKey(), c= _.L.NF().eH(), f=[];
for(var g=0,l=c.length,t=[],i; i=c[g],g<l; f.push(t.join('')),g++)
for(t=[],p=0;p<i.length;++p)
t.push(window.String.fromCharCode(i[p]^b));
console.log(f.join('\n')+'\n总数:'+f.length+'个');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment