So to get the full URL path in JavaScript: ... Use window.location.hostname instead of window.location.host. eg. example.com:8888.
確定! 回上一頁