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

Safari cannot save some web pages Web Browsers
Safari cannot save some web pages like http://www.amazon.com/Space-1999-Anniversary-Megaset-17DVD/dp/B000P6R5TI and some others.

Firefox does not exhibit this problem. I'm not sure if it's a bug in WebKit or just Safari (5.0.3).

To get Safari to save the page just click on the URL in the address field and rename the link and the Save button will become active. Just backspacing on the last character of the link and then re-entering it is sufficient.

[crarko adds: I tested this, and it works as described. You can still print the page to PDF in Safari without doing this but if you want to save it as an HTML file, this will help on some of those problematic pages. Chrome and OmniWeb could both save the example page without trouble, so this looks like a Safari bug.]
  Post a comment  •  Comments (8)  
  • Currently 3.33 / 5
  You rated: 1 / 5 (6 votes cast)
 
[5,095 views]  View Printable Version
View Firefox page source in an external editor Web Browsers
I use Firefox as my primary browser, and I spend a fair bit of time looking at source code. I've always just opened the source view in Firefox (Command+U), then copied-and-pasted the text to Coda or BBEdit, etc. if I needed to do something with it. While searching for something else today, though, I stumbled on a couple of advanced Firefox settings that let me save the copy-and-paste step -- Command-U now opens the page's source directly in Coda.

To do this, you need to enter about:config in Firefox's URL bar, then accept the warning when prompted. In the Filter box, type source.editor, which will show you three variables. Double-click on view_source.editor.external first, to change its Value to true. Next, double-click on view_source.editor.path, which will drop down a small sheet in which you enter the path to your preferred editor. The path must be a full complete Unix-style path, and point to the actual executable (not the app bundle). So for Coda, I used:
/Applications/added/Coda.app/Contents/MacOS/Coda
For BBEdit, you need to actually point to the command-line version (/usr/local/bin/bbedit)...and to do that, you'll have to have first installed the command line tools within BBEdit itself. Other editors should work; just dig into the bundle (Show Package Contents in Finder's contextual menu) to find the name of the actual binary. Click OK to dismiss the sheet, and you're done.

From now on, Command+U should open the page source in your chosen editor. If it fails, it'll just open directly in Firefox. To revert the behavior, just open about:config again, and set the view_source.editor.external back to false.

[crarko adds: I tested this, and it works as described. One of my favorite features of OmniWeb was the built-in source editor, but this is even more flexible and powerful.]
  Post a comment  •  Comments (8)  
  • Currently 4.00 / 5
  You rated: 3 / 5 (7 votes cast)
 
[10,727 views]  View Printable Version
Safari: An unread count for Gmail Web Browsers
You can add a bookmark to Safari's Bookmarks Bar that will display the number of unread Gmail messages you have.

First, go to the link feed:https://mail.google.com/mail/feed/atom.

Then, bookmark it in Safari. I called it ':' so that it wouldn't take up much space, and put it right after my Gmail bookmark so the result is: 'Gmail :(1)'.

In the RSS tab of Safari Preferences, set the Check for update: menu to 30 Minutes so that you have current results.

Now, send yourself an email.

Once the feed refreshes (you can quit and reopen Safari to do this manually), you should see the number of unread messages in your inbox in parentheses after your bookmark.

