Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

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