
I participated in “the survey for people who make websites.” Take it.
I recently wrote about using Google Apps for Your Domain to provide a vanity OpenID.1 Now, you can use your website to delegate to your Google account as an OpenID Provider.2 Here’s how:
<link rel="openid2.provider" href="https://www.google.com/accounts/o8/ud?source=profiles"> <link rel="openid2.local_id" href="http://www.google.com/profiles/your_google_profile_url_here">
1 How to Setup OpenID with Google Apps
2 TechCrunch: Google Profiles Turn Into OpenIDs
Safari doesn’t allow you to change the search provider without resorting to hacks. If you’d like to use something other than Google or have additional search providers available in Safari, try my bookmarklet tip.
A bookmarklet is a special bookmark that uses JavaScript to add functionality. When you click on a bookmarklet from your Bookmarks Bar, a prompt will appear. Type your search, hit return, and the search results will be loaded in the browser window. If your Bookmarks Bar is not visible, go to View > Show Bookmarks Bar in Safari.
I made some bookmarklets of popular searches. Simply drag the links below to your Bookmarks Bar to use.
Note: the above bookmarklet includes my Amazon Associates referral code that gives me a small kickback if you use it and purchase something.
Bookmarks in Safari’s Bookmarks Bar can be accessed through a keyboard shortcut. Press command (⌘) and 1 to load the first bookmark in the Bookmarks Bar. Press 2 for the second, 3 for the third and so on.
Here’s the base JavaScript for the bookmarklet:
var q = prompt('Search for','');
if (q != null) {
window.location = 'http://example.com/search?query=' + q;
}
When merged to a single line and URL escaped, it looks like:
javascript:var%20q=prompt('Search%20for','');if(q!=null){window.location='http://example.com/search?query='+q;}
To create your own, replace http://example.com/search?query= with the actual search provider’s query URI. Copy the URL escaped single line of JavaScript with the javascript: prefix. Open a blank Safari window and paste the line. Drag the site icon (the blue sphere in the Address Bar) to your Bookmarks Bar to save.
This is an easy and flexible way to have different and multiple search providers in Safari.
Powered by Hunch.com
|