Hiển thị các câu hỏi được đánh dấu: Xem tất cả các câu hỏi

The stylesheet was not loaded because its MIME type, “text/html”, is not “text/css”.

I am sorry if this is not the place to ask this question. I am new to web development and have been trying to solve this issue for days. I have an ESP32 acting as an http… (xem thêm)

I am sorry if this is not the place to ask this question. I am new to web development and have been trying to solve this issue for days. I have an ESP32 acting as an http server. I have developed web pages which have separate html, css, and javascript files. These work as expected when delivered locally (i.e. I double click on the the files), however, when they are served by the ESP the style sheet is ignored and I get the message

The stylesheet (url) was not loaded because its MIME type, “text/html”, is not “text/css”.

from Firefox debugger. The stylesheet is ignore across all browsers (Firefox, Chrome, Opera, Edge), however the error is only shown in Firefox. Normally, of course, I would expect an issue on the ESP32 side, however, the non-Firefox browsers do load the stylesheet (even tough they ignore it) and I am able to verify that the stylesheet is identical to the one served locally.

Oddly, if I open a Firefox tab and load the page, switching to developer mode causes several requests for the stylesheet and the styles are then applied. Subsequent refreshes of the page causes the style to be lost and closing/opening developer mode has no effect.

Although I have disabled javascript to try fix this problem, when javascript is loaded I get a similar message (except the javascript is loaded).

I believe I specified the MIME type because I exactly coped several examples

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8"/> 
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <link rel="stylesheet" type="text/css" href="styles.css" />
<!--<link rel="stylesheet" type="text/css" href="name-of-stylesheet.css" />    -->
<!--    <script type="text/javascript" src="ESP-UI.js"></script> -->
    <title>My ESP32</title>
</head>


Thanks for the help!

Được hỏi bởi nairb1958 5 tháng trước

Lần cuối trả lời bởi cor-el 5 tháng trước

Failure restorng from bookmark backup

This question relates to version 134.0.2 (64-bit). This morning I started Firefox and found that many of my bookmarks were missing. On trying to restore from the program … (xem thêm)

This question relates to version 134.0.2 (64-bit). This morning I started Firefox and found that many of my bookmarks were missing. On trying to restore from the program automatic backups, I get the repeated message "Unable to process the backup file." On examination, the files, while not in ASCII, appear to contain ASCII text strings recognizable from the bookmark descriptions. They are not, at least, empty. Unfortunately, I do not have an HTML format backup. Any idea why none of the backups work or what options I have? Thanks in advance.

Được hỏi bởi dclarke1 5 tháng trước

Lần cuối trả lời bởi cor-el 5 tháng trước

Website pages will not load.

Starting early this morning I could not open a website (where I purchase supplements) I have accessed in the recent past. I added the address to the DNS listing but that… (xem thêm)

Starting early this morning I could not open a website (where I purchase supplements) I have accessed in the recent past. I added the address to the DNS listing but that didn't help. In the verification lock icon in front of the address it says the connection is secure. But below it states the Connection verified by a certificate issuer that is not recognized by Mozilla. Prior to 1/22/25, I had no issues opening this or other websites. It doesn't matter if I have my VPN turned off or not, the website does not open. Was the Mozilla update of 1/22 the cause? If so, how do I rectify the issue I currently have? If not, how do I rectify the issue I have?

Được hỏi bởi nemesis56 5 tháng trước

Lần cuối trả lời bởi jonzn4SUSE 5 tháng trước

Keep Picture-in-Picture audio playing when closing

When using the PiP feature is there a way to switch whether it pauses the video when closing the PiP player? Often if i want the audio to continue but dont want the popo… (xem thêm)

When using the PiP feature is there a way to switch whether it pauses the video when closing the PiP player?

Often if i want the audio to continue but dont want the popout player there and if I press the close button it will just stop the audio. If I select the PiP window and use the shortcut CTRL + SHIFT + ] the audio will continue playing as I want it however this is inconvenient and requires using the keyboard, is there any way to change it so that closing the popout player doesn't stop the tab from playing audio?

Được hỏi bởi ronancooley1 5 tháng trước

Lần cuối trả lời bởi markwarner22 5 tháng trước