Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜索 | 用户支持

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

Learn More

Programming code is visible when viewing a page with Firefox, but not on other people's screens..

  • 7 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 lgould

more options

I've added some extra code to automatically show the correct language to visitors based on their location settings. This is working properly for the people who have checked it and they are only seeing the correct language, but the CODE is visible on the webpage when I check it on my own computer. I recognise it must be a Firefox setting on my computer, but can not determine which setting it is. Any help is appreciated.

I've added some extra code to automatically show the correct language to visitors based on their location settings. This is working properly for the people who have checked it and they are only seeing the correct language, but the CODE is visible on the webpage when I check it on my own computer. I recognise it must be a Firefox setting on my computer, but can not determine which setting it is. Any help is appreciated.

被采纳的解决方案

I don't see it on my computer. Can you update to Firefox 63 and test there? Disable all add-ons as well.

定位到答案原位置 👍 1

所有回复 (7)

more options

Please provide a public link (no password) that we can check out. No Personal Information Please !


In order to better assist you with your issue please provide us with a screenshot. If you need help to create a screenshot, please see How do I create a screenshot of my problem?

Once you've done this, attach the saved screenshot file to your forum post by clicking the Browse... button below the Post your reply box. This will help us to visualize the problem.

Thank you!

more options

Sorry, I added a screenshot when I entered the question, but it must not have uploaded. Attached now.

more options

And the link?

more options
more options

选择的解决方案

I don't see it on my computer. Can you update to Firefox 63 and test there? Disable all add-ons as well.

more options

Square brackets are not used for HTML tags. Probably your page code needs to be preprocessed by a server-based platform (for example, a scripting engine such as ASP, JSP or PHP) for those brackets to be interpreted properly. When you open a file directly using a file:// address, the preprocessor is bypassed and you do not get a true view of how the page will render. Instead, you see raw and/or incomplete code.

more options

Thanks Tyler!! I was running an old version. It kept doing an update, but always to an older version. Moving to Version 63 did it for me. Thanks!!!