Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.4: Force the Gmail widget to use https connections Apps
By default, Gmail uses https for its login routine but reverts to http for general website usage. As noted in this previous hint, one can force full-time https by simply typing in an 's' at the beginning the Gmail URL.

Google's Gmail Dashboard widget follows the default routine, but just like using the website, one can force it to use https full time. This requires editing a file within the widget, so it would make sense to make a backup copy in case you're worried about messing things up. Alternatively, you could always re-download the widget from Google if you break something. Here's how to modify the widget:
  1. Turn off the Gmail widget if its running on Dashboard
  2. In the Finder, navigate to ~/Library/Widgets
  3. Control-click on Gmail.wdgt then select Show Package Contents from the pop-up menu.
  4. Open the Scripts folder, and find the file called GmailInteraction.js. Open this file with a text editor such as Text Edit or TextMate. Go to line five; it should look like this:
    Gmail.gmailUrl = "http://mail.google.com/mail";
    Simply add an s after the http, so that it looks like this:
    Gmail.gmailUrl = "https://mail.google.com/mail";
  5. Save your edited file and quit the editor.
Now load the Gmail widget in Dashboard, and enjoy the now-encrypted access to your Gmail account.
    •    
  • Currently 2.00 / 5
  You rated: 3 / 5 (4 votes cast)
 
[14,254 views]  

10.4: Force the Gmail widget to use https connections | 4 comments | Create New Account
Click here to return to the '10.4: Force the Gmail widget to use https connections' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Force the Gmail widget to use https connections
Authored by: S Barman on Feb 16, '07 06:11:55AM
Maybe you should consider upgrading your widget. In the directory ~/Library/Widgets/Gmail Inbox.wdgt/JavaScript, within the file Gmail.js, the Gmail.authenticateUser function shows that the authentication uses an HTTP POST to https://www.google.com/accounts/ClientAuth. No editing required.

[ Reply to This | # ]
10.4: Force the Gmail widget to use https connections
Authored by: alex_kac on Feb 16, '07 08:24:52AM

Well no, he said that authentication uses SSL, but the actual data gathering of the email does not. You pointed out authentication. He pointed out the data gathering.



[ Reply to This | # ]
How about Gmail Notifier?
Authored by: neoguri on Feb 19, '07 01:27:23AM

Now if somebody could figure out how to make Gmail Notifier use https connections I'd be very happy.



[ Reply to This | # ]
How about Gmail Notifier?
Authored by: carcus on Apr 01, '07 10:27:16PM
I have a article on how to do that here:

[link:]http://www.carcus.net/2007/04/01/making-google-notifier-secure-on-os-x

[ Reply to This | # ]