<?xml version='1.0' encoding='utf-8'?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:ns0="http://www.w3.org/2005/Atom" xmlns:ns1="http://purl.org/rss/1.0/modules/syndication/" xmlns:ns2="com-wordpress:feed-additions:1" xmlns:ns4="http://purl.org/rss/1.0/modules/content/" xmlns:ns5="http://wellformedweb.org/CommentAPI/" xmlns:ns6="http://purl.org/rss/1.0/modules/slash/" version="2.0">

<channel>
	<title>bookmarklet – Thameera's Blog</title>
	<ns0:link href="https://blog.thameera.com/tag/bookmarklet/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.thameera.com</link>
	<description />
	<lastBuildDate>Wed, 02 Mar 2011 05:24:34 +0000</lastBuildDate>
	<language>en-US</language>
	<ns1:updatePeriod>
	hourly	</ns1:updatePeriod>
	<ns1:updateFrequency>
	1	</ns1:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.12</generator>
<ns2:site>139676693</ns2:site>	<item>
		<title>A dictionary bookmarklet (or a search bookmarklet for that matter)</title>
		<link>https://blog.thameera.com/a-dictionary-bookmarklet-or-a-search-bookmarklet-for-that-matter/</link>
					<comments>https://blog.thameera.com/a-dictionary-bookmarklet-or-a-search-bookmarklet-for-that-matter/#respond</comments>
		
		<dc:creator>thameera</dc:creator>
		<pubDate>Wed, 02 Mar 2011 05:24:34 +0000</pubDate>
				<category>Uncategorized</category>
		<category>bookmarklet</category>
		<category>coding</category>
		<category>javascript</category>
		<guid isPermaLink="false">http://thameera.wordpress.com/?p=277</guid>

					<description>So I was bored and wanted to test some of my javascript knowledge, I wrote a si﻿mple bookmarklet for searching dictionary definitions and felt like sharing. I’m a javascript noob, so it’s dead simple and is one of the most basic bookmarklets you can imagine. 🙂 I had trouble putting it as a link in…&lt;p&gt;&lt;a class="more-link" href="https://blog.thameera.com/a-dictionary-bookmarklet-or-a-search-bookmarklet-for-that-matter/" title="Continue reading ‘A dictionary bookmarklet (or a search bookmarklet for that matter)’"&gt;Continue reading &lt;span class="meta-nav"&gt;→&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;</description>
										<ns4:encoded>&lt;p&gt;So I was bored and wanted to test some of my javascript knowledge, I wrote a si﻿mple bookmarklet for searching dictionary definitions and felt like sharing. I’m a javascript noob, so it’s dead simple and is one of the most basic bookmarklets you can imagine. &lt;img alt="🙂" class="wp-smiley" src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f642.png" style="height: 1em; max-height: 1em;"/&gt;&lt;/p&gt;
&lt;p&gt;I had trouble putting it as a link in wordpress, so go to &lt;a href="http://tinypaste.com/cbf7ed" target="_blank"&gt;this link&lt;/a&gt; and copy-paste the code as a bookmark.&lt;/p&gt;
&lt;p&gt;The script first checks if you have highlighted a word in the current page and, if there is, searches for that word. Otherwise, it shows a pop up where you can enter a word to search.&lt;/p&gt;
&lt;p&gt;This searches the Urban Dictionary, but you can change it to search any site you want by simply replacing the URL. Some examples are:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;Google: http://www.google.lk/search?q=&lt;/p&gt;
&lt;p&gt;Twitter: http://twitter.com/search?q=&lt;/p&gt;
&lt;p&gt;Wikipedia: http://en.wikipedia.org/wiki/Special:Search?search=&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Have fun!&lt;/p&gt;
</ns4:encoded>
					
					<ns5:commentRss>https://blog.thameera.com/a-dictionary-bookmarklet-or-a-search-bookmarklet-for-that-matter/feed/</ns5:commentRss>
			<ns6:comments>0</ns6:comments>
		
		
		<ns2:post-id>277</ns2:post-id>	</item>
	</channel>
</rss>