Google Secure Pro

Last update on Oct 4, 2008

Forces gMail, gCal, Google Docs, History, Bookmarks and Reader to use (https) secure connection . Also compatible with Opera 9+.

UPDATE: 4/10/07 : Added support for Google Reader.
UPDATE: 5/02/07 : Added support for Google History and Google Bookmarks.
UPDATE: 5/09/07 : Added support for iGoogle.
UPDATE: 5/10/07 : Removed iGoogle. Noticed it won't allow user to search from the SSL iGoogle. Researching workaround..

UPDATE: 3/24/08 : Added support for Google Groups
UPDATE: 7/24/08 : Added support for Google Sites
UPDATE: 10/04/07: Added support for Google Knol




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

6 comments Feed-icon

0 points
login to vote
Master of Pu... scriptwright
Posted Aug 2, 2008

Yes, Google goofed on that:)

1 point
login to vote
contarc script's author
Posted Jul 25, 2008

http://gmailblog.blogspot.com/2008/07/making-se...

Google finally adds 'always use https' option to Gmail.

0 points
login to vote
contarc script's author
Posted Jul 24, 2008

FF3user: Here is a thread addressing your question. http://bytes.com/forum/thread148000.html Basically it boils down to it being implied when you do not specify 'window'.

Differences between Google Secure and Google Secure Pro:

Google Secure forces SSL on
https://www.google.com/accounts/*
https://www.google.com/a/*
http://mail.google.com/a/*.

Google Secure Pro forces SSL on
http://mail.google.com/*
http://www.google.com/calendar/*
http://docs.google.com/*
http://spreadsheets.google.com/*
http://www.google.com/reader/*
http://www.google.com/bookmarks/*
http://www.google.com/history/*
http://groups.google.com/*
http://sites.google.com/*

I do not include google.com/accounts because this page is already SSL forced. Same with google.com/health.

No idea why Google doesn't force Gmail to use this by default. It's just plain silly on their part.

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

Hey...
What difference does it do, not having 'window' in the code like your script doesn't?:

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

Contrary to this:

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

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

And what is the difference between your script and this script: http://userscripts.org/scripts/show/26175 'Secure GMail'?

Also: Why doesn't Gmail do this by default? Why not use https all the time? there must be a reason?

1 point
login to vote
LilJonny53 user
Posted Apr 1, 2008

very nice (note: be sure to adjust other scripts, that you may have installed, that apply to the Google service affected by this script, so the scripts continue to work correctly with the change in security configuration)

1 point
login to vote
gabedibble scriptwright
Posted Apr 8, 2007

Author: Please check out User Script Updates - simply update the header of your script and your users will be able to receive change-notification when you improve this script

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