本文介绍了在Chrome中重新启用window.alert的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我意外地在Chrome中检查了禁止本网站的警报框,现在我无法在我的本地主机上获得任何window.alert。

I accidently checked the "disable alerts from this site" box in Chrome, and now I cannot get any window.alert to work on my localhost.

我有尝试重新设置高级设置,但没有运气。

I have tried resetting the settings in advanced but no luck.

推荐答案

关闭并重新打开选项卡。这应该会有诀窍。

Close and re-open the tab. That should do the trick.

这篇关于在Chrome中重新启用window.alert的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-24 04:41