Skip to content Skip to sidebar Skip to footer

Firefox Doesn't Load Local File In Iframe

I have a file file:///C:/Users/7%20Legged%20Spider/Desktop/test.html When I set it into an iframe < iframe src='file:///C:/Users/7%20Legged%20Spider/Desktop/test.html'> T

Solution 1:

It is because of security issue. You can not bypass it by any mean.

You should not use local file as href because of:

  • Security problems
  • "Unexpected" URLs (not everyone has C:\)
  • If you are using it only for development, you may want to upload the file to your server in order to include it.

Post a Comment for "Firefox Doesn't Load Local File In Iframe"