Google chrome not displaying alert() popups for one site

后端 未结 8 654
北海茫月
北海茫月 2021-02-05 03:38

I was working on a javascript loop that alerted each key value as the loop progressed.

To speed things along, I checked the box \"Prevent this page from creating additio

相关标签:
8条回答
  • 2021-02-05 04:27

    All you have to do is restart your browser. Try it on another browser and see if it works, if it does work (i.e, are you able to see your pop up?), then you should just be able to restart your browser to fix it.

    This happened to my on google chrome and I fixed it by quitting and re=opening my browser.

    0 讨论(0)
  • 2021-02-05 04:29

    Put this line at the end of body, may be DOM is not ready yet when compiler reads this line

    <script type="text/javascript" src="script.js"></script>"
    
    0 讨论(0)
提交回复
热议问题