看板 Ajax 關於我們 聯絡資訊
請問有人在jsfiddle 上掛別的字體嗎? @font-face { font-family: 'newFonrAAA'; src: url('//xxx.yyy/zzz.ttf'); } 但使用上會出現錯誤訊息 Font from origin 'http://xxx.yyy' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://fiddle.jshell.net' is therefore not allowed access. 請問這怎麼搞定呢? 感謝! -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 218.211.32.194 ※ 文章網址: https://www.ptt.cc/bbs/Ajax/M.1425437908.A.B9E.html
mmis1000: 要你的網址來源有設Access-Control-Allow-Origin 03/04 12:12
mmis1000: 才可以,像是dropbox之類就有,如果是你自己的站,就自 03/04 12:12
mmis1000: 己加吧 03/04 12:13
john110290: 原來如此! 有方向了感謝~ 03/04 12:57