Google Secure Pro

By contarc Last update Dec 4, 2009 — Installed 30,513 times. Daily Installs: 23, 21, 13, 104, 59, 29, 27, 47, 92, 25, 43, 29, 37, 26, 28, 17, 16, 28, 24, 24, 20, 18, 23, 19, 19, 15, 20, 41, 21, 16, 17

Archived Comments (locked)

Subscribe to Archived Comments 7 posts, 6 voices

Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
Master of Pu... Scriptwright

Yes, Google goofed on that:)

 
contarc Script's Author

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

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

 
contarc Script's Author

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.

 
FF3user User

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?

 
LilJonny53 User

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)

 
gabedibble Scriptwright

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

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel