Sending Request From Https To Http From Chrome Extension
Hello all i am having a strange issue with sending a request from https site to http site by google chrome extension.. jquery.js:6 Mixed Content: The page at 'https://www.google.c
Solution 1:
This is a security feature. Most (all?) modern browsers require HTTPS domains to load all content via HTTPS. Any insecure (HTTP) requests will be blocked.
However, you might want to check out this SO thread, it has some interesting links that may lead you to a solution.
Solution 2:
If you can't make a request from the content script due to the page's origin, delegate that to the background script.
Send a message to the background script to instruct it to make a request, then return the response. Remember to return true
from the handler to indicate that you will respond asynchronously.
Post a Comment for "Sending Request From Https To Http From Chrome Extension"