[crarko adds: I tested this, and it works as described. I had to play with the URL a bit to get it to work right; in the original hint it was given as feed:https://mail.google.com/mail/feed/atom/inbox/. That didn't seem to work for me so I just went to the Gmail inbox in Safari and switched into RSS mode and grabbed the link now listed in the hint.]
  Post a comment  •  Comments (3)  
  • Currently 3.67 / 5
  You rated: 5 / 5 (6 votes cast)
 
[6,059 views]  View Printable Version
Evade Full Page Ads with Safari 5 Reader mode Web Browsers
I've noticed more and more sites displaying full page ads over the content which only disappear after the advertisement is finished playing. Safari 5 provides a quick way to get to textual content without viewing the ad.

Simply enter Safari's 'Reader' mode to see the main content of the page instantly. For other browsers, Arc90 Lab's bookmarklet Readability does the trick as well.

[crarko adds: You won't always be able to switch to Reader mode in Safari 5; it's dependent on the markup used on the site in question. Readability is the more flexible solution, and ClickToFlash may be helpful as well in some cases. Of course ad creators are aware of these tools, and come up with creative ways to foil them. Hopefully that same creative thought can be used to make the ads themselves more interesting. That does seem to be one of the goals of iAd. I wonder how big a dent Apple will ultimately make in that industry.]
  Post a comment  •  Comments (4)  
  • Currently 3.13 / 5
  You rated: 3 / 5 (8 votes cast)
 
[6,455 views]  View Printable Version
Easy Finder links to open websites at login Web Browsers
It can be useful to have a clickable file on your Desktop or in the Dock that takes you straight to a specified website. It can be even more useful to have websites open automatically when you log in to your computer.

From either Safari, Chrome, or Firefox, you can make one of these files (it will have a .webloc extension) easily. Just click and drag from any website element that gives you a hand cursor to your desktop or a Finder window. You'll get a file takes you straight to the website that the link lead to. Opening this file will open your default web browser to this website.

You can keep this in a folder, put it on your Desktop or in your Dock, or set it to open at login. To put it in your dock, just drag it there like any other file. To open it at login, go to the Login Items tab of the Accounts pane of System Preferences. Click the plus button and navigate to and select your file.

[crarko adds: This is an expansion to a previous hint. There are many other useful things that can be done with webloc files.]
  Post a comment  •  Comments (2)  
  • Currently 2.11 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (9 votes cast)
 
[6,531 views]  View Printable Version
Craigslist alerts with Safari and Google Web Browsers
If you do a lot of business on craigslist.org, it can be quite useful to monitor site activities related to your item(s) of interest. This can be done easily.
read more (287 words)   Post a comment  •  Comments (1)  
  • Currently 2.60 / 5
  You rated: 1 / 5 (5 votes cast)
 
[9,469 views]  View Printable Version
Force HTML5 video use in Safari 5 on the Mac Web Browsers
If you prefer HTML5 video to Flash, here is a method suggested by John Gruber to employ User Agent masquerading in Safari 5 to try to force sites to serve it to you.

If you turn on the Develop menu in Safari (Preferences » Advanced » check the box), you get the option to choose the User Agent string Safari will hand to a site to tell what browser it is.

From the Develop menu, Choose User Agent » Mobile Safari 3.2.2 - iPad and the site will switch to HTML5 if it supports it. You will need to refresh the page if you've already loaded it.

The setting will only last for the current browsing session. It can be made persistent using the following command (note that this is slightly different than the command linked to in the article; that one produced errors when I tried it in Terminal):
defaults write com.apple.Safari CustomUserAgent "'Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B334b Safari/531.21.10'"
This can be undone by:
defaults delete com.apple.safari CustomUserAgent
[crarko adds: Read Gruber's article for some caveats associated with making the permanent change. Remember it may make sites think you're using an iPad. It's possible the Windows version of Safari 5 can do this as well, but I haven't tried it. This hint discusses adding the iPad User Agent to the list if you are running a version of Safari that doesn't already have it.]
  Post a comment  •  Comments (7)  
  • Currently 3.13 / 5
  You rated: 1 / 5 (8 votes cast)
 
[19,204 views]  View Printable Version
AppleScript support in Chrome Web Browsers
The Google Chrome browser, as of version 7, now comes with improved AppleScript support.

Looking at the Dictionary for it in AppleScript Editor, there is both the Standard Suite and the custom Chromium Suite. Documentation for the application-specific Chromium classes can be found here.

[crarko adds: This also opens Chrome up to Automator. It's a nice step for them to take, and hopefully it will continue until the Dictionary is comparable to Safari's.]
  Post a comment  •  Comments (0)  
  • Currently 3.50 / 5
  You rated: 1 / 5 (6 votes cast)
 
[9,397 views]  View Printable Version
Safari 5 extension to avoid data mining Web Browsers
Online privacy is always a matter of concern. There are many tools around to help and a new one for Safari 5 is an extension called Incognito.

Download and double click the extension file to install it into Safari 5. It allows you to block:
  • Google Adsense
  • Google Analytics
  • Google API (may break some sites)
  • Facebook content
  • Embedded YouTube videos
This doesn't necessarily block all the ads themselves, but rather the meta-information that is used to track your preferences and target the ads.

[crarko adds: I tested this, and as far as I can tell it works as described. It may be an interesting exercise to run Little Snitch before and after enabling Incognito and see what actually is being blocked.]
  Post a comment  •  Comments (8)  
  • Currently 3.50 / 5
  You rated: 3 / 5 (8 votes cast)
 
[7,688 views]  View Printable Version
ClickToFlash may break Google Street View in Safari Web Browsers
Google Street View had stopped working for me in Safari. It turned out ClickToFlash was the culprit. The ClickToFlash web plugin stops Flash objects on webpages from loading. Unless you add the pages/domains to its whitelist or temporarily allow them.

I had not realized ClickToFlash was stopping Google Street View because I did not get the usual blank Flash box where I could use the options to add a site to the whitelist or temporarily allow Flash to load for a page.

To resolve the issue, in Safari navigate to a different page that uses Flash. Doing so will place the ClickToFlash sub menu in the Safari menu. Go to the Safari Menu and select ClickToFlash » Settings....

In the Settings window that pops up, click the + (plus) button on the bottom left. A new entry field will appear at the bottom of the whitelisted sites. If you can not see it, scroll down. Double click the new entry field, and enter the top level URL (without the leading http://) of the site you want to add (e.g. maps.google.co.uk in my case).

Importantly, you MUST deselect the entry. Do this by clicking on one of the other entries in the list. Doing so will set the entry. Just closing the window without deselecting the new entry will not set it.

[crarko adds: I didn't experience the problem with the U.S. Google Street View site. Perhaps they are feeding alternate H.264 video here.]
  Post a comment  •  Comments (12)  
  • Currently 3.88 / 5
  You rated: 1 / 5 (8 votes cast)
 
[6,728 views]  View Printable Version