chrome-redirector

起因

https://github-atom-io-herokuapp-com.global.ssl.fastly.net/assets/application-ba07c5c2889a34307a4b7d49410451d9.css
不能使用https访问,使用chrome-redirector(商店已经下架,以防万一,已经备份了一个到百度云盘)重定向到http

Refused to load the script 'http://github-atom-io-herokuapp-com.global.ssl.fastly.net/assets/application-3db62b578ebfc39ee871abc91b175302.js'
because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-inline'
https://ssl.google-analytics.com
https://www.google-analytics.com
https://platform.twitter.com https://github-atom-io-herokuapp-com.global.ssl.fastly.net".

由于CSP,chrome报错,进而又安装了plugin:Disable Content-Security-Policy,正确的web解决方法

可是仍然报错:

Mixed Content: The page at 'https://atom.io/' was loaded over HTTPS,
but requested an insecure stylesheet
'http://github-atom-io-herokuapp-com.global.ssl.fastly.net/assets/application-ba07c5c2889a34307a4b7d49410451d9.css'.
This request has been blocked; the content must be served over HTTPS.

chrome URL的最右边,容许加载不安全的脚本。以下参照Enabling mixed content in Google Chrome,How to allow Chrome (browser) to load insecure content?

  1. Click the alert shield icon in the address bar.
  2. In the icon dialog box, click Load anyway.
  3. The site will reload; if within ANGEL, users will be returned to the course homepage.
  4. Upon returning to the page or link in question, the content will now be visible.
  5. 补充一下,浏览器重启后失效

rules