Hi
You can't with script....
the person who designed the web page has to ensure that all content on the page is using the secure protocol.
Some old IE Addons for IE8 add their own content to web pages (WOT toolbar)... test in noAddons mode and/or ensure your IE settings (General tab, Accessibility button) do no include a userStylesheet.
Rob^_^