How to Check if Current URL Contains String in JavaScript ; test(string) ; if (/URL/.test(window.location.href)) { alert("The URL contains the string 'URL'"); } ; ( ...
確定! 回上一頁