if url is this do this jquery code example
Example: jquery check if url contains string
//If URL contains "mystring"
if (window.location.href.indexOf("mystring") > -1) {
}
//If URL contains "mystring"
if (window.location.href.indexOf("mystring") > -1) {
}