<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: How to Create a jQuery Bookmarklet</title>
	<atom:link href="http://www.latentmotion.com/how-to-create-a-jquery-bookmarklet/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.latentmotion.com/how-to-create-a-jquery-bookmarklet/</link>
	<description>Usability, Design and Front-Side Programming</description>
	<lastBuildDate>Thu, 02 Feb 2012 00:25:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Lennart Borgman</title>
		<link>http://www.latentmotion.com/how-to-create-a-jquery-bookmarklet/comment-page-1/#comment-272</link>
		<dc:creator>Lennart Borgman</dc:creator>
		<pubDate>Wed, 01 Feb 2012 01:58:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.latentmotion.com/?p=475#comment-272</guid>
		<description>The basic idea of the instructions here is nice. They helped me quite a bit to get going (since I needed to write a fairly complex bookmarklet - at least for my then knowledge of the tools for writing js ;-)&lt;br&gt;&lt;br&gt;&lt;br&gt;However there are many other problems in the area you mention. I find myself totally rewriting this and wrote down some new instructions. I do not have time to write much about it. If you are interested you can find it in the repository for nXhtml on Launchpad. (I am using Emacs so there are some Emacs add-ons there too to simplify it all.)</description>
		<content:encoded><![CDATA[<p>The basic idea of the instructions here is nice. They helped me quite a bit to get going (since I needed to write a fairly complex bookmarklet &#8211; at least for my then knowledge of the tools for writing js <img src='http://www.latentmotion.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>However there are many other problems in the area you mention. I find myself totally rewriting this and wrote down some new instructions. I do not have time to write much about it. If you are interested you can find it in the repository for nXhtml on Launchpad. (I am using Emacs so there are some Emacs add-ons there too to simplify it all.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Schultz</title>
		<link>http://www.latentmotion.com/how-to-create-a-jquery-bookmarklet/comment-page-1/#comment-271</link>
		<dc:creator>Daniel Schultz</dc:creator>
		<pubDate>Wed, 01 Feb 2012 01:38:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.latentmotion.com/?p=475#comment-271</guid>
		<description>So one of the major fears I have with using jQuery in a bookmarklet is that if you load your version of jQuery into a foreign page that is already using jQuery you risk causing compatibility issues (it&#039;s possible they are using an older / newer version).&lt;br&gt;&lt;br&gt;It doesn&#039;t look like your script accounts for this, although I imagine it&#039;s possible.  Curious if you think this is worth thinking about / how you would go about avoiding the conflict.</description>
		<content:encoded><![CDATA[<p>So one of the major fears I have with using jQuery in a bookmarklet is that if you load your version of jQuery into a foreign page that is already using jQuery you risk causing compatibility issues (it&#39;s possible they are using an older / newer version).</p>
<p>It doesn&#39;t look like your script accounts for this, although I imagine it&#39;s possible.  Curious if you think this is worth thinking about / how you would go about avoiding the conflict.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Rollier</title>
		<link>http://www.latentmotion.com/how-to-create-a-jquery-bookmarklet/comment-page-1/#comment-236</link>
		<dc:creator>Ben Rollier</dc:creator>
		<pubDate>Wed, 09 Nov 2011 23:48:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.latentmotion.com/?p=475#comment-236</guid>
		<description>It should be noted that this doesn&#039;t appear to work (at least I couldn&#039;t get it to) if you are not using a plugin. Since there was no plugin to specify, I added the bookmarklet JS file as the &quot;js :&quot; reference in the script.  This caused the script to keep repeating when it was called.&lt;br&gt;&lt;br&gt;However, Ben&#039;s generator worked perfectly the first time:&lt;br&gt;&lt;a href=&quot;http://benalman.com/code/test/jquery-run-code-bookmarklet/&quot; rel=&quot;nofollow&quot;&gt;http://benalman.com/code/test/...&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>It should be noted that this doesn&#39;t appear to work (at least I couldn&#39;t get it to) if you are not using a plugin. Since there was no plugin to specify, I added the bookmarklet JS file as the &#8220;js :&#8221; reference in the script.  This caused the script to keep repeating when it was called.</p>
<p>However, Ben&#39;s generator worked perfectly the first time:<br /><a href="http://benalman.com/code/test/jquery-run-code-bookmarklet/" rel="nofollow"></a><a href="http://benalman.com/code/test/.." rel="nofollow">http://benalman.com/code/test/..</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roman Gazarek</title>
		<link>http://www.latentmotion.com/how-to-create-a-jquery-bookmarklet/comment-page-1/#comment-218</link>
		<dc:creator>Roman Gazarek</dc:creator>
		<pubDate>Thu, 01 Sep 2011 17:30:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.latentmotion.com/?p=475#comment-218</guid>
		<description>Resolved. For IE you need to add stylesheet like this:&lt;br&gt;&lt;br&gt;document.createStyleSheet(&#039;someStyle.css&#039;);&lt;br&gt;&lt;br&gt;Source: &lt;a href=&quot;http://www.vidalquevedo.com/how-to-load-css-stylesheets-dynamically-with-jquery&quot; rel=&quot;nofollow&quot;&gt;http://www.vidalquevedo.com/ho...&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Resolved. For IE you need to add stylesheet like this:</p>
<p>document.createStyleSheet(&#39;someStyle.css&#39;);</p>
<p>Source: <a href="http://www.vidalquevedo.com/how-to-load-css-stylesheets-dynamically-with-jquery" rel="nofollow"></a><a href="http://www.vidalquevedo.com/ho.." rel="nofollow">http://www.vidalquevedo.com/ho..</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roman Gazarek</title>
		<link>http://www.latentmotion.com/how-to-create-a-jquery-bookmarklet/comment-page-1/#comment-217</link>
		<dc:creator>Roman Gazarek</dc:creator>
		<pubDate>Thu, 01 Sep 2011 17:06:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.latentmotion.com/?p=475#comment-217</guid>
		<description>It works. The same or something like this should be done also with the stylesheets. IE8 appends them to head element but it doesn&#039;t use them at all :/</description>
		<content:encoded><![CDATA[<p>It works. The same or something like this should be done also with the stylesheets. IE8 appends them to head element but it doesn&#39;t use them at all :/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ytoh</title>
		<link>http://www.latentmotion.com/how-to-create-a-jquery-bookmarklet/comment-page-1/#comment-206</link>
		<dc:creator>ytoh</dc:creator>
		<pubDate>Mon, 20 Jun 2011 18:10:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.latentmotion.com/?p=475#comment-206</guid>
		<description>for IE you have to use the onreadystatechange callback:&lt;br&gt;&lt;br&gt;function onLoad() {&lt;br&gt;    e(a.css);d(a.js)&lt;br&gt;}&lt;br&gt;var c=document.createElement(&quot;script&quot;);&lt;br&gt;c.type=&quot;text/javascript&quot;;&lt;br&gt;c.src=b;&lt;br&gt;c.onreadystatechange=function() {&lt;br&gt;    if(this.readyState==&#039;complete&#039;) onLoad()&lt;br&gt;}&lt;br&gt;;c.onload=onLoad;&lt;br&gt;document.body.appendChild(c)</description>
		<content:encoded><![CDATA[<p>for IE you have to use the onreadystatechange callback:</p>
<p>function onLoad() {<br />    e(a.css);d(a.js)<br />}<br />var c=document.createElement(&#8220;script&#8221;);<br />c.type=&#8221;text/javascript&#8221;;<br />c.src=b;<br />c.onreadystatechange=function() {<br />    if(this.readyState==&#39;complete&#39;) onLoad()<br />}<br />;c.onload=onLoad;<br />document.body.appendChild(c)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LeoB</title>
		<link>http://www.latentmotion.com/how-to-create-a-jquery-bookmarklet/comment-page-1/#comment-191</link>
		<dc:creator>LeoB</dc:creator>
		<pubDate>Sat, 16 Apr 2011 20:12:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.latentmotion.com/?p=475#comment-191</guid>
		<description>Taking part in some discussions about research I often find myself posting answers with something like in web discussion groups:&lt;br&gt;&lt;br&gt;doi:10.1126/science.1100735&lt;br&gt;&lt;br&gt;It is easy for me to translate it (I save this in some software that creates the correct link). However for most other participants it is a bit troublesome.&lt;br&gt;&lt;br&gt;Has anyone created a bookmarklet for handling this kind of things? (Not necessarily for DOI links of course.) Any suggestions for how it could be structured?</description>
		<content:encoded><![CDATA[<p>Taking part in some discussions about research I often find myself posting answers with something like in web discussion groups:</p>
<p>doi:10.1126/science.1100735</p>
<p>It is easy for me to translate it (I save this in some software that creates the correct link). However for most other participants it is a bit troublesome.</p>
<p>Has anyone created a bookmarklet for handling this kind of things? (Not necessarily for DOI links of course.) Any suggestions for how it could be structured?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dinesh</title>
		<link>http://www.latentmotion.com/how-to-create-a-jquery-bookmarklet/comment-page-1/#comment-164</link>
		<dc:creator>Dinesh</dc:creator>
		<pubDate>Tue, 14 Sep 2010 12:41:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.latentmotion.com/?p=475#comment-164</guid>
		<description>If the browser is IE change the onload event in function fullFunc to onreadystatechange</description>
		<content:encoded><![CDATA[<p>If the browser is IE change the onload event in function fullFunc to onreadystatechange</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Etienne Ramstein</title>
		<link>http://www.latentmotion.com/how-to-create-a-jquery-bookmarklet/comment-page-1/#comment-163</link>
		<dc:creator>Etienne Ramstein</dc:creator>
		<pubDate>Mon, 06 Sep 2010 16:16:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.latentmotion.com/?p=475#comment-163</guid>
		<description>Same problem here. I think it&#039;s because IE doesn&#039;t handle the &quot;.onload()&quot; synchronization properly. 
&lt;br&gt;
&lt;br&gt;Anybody has a solution for IE ? (apart from &quot;don&#039;t use crappy browsers&quot; :-p)
&lt;br&gt;</description>
		<content:encoded><![CDATA[<p>Same problem here. I think it&#39;s because IE doesn&#39;t handle the &#8220;.onload()&#8221; synchronization properly. </p>
<p>Anybody has a solution for IE ? (apart from &#8220;don&#39;t use crappy browsers&#8221; :-p)<br /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Celeste</title>
		<link>http://www.latentmotion.com/how-to-create-a-jquery-bookmarklet/comment-page-1/#comment-160</link>
		<dc:creator>Celeste</dc:creator>
		<pubDate>Mon, 30 Aug 2010 05:19:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.latentmotion.com/?p=475#comment-160</guid>
		<description>This is really neat! I&#039;ve been trying it out in Firefox, but for some reason none of the bookmarklets above work in IE7, and neither does the one I&#039;ve created.&lt;br&gt;&lt;br&gt;Any thoughts? (This is a *very* useful tutorial, btw! :))</description>
		<content:encoded><![CDATA[<p>This is really neat! I&#39;ve been trying it out in Firefox, but for some reason none of the bookmarklets above work in IE7, and neither does the one I&#39;ve created.</p>
<p>Any thoughts? (This is a *very* useful tutorial, btw! <img src='http://www.latentmotion.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> )</p>
]]></content:encoded>
	</item>
</channel>
</rss>

