我希望從Chrome的自定義樣式表C:\Users\*\AppData\Local\Google\Chrome\User Data\Default\User StyleSheets\Custom.css
中導入其他的css文件,但它似乎沒有工作。我在上面的同一目錄中有stylish.1misc.css
和stylish.2img.css
。還與符號鏈接我已經設置它們在我的LocalServer爲http://localhost/.my/stylish.2img.css
但沒有的@import規則似乎是工作爲什麼我不能從Chrome的用戶樣式表Custom.css中導入@import?
@import "stylish.1misc.css";
@import url("stylish.1misc.css");
@import url("http://localhost/.my/stylish.2img.css");
@import url("file:///D:/.localhost/.my/stylish.1misc.css");
爲什麼不會將其導入?
幾乎除IE以外的每個瀏覽器都不會讓您鏈接到用戶文件系統的內容。這被認爲是一個安全漏洞(IE認爲它是一個*功能*)。 – cimmanon