MCPcopy Create free account
hub / github.com/hoothin/UserScripts / isCleanStr

Function isCleanStr

True URL downloads/True URL downloads.user.js:209–213  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

207 }
208
209 function isCleanStr(s){
210 var str = decodeURI(s);
211 var patrn = /^([\u4E00-\u9FA5]|[\uFE30-\uFFA0]|[A-Za-z0-9\+\/\=\_\-\.\【\】\[\]\:\|\!\~\#\$\%\^\&\*\(\)\+\?\<\>\《\》\@\`])+$/gi;
212 return(patrn.test(str));
213 }
214
215 function base64decode(a) {
216 var b, c, d, e, f, g, h;

Callers 2

DecryptionFunction · 0.85
YuFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected