javascript

How to get Latest Chrome (Version 55) to allow mixed content?  #angularjs #reactjs

  • I have a chrome extension that communicates using HTTP in development and HTTPS in production.
  • I created a folder called c:\_chrome_data and I unpacked my developer extension into chrome extensions and I used this command line.
  • Having your development environment, or at least your development testing environment, be different than your production environment is just asking for problems when you move code from development into production, which is really not when you want to be finding problems.
  • Stack Overflow works best with JavaScript enabled
  • While it is not what you are asking, the right answer is that you make your development environment as near-identical to your production environment as possible.

Mixed Content: The page at ‘https://somesite.com’ was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint ‘http://david-sniper.local:3001/api/end-point’. This content should also be served over HTTPS.

@ng_real_ninja: How to get Latest Chrome (Version 55) to allow mixed content? #angularjs #reactjs

I have a chrome extension that communicates using HTTP in development and HTTPS in production.

I run it from webpages that use HTTPS.

When I use this extension in my development mode I get the following error.

There are two solutiions in this post.

I have never had success with the first solution, but the second solution where you click on the ‘shield’ icon was working up until a few weeks ago.

I’m now on Chrome 55 and there is NO Shield option to click on, so I’m wondering how to get mixed content working in developer mode?

While it is not what you are asking, the right answer is that you make your development environment as near-identical to your production environment as possible. In other words, use HTTPS for both. Having your development environment, or at least your development testing environment, be different than your production environment is just asking for problems when you move code from development into production, which is really not when you want to be finding problems. – Makyen 2 days ago

are warnings, not errors, yes? – guest271314 2 days ago

The actual requests are blocked, e.g. the call to jora-list is not being executed, so while the messages are warnings, the effect is a broken code. – David Cruwys 2 days ago

there is a chrome startup parameter to disable all security. look into it. – Zig Mandel 2 days ago

javascript