Fork me on GitHub
#squint
<
2023-12-11
>
Chris McCormick00:12:54

I may be doing something dumb but when I visit that URL in FF I get the following errors and see screenshot for non-render:

Loading module from "" was blocked because of a disallowed MIME type ("text/html").

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at . (Reason: CORS request did not succeed). Status code: (null).

borkdude07:12:17

it works fine here in FF 120.01 on macOS, what version are you on?

borkdude07:12:53

Older browsers don't have decent importmaps support sometimes

Chris McCormick08:12:02

It says 120.0.1 (64-bit) (on Ubuntu).

Chris McCormick08:12:31

When I request that file with curl it says Content-Type: application/javascript so it's a bit strange it is blocking it becaue of MIME type text/html :thinking_face:

borkdude08:12:50

do you use any extensions?

Chris McCormick08:12:55

No extensions installed in that browser instance.

Chris McCormick08:12:18

On my regular browsing instance I am seeing this:

es-module-shims.js
Uncaught DOMException: String contains an invalid character
    <anonymous> 
thinking-face

Chris McCormick08:12:19

And now I have reloaded in both browsers and it is working fine. Not sure what was going on there, sorry for the noise!

borkdude08:12:27

for some reason the squint playground doesn't work on my old iPhone SE 2017 but it does work on my newer iPhone although they have the same iOS version. I hope this importmaps stuff will continue to improve...