Monday, May 20, 2024
132
rated 0 times [  138] [ 6]  / answers: 1 / hits: 50290  / 12 Years ago, thu, december 27, 2012, 12:00:00

I'm using Jira in https and I have some adjustments I'd like to make with some extra JS. My JS is hosted on an insecure server (no https available).



When I dynamically load the insecure JS file by inserting it into the DOM (using a browser extension), Chrome tells me:




[blocked] The page at https://jiraserver/browse ran insecure content from http://myserver/jira.js.




I can see how this is very secure and all, but I don't care. I want to load that insecure JS file. How can I tell Chrome to trust me and just do what I say?



My insertion method (in the extension code):



document.body.appendChild((function(s){s.src='http://myserver/jira.js';return s;})(document.createElement('script')));

More From » google-chrome

 Answers
34

According to this Chrome Support Q&A you can launch your Chrome with the following command line flag to prevent Chrome from checking for insecure content:



--allow-running-insecure-content



Here is some documentation on how to run Chrome with command flags


[#81199] Wednesday, December 26, 2012, 12 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ernest

Total Points: 332
Total Questions: 92
Total Answers: 98

Location: Armenia
Member since Sat, Dec 31, 2022
1 Year ago
;