stephancasas / webdirect-font-utility

A custom font loader utility for FileMaker WebDirect
MIT License
12 stars 2 forks source link

doesn't work on safari 14 #1

Open cwaharte opened 3 years ago

cwaharte commented 3 years ago

hi . your hack is working well on chrome (macOS 11.6) but not on Safari 14.1.2. safari inspector signifies an error on web viewer load " webd = parent.document" ->SecurityError: Blocked a frame with origin "null" from accessing a cross-origin frame. Protocols, domains, and ports must match.

any idea ?

stephancasas commented 3 years ago

The intention of serving-up via data uri was to completely circumvent this issue. If the newer version of Safari has safeguards against this for some reason, it may be necessary to serve the utility from the server.

I'll run some tests and let you know what I find.

Thanks!