Join the Mozilla’s Test Days event from 9–15 Jan to test the new Firefox address bar on Firefox Beta 135 and get a chance to win Mozilla swag vouchers! 🎁

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

FF (latest version) not loading a local htm file

  • 1 回覆
  • 0 有這個問題
  • 168 次檢視
  • 最近回覆由 TyDraniu

more options

Hi, I have local saved html file which loads images from our security cams The html has only code like this

<html>
<head></head>
	<body>
<script type="text/javascript">
  var height_array = new Array();
<script type="text/javascript">
  var height_array = new Array();
  var width_array = new Array();
  width_array[1] = 320;
  height_array[1] = 240;

<img src="http://192.168.2.2:78/livefeed?oid=1&size=640x480&t=" width="320" height="240" onload='setTimeout(function() {src = src.substring(0, (src.lastIndexOf("t=")+2))+(new Date()).getTime()}, 1000)' onerror='setTimeout(function() {src = src.substring(0, (src.lastIndexOf("t=")+2))+(new Date()).getTime()}, 5000)' alt='' />

<.../script....>

No matter what I change in the "normal" settings - Firefox is not loading the page at all.(file:///Users/drew/Downloads/CAM2.html)

In the left bottom corner it only shows "Performing a TLS Handshake with 192.168.2.2". And thats it. Every other browser is able to open the page and show the camera pictures, only Firefox not. Is there a easy fix for this?

Hi, I have local saved html file which loads images from our security cams The html has only code like this <pre><nowiki><html> <head></head> <body> <script type="text/javascript"> var height_array = new Array(); <script type="text/javascript"> var height_array = new Array(); var width_array = new Array(); width_array[1] = 320; height_array[1] = 240; <img src="http://192.168.2.2:78/livefeed?oid=1&size=640x480&t=" width="320" height="240" onload='setTimeout(function() {src = src.substring(0, (src.lastIndexOf("t=")+2))+(new Date()).getTime()}, 1000)' onerror='setTimeout(function() {src = src.substring(0, (src.lastIndexOf("t=")+2))+(new Date()).getTime()}, 5000)' alt='' /> <.../script....> </nowiki></pre> No matter what I change in the "normal" settings - Firefox is not loading the page at all.(file:///Users/drew/Downloads/CAM2.html) In the left bottom corner it only shows "Performing a TLS Handshake with 192.168.2.2". And thats it. Every other browser is able to open the page and show the camera pictures, only Firefox not. Is there a easy fix for this?

由 cor-el 於 修改

被選擇的解決方法

Try to enter about:config in the address bar and switch security.mixed_content.upgrade_display_content.image = false.

從原來的回覆中察看解決方案 👍 3

所有回覆 (1)

more options

選擇的解決方法

Try to enter about:config in the address bar and switch security.mixed_content.upgrade_display_content.image = false.

由 TyDraniu 於 修改