Die Funktionalität dieser Website ist durch Wartungsarbeiten eingeschränkt, die Ihr Erlebnis verbessern sollen. Wenn ein Artikel Ihr Problem nicht löst und Sie eine Frage stellen möchten, können Sie unsere Gemeinschaft über @FirefoxSupport auf Twitter, /r/firefox oder Reddit fragen.

Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Telefonnummer anzurufen, eine SMS an eine Telefonnummer zu senden oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Weitere Informationen

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 Antworten (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.

Geändert am von jscher2000 - Support Volunteer