Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install

Google Secure

Google sites and apps over SSL

This scripts redirects Gmail, Google Calendar, Google Docs and Spreadsheets, Google Reader and Google Apps from HTTP to HTTPS.

History:
v1.1:
- Added spreadsheets
v1.0:
- first version






1 point
login to vote
FF3user user
Posted Jun 11, 2008

What difference does it do, having 'window' in the code like your script does?:

window.location.href = window.location.href.replace(/^http:/, 'https:');

Instead of just:

location.href = location.href.replace(/^http:/, 'https:');

Like the http://userscripts.org/scripts/show/5951 'Google Secure Pro' script have.

You could comment on this script if you were logged in.