Search Support

Beware of phishing attacks: Mozilla will never ask you to call a number or visit a non-Mozilla website. Please ignore such requests.

Learn More

Cuireadh an snáithe seo sa chartlann. Cuir ceist nua má tá cabhair uait.

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

  • 7 bhfreagra
  • 1 leis an bhfadhb seo
  • 56 views
  • Freagra is déanaí ó 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.

Réiteach roghnaithe

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

Réiteach Roghnaithe

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