Sykje yn Support

Mij stipescams. Wy sille jo nea freegje in telefoannûmer te beljen, der in sms nei ta te stjoeren of persoanlike gegevens te dielen. Meld fertochte aktiviteit mei de opsje ‘Misbrûk melde’.

Mear ynfo

Dizze konversaasje is argivearre. Stel in nije fraach as jo help nedich hawwe.

Simple HTML commands don't work right.

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.

Alle antwurden (4)

more options
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.

Bewurke troch jscher2000 - Support Volunteer op