URLにgender=men&dir =が含まれている場合、私は以下を使用してsomtingを実行しています
if(window.location.href.indexOf("gender=men&dir=") > -1) {
}
ここで、URLにはgender = men&dir =が含まれ、&dir=Schoenenは何かを実行しないと言う必要があります
私はこれを試していましたが、機能していません
if(window.location.href.indexOf("gender=men&dir=" || !"&dir=Schoenen") > -1) {
}