10.4: Force the Gmail widget to use https connections
Feb 16, '07 07:30:00AM • Contributed by: bradd
Feb 16, '07 07:30:00AM • Contributed by: bradd
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:
- Turn off the Gmail widget if its running on Dashboard
- In the Finder, navigate to ~/Library/Widgets
- Control-click on Gmail.wdgt then select Show Package Contents from the pop-up menu.
- 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:
Simply add an s after the http, so that it looks like this:Gmail.gmailUrl = "http://mail.google.com/mail";Gmail.gmailUrl = "https://mail.google.com/mail"; - Save your edited file and quit the editor.
•
[14,306 views]
