<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Geek Tips &#187; Safari</title>
	<atom:link href="http://tips.mistergeek.com/tag/safari/feed" rel="self" type="application/rss+xml" />
	<link>http://tips.mistergeek.com</link>
	<description>making IT as simple as ABC</description>
	<lastBuildDate>Mon, 16 Jan 2012 15:23:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Site search javascript booklet</title>
		<link>http://tips.mistergeek.com/67</link>
		<comments>http://tips.mistergeek.com/67#comments</comments>
		<pubDate>Sat, 02 Jul 2011 11:43:24 +0000</pubDate>
		<dc:creator>benriley</dc:creator>
				<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Opera]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[booklet]]></category>
		<category><![CDATA[bookmark]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://tips.mistergeek.com/?p=67</guid>
		<description><![CDATA[You may have heard of a booklet or bookmarklet. These are simply snippets of javascript that are saved as bookmarks. They allow you to run a script within the context of the web page you are currently visiting. The following code allows you to perform a site specific search using Google&#8217;s search engine. Simply create [...]]]></description>
			<content:encoded><![CDATA[<p><span style="font-size: 12px; font-family: arial">You may have heard of a <strong>booklet</strong> or <strong>bookmarklet</strong>. These are simply snippets of javascript that are saved as bookmarks. They allow you to run a script within the context of the web page you are currently visiting. The following code allows you to perform a site specific search using Google&#8217;s search engine. Simply create a bookmark or favourite and replace the address contents with the following code:</span></p>
<p><span style="font-size: 12px; font-family: arial">javascript:Qr=prompt(&#8216;Search%20site%20for&#8217;,&#8221;);if(Qr)location.href=&#8217;http://www.google.com/search?&amp;q=site:&#8217;+encodeURIComponent(window.location.hostname)+&#8217;+'+escape(Qr)</span></p>
<p><span style="font-size: 12px; font-family: arial">Just copy and paste it all in one line, there are no line breaks or spaces anywhere in this script. Give the booklet an appropriate name, I call mine <strong>SiteSearch</strong> just because it makes sense to me. Now, when you are on any web page, select this booklet and you will be presented with a dialog box asking what to search for.  Enter the text you are interested in, hit <em>OK</em> and Google will return the results for that site and that site only. This works with any javascript enabled browser including Internet Explorer, Firefox, Safari and Opera.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://tips.mistergeek.com/67/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enable the Safari Debug menu</title>
		<link>http://tips.mistergeek.com/57</link>
		<comments>http://tips.mistergeek.com/57#comments</comments>
		<pubDate>Fri, 01 Jul 2011 10:35:25 +0000</pubDate>
		<dc:creator>benriley</dc:creator>
				<category><![CDATA[Apple OS]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[debug]]></category>
		<category><![CDATA[OSX]]></category>

		<guid isPermaLink="false">http://tips.mistergeek.com/?p=57</guid>
		<description><![CDATA[Why would you want to? Well, one of the most useful facilities in the Debug menu is one that lets you change the User Agent. This enables you to tell the website you are using different browsers including Internet Explorer, Firefox, Netscape and Mobile Safari. This is useful for website development testing. In addition, as [...]]]></description>
			<content:encoded><![CDATA[<p><span style="font-size: 12px; font-family: arial">Why would you want to? Well, one of the most useful facilities in the Debug menu is one that lets you change the <em>User Agent</em>. This enables you to tell the website you are using different browsers including Internet Explorer, Firefox, Netscape and Mobile Safari. This is useful for website development testing. In addition, as a result of lazy and inadequate development, some sites are blocking visitors who are not using Internet Explorer. By changing your <em>User Agent</em> you can bypass these stupid restrictions. Anyway, here&#8217;s what to do:
<ol>
<li>Quit Safari</li>
<li>Launch Terminal</li>
<li>Type <strong>defaults write com.apple.Safari IncludeDebugMenu 1</strong></li>
<li>Re-start Safari and the debug menu will be enabled</li>
</ol>
<p></span><span style="font-size: 12px; font-family: arial">To disable the debug menu, repeat the process but replace the <em>1</em> at the end of the terminal command with a zero.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://tips.mistergeek.com/57/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

