/ Published in: JavaScript
Expand |
Embed | Plain Text
var url = (window).location.toString() url.indexOf("nomobile")!=-1 //"nomobile" is in the string url.indexOf("nomobile")==-1 //"nomobile" is NOT in the string
You need to login to post a comment.
