This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 7 replies
  • 1 has this problem
  • 1 view
  • Last reply by 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.

Chosen solution

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

Read this answer in context 👍 1

All Replies (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

Chosen Solution

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!!!