Instantly share code, notes, and snippets.
CreatedJune 2, 2012 04:35
Save zythum/2856612 to your computer and use it in GitHub Desktop.
检测google敏感词
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
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+'个'); |
tinymins commentedJun 2, 2012
TypeError: Cannot call method 'NF' of undefined
为毛、
tinymins commentedJun 2, 2012
.L 这个是神马、我表示只看到.LG什么的
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment