Safari 9 不显示 SVG 固定标签图标
Safari 9 Not Showing SVG Pinned Tab Icon
我在 El Capitan as documented by Apple here 上为 Safari 9 创建了一个新的 pinned-tab 图标 as documented by Apple here 但是当我固定标签时我似乎无法让 Safari 实际显示它。
这是我的 header 中的行:
<link rel="mask-icon" href="https://towatchlist.com/img/twl.svg" color="red">
当我关注 the link to the SVG file 时,Safari 确实能很好地显示图像,但即使在重新加载和 pin/unpin 等之后,固定标签图标仍然显示 auto-generated 字母图像
我尝试打开 GitHub 的 SVG(它正在工作)并在那里复制一般标记,但这也没有解决问题。我还简要浏览了 Safari 控制台,但甚至没有看到它试图登陆 SVG 文件。
关于如何调试这个问题的任何建议或关于问题出在哪里的想法?
看起来 Safari 正在积极缓存(甚至没有缓存)这些图标。在超级用户上发现 the answer:
Delete the contents of the following folder:
~/Library/Safari/Template Icons
And then restart Safari.
我在 El Capitan as documented by Apple here 上为 Safari 9 创建了一个新的 pinned-tab 图标 as documented by Apple here 但是当我固定标签时我似乎无法让 Safari 实际显示它。
这是我的 header 中的行:
<link rel="mask-icon" href="https://towatchlist.com/img/twl.svg" color="red">
当我关注 the link to the SVG file 时,Safari 确实能很好地显示图像,但即使在重新加载和 pin/unpin 等之后,固定标签图标仍然显示 auto-generated 字母图像
我尝试打开 GitHub 的 SVG(它正在工作)并在那里复制一般标记,但这也没有解决问题。我还简要浏览了 Safari 控制台,但甚至没有看到它试图登陆 SVG 文件。
关于如何调试这个问题的任何建议或关于问题出在哪里的想法?
看起来 Safari 正在积极缓存(甚至没有缓存)这些图标。在超级用户上发现 the answer:
Delete the contents of the following folder:
~/Library/Safari/Template Icons
And then restart Safari.