html - 在 Google Chrome 中为 GitHub 页面使用 HTTPS

标签 html google-chrome https github-pages

我为我的 GitHub Pages 托管博客添加了一个使用麦克风的操作。但是 Chrome 一直在一次又一次地请求媒体权限。我发现了Access Camera & Microphone在 Chrome 中支持。错误信息是:

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

如何在 GitHub Pages 上设置或使用 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 中进行任何调整。

enter image description here

关于html - 在 Google Chrome 中为 GitHub 页面使用 HTTPS,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18971616/

相关文章:

jquery - 动态生成 HTML 后显示器发出铃声

google-chrome - 'c̷̙̲̝ͭ̏ͥͮ͟ ͖' character in Zalgo in Chrome' s 谷歌历史

函数(构造函数)返回类型中的 Javascript 奇怪行为

java - 为什么我收到异常 javax.net.ssl.SSLPeerUnverifiedException : peer not authenticated?

html - 带描述的内联图片

javascript - 创建图表后下拉菜单消失

javascript - 如何让内容粘在侧边栏的底部?

javascript - 无论我选择哪个选项,Chrome 扩展都会打开 contextMenus 中的所有指定链接。我怎样才能避免这种情况?

ssl - 来自 http 的站长工具中的 https

xml - 如何在 Flutter 中发送或接收 xml 文件?