search

Home  >  Q&A  >  body text

javascript - When using IE 11 to open an html file containing js on a local disk, a prompt will appear below that IE has restricted this webpage from running scripts.

Is there any way to add some code to the html to avoid IE's behavior of prohibiting js code under the file protocol? Thanks.

为情所困为情所困2756 days ago467

reply all(1)I'll reply

  • 淡淡烟草味

    淡淡烟草味2017-05-19 10:33:32

    Please add

    in front of the html tag
    <!-- saved from url=(0014)about:internet -->

    reply
    0
  • Cancelreply