搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

local .htm site - .jpg not loading via javascript

  • 3 个回答
  • 0 人有此问题
  • 4 次查看
  • 最后回复者为 akassim

more options

One of the functions of our website is a local download of a portion of the site. When downloaded an .htm file (and its companion directory) are downloaded. When the .htm file is loaded, a .jpg file should correctly load via javascript. It no longer works in Firefox but it does work in Chrome and Edge. Screenshot 1 and 2 show it working in Edge and Chrome, 3 shows it not loading in Firefox. Does anyone have any ideas on why this can be happening? I've already tried Troubleshooting mode, new profile, different computer - nothing seems to be working.

One of the functions of our website is a local download of a portion of the site. When downloaded an .htm file (and its companion directory) are downloaded. When the .htm file is loaded, a .jpg file should correctly load via javascript. It no longer works in Firefox but it does work in Chrome and Edge. Screenshot 1 and 2 show it working in Edge and Chrome, 3 shows it not loading in Firefox. Does anyone have any ideas on why this can be happening? I've already tried Troubleshooting mode, new profile, different computer - nothing seems to be working.
已附加屏幕截图

所有回复 (3)

more options

Also, from the Javascript Errors Notifier extension, I got this error (attached) - SecurityError: The operation is insecure.

more options

The first to do in such a case is to check the Web Console for security and other relevant-looking messages.


You can check the Web Console (Tools -> Web Developer) for messages about blocked content and about the presence of mixed or unsafe content.

You can check the Network Monitor to see if content is blocked or otherwise fails to load.

If necessary use "Ctrl+F5" or "Ctrl+Shift+R" (Mac: Command+Shift+R) to reload the page and bypass the cache to generate a fresh log.

more options

I'm not seeing an error that would be the cause of that. Attached is a screenshot showing some unreachable code errors. I think it's important to reiterate two points - The webiste has been downloaded locally so Network Monitor isn't useful. The site works in both Chrme and IE and previously worked in .Can you tell me which version made changes to javascript handling?


Ade