Google Secure Pro

By contarc Last update May 22, 2010 — Installed 70,430 times.

Optimization

in
Subscribe to Optimization 2 posts, 2 voices



Bob3333 User
FirefoxWindows

Why reload the page if it's already SSL?

var url = window.location.href;

if (url.substring(0,7) == 'http://') {
window.location.replace(url.replace(url.substring(0,7), 'https://'));
}

 
contarc Script's Author
OperaWindows

Thanks for the suggestion. This has been implemented.