Safari从一个页面跳转到另一个页面再返回时js不会重新执行,因为Safari采用了[ back-forward cache](https://developer.mozilla.org/en-US/docs/Working_with_BFCache) 解决方法如下: ```javascript window.onpageshow = function(event) { if (event.persisted) { window.location.reload() } }; ``` 参见[stack overflow](http://stackoverflow.com/questions/5297122/preventing-cache-on-back-button-in-safari-5)