來源
Why? because it could break the "back" button. Imagine that the user presses the "back" button, the refresh would work again, and the user would bounce forward. The user will most likely get very annoyed, and close the window, which is probably not what you, as the author of this page, want.
這會讓瀏覽器前頁按鈕失效(往前頁後卻不斷的被導引),對使用者會有很大困擾。
用js來轉window.location.replace([string])
沒有留言:
張貼留言