jquery自分自身のURLから特定する

//about page flag
if(location.pathname.indexOf(“about”)!=-1){
console.log(“OK”);
}