javascript can user change script location code example Example: window replace url location.replace("url");