藤原栗子工作室
這邊記錄我的人生與學習記錄
顯示具有
data chrome chrome-extension https
標籤的文章。
顯示所有文章
顯示具有
data chrome chrome-extension https
標籤的文章。
顯示所有文章
2017年5月31日 星期三
JavaScript學習筆記-cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https
cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https
今天練習js操作ajax的時候一直無法取得來源網頁資訊,透過開發工具(f12)查看,發現了這個錯誤訊息! 找了一下,發現只要在chrome目標上加上『 –allow-file-access-from-files』即可。
較舊的文章
首頁
訂閱:
文章 (Atom)