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.

সহায়তা খুঁজুন

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.

আরও জানুন

Simple HTML commands don't work right.

  • 4 উত্তরসমূহ
  • 2 এই সমস্যাটি আছে
  • 3 দেখুন
  • শেষ জবাব দ্বারা jscher2000 - Support Volunteer

more options

I'm playing around with some IoT stuff and wrote a very simple HTML file. The file itself runs properly on Firefox but the simple HTML response from the remote device is often missed. When it isn't missed it is improperly displayed. A sample response from the remote device is the HTML text "Front off
Back on" (without the quotes). When it does display the response it fails to execute the HTML "
" command and simply displays it as part of the text. I also have a version that sends a response using an SVG command to draw a simple colored circle and that doesn't work either. I get the same results using Firefox on Windows 7 or the Firefox app for Android. I have none of these issues when I use Internet Explorer.

I'm playing around with some IoT stuff and wrote a very simple HTML file. The file itself runs properly on Firefox but the simple HTML response from the remote device is often missed. When it isn't missed it is improperly displayed. A sample response from the remote device is the HTML text "Front off<br>Back on" (without the quotes). When it does display the response it fails to execute the HTML "<br>" command and simply displays it as part of the text. I also have a version that sends a response using an SVG command to draw a simple colored circle and that doesn't work either. I get the same results using Firefox on Windows 7 or the Firefox app for Android. I have none of these issues when I use Internet Explorer.

All Replies (4)

more options

No help here? I even manually sent a small but complete ( and valid) HTML script to the Firefox webpage and it still treats everything as literal text. Sure kills any desire to use Firefox for my Internet of Things projects.

more options

Sorry, this is a Firefox user support forum. Your query is along the lines of a development issue. Did you read the support article that I hyperlinked? It explains where you can get Firefox related help with development for Firefox.

more options

boomer48 said

When it does display the response it fails to execute the HTML "<br>" command and simply displays it as part of the text.

Is this a problem with an ordinary page request or a background request (XMLHttpRequest)?

Firefox usually observes the content-type headers sent from the embedded web server. Make sure it isn't being sent as (or processed as) text/plain.

jscher2000 - Support Volunteer দ্বারা পরিমিত