ニュース
The problem with your latter post is that indexOf returns (-1) when the substring is not found. <BR><BR>-1 == true<BR><BR>Instead test if the indexOf ("index2.htm") > -1.
現在アクセス不可の可能性がある結果が表示されています。
アクセス不可の結果を非表示にする現在アクセス不可の可能性がある結果が表示されています。
アクセス不可の結果を非表示にする