<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: How to create a CrossBrowser Bookmarklet?</title>
	<link>http://ask.metafilter.com/55710/How-to-create-a-CrossBrowser-Bookmarklet/</link>
	<description>Comments on Ask MetaFilter post How to create a CrossBrowser Bookmarklet?</description>
	<pubDate>Wed, 24 Jan 2007 23:07:40 -0800</pubDate>
	<lastBuildDate>Wed, 24 Jan 2007 23:07:40 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: How to create a CrossBrowser Bookmarklet?</title>
		<link>http://ask.metafilter.com/55710/How-to-create-a-CrossBrowser-Bookmarklet</link>	
		<description>I have written a bookmarklet that works in Firefox but not in IE6.  How can I change it to be supported cross browser or even as a separate bookmarklet to get the same results. &lt;br /&gt;&lt;br /&gt; javascript:Qr=document.getSelection();if(Qr)location.href=&apos;http://jobsearchlog.com/ba.cfm?ad=&apos;+escape(Qr)+&apos;&amp;amp;description=&apos;+encodeURIComponent(document.title)+&apos;&amp;amp;tags=%s&apos;+&apos;&amp;amp;ad4user=mickbw&amp;amp;url2job=&apos;+window.location.href;&lt;br&gt;
&lt;br&gt;
Much of the JS was taken from the send to Delicious bookmarklet but I&apos;ve never seen it work in IE anyway.&lt;br&gt;
&lt;br&gt;
The purpose of the &apos;let is to send whatever text in a page has been selected, the URL and page title and submit the values into a database for use in my web application.  In Firefox they would also be able to specify tags to be included in the insert. &lt;br&gt;
&lt;br&gt;
Any suggestions on making this work in IE?</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2007:site.55710</guid>
		<pubDate>Wed, 24 Jan 2007 22:08:15 -0800</pubDate>
		<dc:creator>mickbw</dc:creator>
		
			<category>bookmarklet</category>
		
			<category>IE</category>
		
			<category>firefox</category>
		
			<category>Javascript</category>
		
	</item> <item>
		<title>By: Rhomboid</title>
		<link>http://ask.metafilter.com/55710/How-to-create-a-CrossBrowser-Bookmarklet#838412</link>	
		<description>One problem is the document.getSelection method.  &lt;a href=&quot;http://www.webreference.com/js/column12/crossbrowser.html&quot;&gt;More here&lt;/a&gt;.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.55710-838412</guid>
		<pubDate>Wed, 24 Jan 2007 23:07:40 -0800</pubDate>
		<dc:creator>Rhomboid</dc:creator>
	</item><item>
		<title>By: moift</title>
		<link>http://ask.metafilter.com/55710/How-to-create-a-CrossBrowser-Bookmarklet#838849</link>	
		<description>If you didn&apos;t get it from Rhomboid&apos;s link, you can fix it like:&lt;br&gt;
&lt;br&gt;
javascript:Qr=(document.getSelection)?document.getSelection():document.selection.createRange().text;if(Qr) location.href=&apos;http://jobsearchlog.com/ba.cfm?ad=&apos;+escape(Qr)+&apos;&amp;amp;description=&apos;+encodeURIComponent(document.title)+&apos;&amp;amp;tags=%s&apos;+&apos;&amp;amp;ad4user=mickbw&amp;amp;url2job=&apos;+window.location.href;</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.55710-838849</guid>
		<pubDate>Thu, 25 Jan 2007 10:54:02 -0800</pubDate>
		<dc:creator>moift</dc:creator>
	</item><item>
		<title>By: AmbroseChapel</title>
		<link>http://ask.metafilter.com/55710/How-to-create-a-CrossBrowser-Bookmarklet#839009</link>	
		<description>Why not just create two, one for IE and the other for Mozilla browsers? You can detect which browser they&apos;re on and offer them the appropriate one.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.55710-839009</guid>
		<pubDate>Thu, 25 Jan 2007 13:30:58 -0800</pubDate>
		<dc:creator>AmbroseChapel</dc:creator>
	</item><item>
		<title>By: mickbw</title>
		<link>http://ask.metafilter.com/55710/How-to-create-a-CrossBrowser-Bookmarklet#872540</link>	
		<description>Sorry for the delay in marking this as the best answer.  &lt;br&gt;
&lt;br&gt;
I had moved on to another more pressing problem and finally got back to this issue.  &lt;br&gt;
&lt;br&gt;
Thanks for all the help to everyone.  &lt;br&gt;
&lt;br&gt;
Michael</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.55710-872540</guid>
		<pubDate>Sat, 03 Mar 2007 20:16:19 -0800</pubDate>
		<dc:creator>mickbw</dc:creator>
	</item><item>
		<title>By: mickbw</title>
		<link>http://ask.metafilter.com/55710/How-to-create-a-CrossBrowser-Bookmarklet#872542</link>	
		<description>I&apos;m sorry for the delay in responding to these answers.  Thanks for all the help&lt;br&gt;
&lt;br&gt;
Michael</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.55710-872542</guid>
		<pubDate>Sat, 03 Mar 2007 20:17:32 -0800</pubDate>
		<dc:creator>mickbw</dc:creator>
	</item>
	</channel>
</rss>
