html5 – 在谷歌浏览器中为GitHub页面使用HTTPS

我添加了一个操作,将麦克风用于我的
GitHub Pages托管博客.但Chrome一次又一次地要求获得媒体许可.我发现Chrome支持
Access Camera & Microphone.错误消息是:

“If you select Allow on a “http” URL your preference will not be remembered in future visits.”

如何在GitHub页面上设置或使用HTTPS?或者至少如何让Chrome在首选项中记得允许.

最佳答案 自2016年6月(三年后)以来,GitHub页面确实支持https!

见“HTTPS for GitHub Pages

GitHub Pages now officially1 supports HTTPS for all <username>.github.io sites. HTTPS provides a layer of encryption that prevents others from snooping on or tampering with traffic to your Pages site.

You can now visit *.github.io sites using HTTPS and configure HTTPS enforcement for your site.
With HTTPS enforcement enabled, any HTTP requests to your github.io site will be transparently redirected to HTTPS.

无需在Chrome中调整任何内容.

《html5 – 在谷歌浏览器中为GitHub页面使用HTTPS》

点赞