I am working on a chrome extension that auto fills and logins the user to a local hosted web based software that unfortunately runs on http(and there is no way to change that), to perform specific automated tasks through the extension. During every login, Chrome browser redirect's to "Form is insecure" page and there is no way to access it through the content script, so that I can perform a click operation on the "Send anyway" button on that page and proceed further to my actual website.
Whatever data or message I send from background script is only received after I manually click the "Send anyway" button. I even tried choosing to "allow" the insecure content on browser's privacy setting for the particular URL of my website but no luck. Is there anyway to get around this? A way to programmatically access the button or permanently disable browser from redirecting to this.