<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 14:26:27 +0000</lastBuildDate>
    <item>
      <title>(JavaScript) ISO 8601 date conversion - wizard04</title>
      <link>https://snipplr.com/view/58380/iso-8601-date-conversion</link>
      <description>&lt;p&gt;This requires my [date formatting script](http://snipplr.com/view/54806/javascript-date-formatting/).&#13;
&#13;
(date).toISO() converts the Date object to an ISO 8601 string&#13;
&#13;
Date.fromISO() converts an ISO 8601 string to a Date object&lt;/p&gt;</description>
      <pubDate>Fri, 02 Sep 2011 00:28:31 UTC</pubDate>
      <guid>https://snipplr.com/view/58380/iso-8601-date-conversion</guid>
    </item>
    <item>
      <title>(JavaScript) Get time intervals between two Dates - wizard04</title>
      <link>https://snipplr.com/view/58379/get-time-intervals-between-two-dates</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 02 Sep 2011 00:20:57 UTC</pubDate>
      <guid>https://snipplr.com/view/58379/get-time-intervals-between-two-dates</guid>
    </item>
    <item>
      <title>(SQL) Get ID of last inserted record in Access - wizard04</title>
      <link>https://snipplr.com/view/54991/get-id-of-last-inserted-record-in-access</link>
      <description>&lt;p&gt;Get the value of the autonumber field for the last record inserted into an Access database via the current connection.&lt;/p&gt;</description>
      <pubDate>Wed, 08 Jun 2011 06:46:45 UTC</pubDate>
      <guid>https://snipplr.com/view/54991/get-id-of-last-inserted-record-in-access</guid>
    </item>
    <item>
      <title>(JavaScript) JavaScript Date Formatting - wizard04</title>
      <link>https://snipplr.com/view/54806/javascript-date-formatting</link>
      <description>&lt;p&gt;Format a date into a string using several string variables.&#13;
&#13;
Usage:  &#13;
(new Date("6/6/2011")).format("%W, %B %d%o, %Y");&#13;
&#13;
Result:  &#13;
Monday, June 6th, 2011&lt;/p&gt;</description>
      <pubDate>Fri, 03 Jun 2011 05:34:36 UTC</pubDate>
      <guid>https://snipplr.com/view/54806/javascript-date-formatting</guid>
    </item>
    <item>
      <title>(JavaScript) typeOf - simple yet robust - wizard04</title>
      <link>https://snipplr.com/view/52051/typeof--simple-yet-robust</link>
      <description>&lt;p&gt;Brilliant solution using Object.prototype.toString()&#13;
&#13;
Test cases included (commented out)&lt;/p&gt;</description>
      <pubDate>Thu, 14 Apr 2011 05:30:20 UTC</pubDate>
      <guid>https://snipplr.com/view/52051/typeof--simple-yet-robust</guid>
    </item>
    <item>
      <title>(JavaScript) Cross-browser event registration - wizard04</title>
      <link>https://snipplr.com/view/52041/crossbrowser-event-registration</link>
      <description>&lt;p&gt;Enhanced cross-browser event handling&lt;/p&gt;</description>
      <pubDate>Thu, 14 Apr 2011 02:16:14 UTC</pubDate>
      <guid>https://snipplr.com/view/52041/crossbrowser-event-registration</guid>
    </item>
    <item>
      <title>(JavaScript) Mouse Event Button - wizard04</title>
      <link>https://snipplr.com/view/52040/mouse-event-button</link>
      <description>&lt;p&gt;Returns an object with the `event.button` values of both the W3C and Microsoft models.&lt;/p&gt;</description>
      <pubDate>Thu, 14 Apr 2011 02:12:49 UTC</pubDate>
      <guid>https://snipplr.com/view/52040/mouse-event-button</guid>
    </item>
    <item>
      <title>(JavaScript) MouseEnter/Leave Handlers 2 - wizard04</title>
      <link>https://snipplr.com/view/52039/mouseenterleave-handlers-2</link>
      <description>&lt;p&gt;These functions allow you to set a handler for a mouseleave/enter event.&lt;/p&gt;</description>
      <pubDate>Thu, 14 Apr 2011 02:10:05 UTC</pubDate>
      <guid>https://snipplr.com/view/52039/mouseenterleave-handlers-2</guid>
    </item>
    <item>
      <title>(JavaScript) Remove tracking script in Google search results - wizard04</title>
      <link>https://snipplr.com/view/39616/remove-tracking-script-in-google-search-results</link>
      <description>&lt;p&gt;A recent update to either Google's search results page or Firefox's Tab Mix Plus add-on has prevented a locked tab from opening links in a new tab. This Greasemonkey script removes the tracking code on the Google links that causes the problem. I don't understand what the incompatibility is though, since the tracking script just changes the href attribute at the last minute.&#13;
&#13;
Based on a script at [http://www.searchlores.org/ritz\_google\_anti\_snoop.htm](http://www.searchlores.org/ritz_google_anti_snoop.htm).&lt;/p&gt;</description>
      <pubDate>Fri, 27 Aug 2010 23:31:54 UTC</pubDate>
      <guid>https://snipplr.com/view/39616/remove-tracking-script-in-google-search-results</guid>
    </item>
    <item>
      <title>(ASP) List files in a directory - wizard04</title>
      <link>https://snipplr.com/view/33419/list-files-in-a-directory</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 28 Apr 2010 08:44:42 UTC</pubDate>
      <guid>https://snipplr.com/view/33419/list-files-in-a-directory</guid>
    </item>
    <item>
      <title>(ASP) Serve HTML Table as Excel Worksheet - wizard04</title>
      <link>https://snipplr.com/view/32339/serve-html-table-as-excel-worksheet</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 19 Apr 2010 13:07:11 UTC</pubDate>
      <guid>https://snipplr.com/view/32339/serve-html-table-as-excel-worksheet</guid>
    </item>
    <item>
      <title>(JavaScript) JavaScript Type Tests - wizard04</title>
      <link>https://snipplr.com/view/28564/javascript-type-tests</link>
      <description>&lt;p&gt;A more useful version of `typeof` and functions to test if a parameter is of a specified type.&lt;/p&gt;</description>
      <pubDate>Thu, 18 Feb 2010 15:31:20 UTC</pubDate>
      <guid>https://snipplr.com/view/28564/javascript-type-tests</guid>
    </item>
    <item>
      <title>(JavaScript) JavaScript Classes - wizard04</title>
      <link>https://snipplr.com/view/27256/javascript-classes</link>
      <description>&lt;p&gt;An implementation of class inheritance in JavaScript.&lt;/p&gt;</description>
      <pubDate>Thu, 28 Jan 2010 16:44:35 UTC</pubDate>
      <guid>https://snipplr.com/view/27256/javascript-classes</guid>
    </item>
    <item>
      <title>(Other) --Snipplr-- Workaround: Code in Comments - wizard04</title>
      <link>https://snipplr.com/view/22799/snipplr-workaround-code-in-comments</link>
      <description>&lt;p&gt;For some reason, Snipplr has decided not to HTML-encode &lt;code&gt;&amp;lt;&lt;/code&gt; and &lt;code&gt;&amp;gt;&lt;/code&gt; signs (i.e., replacing them with `&amp;lt;` and `&amp;gt;`) that a user inputs into a comment box, and instead strips anything that looks like a tag from the comment entirely.&#13;
&#13;
So, if you enter something like &lt;code&gt;&amp;#96;&amp;lt;div&amp;gt;test&amp;lt;/div&amp;gt;&amp;#96;&lt;/code&gt; in the comment box, you would expect to see &lt;code&gt;&amp;lt;div&amp;gt;test&amp;lt;/div&amp;gt;&lt;/code&gt; in the post but you would actually end up with `test`.&#13;
&#13;
The exceptions that I've found are `&lt;b&gt;`, `&lt;i&gt;`, `&lt;em&gt;`, `&lt;strong&gt;`, and `&lt;code&gt;` tags.&#13;
&#13;
The only reliable way to get around this odd implementation is to use the code tag with its content already HTML-encoded, just like you would if you were writing your own HTML. So entering something like &lt;code&gt;&amp;lt;code&amp;gt;&amp;amp;lt;div&amp;amp;gt;test&amp;amp;lt;/div&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;/code&gt; will give the expected result &lt;code&gt;&amp;lt;div&amp;gt;test&amp;lt;/div&amp;gt;&lt;/code&gt;.&#13;
&#13;
Note that you will also have to replace the back-ticks with `&amp;#96;`&#13;
&#13;
FYI, here is the code I used to create this description itself. The same code is entered in the first comment below (note the difference where the back-ticks are used to surround this: `&lt;div&gt;test&lt;/div&gt;`).&lt;/p&gt;</description>
      <pubDate>Mon, 09 Nov 2009 11:57:52 UTC</pubDate>
      <guid>https://snipplr.com/view/22799/snipplr-workaround-code-in-comments</guid>
    </item>
    <item>
      <title>(JavaScript) Google Translate Bookmarklet - wizard04</title>
      <link>https://snipplr.com/view/22299/google-translate-bookmarklet</link>
      <description>&lt;p&gt;Select some text to translate, or don't select anything to translate the entire page.&lt;/p&gt;</description>
      <pubDate>Sun, 01 Nov 2009 23:33:59 UTC</pubDate>
      <guid>https://snipplr.com/view/22299/google-translate-bookmarklet</guid>
    </item>
    <item>
      <title>(ASP) VBScript Regular Expression Search and Replace Functions - wizard04</title>
      <link>https://snipplr.com/view/19559/vbscript-regular-expression-search-and-replace-functions</link>
      <description>&lt;p&gt;Functions to make using regular expressions a bit easier. They're named after the respective PHP function.&lt;/p&gt;</description>
      <pubDate>Fri, 11 Sep 2009 11:53:57 UTC</pubDate>
      <guid>https://snipplr.com/view/19559/vbscript-regular-expression-search-and-replace-functions</guid>
    </item>
    <item>
      <title>(ASP) Testing for Empty Arrays - wizard04</title>
      <link>https://snipplr.com/view/19558/testing-for-empty-arrays</link>
      <description>&lt;p&gt;Checks if an array has been initialized, even if it is a dynamic array.&lt;/p&gt;</description>
      <pubDate>Fri, 11 Sep 2009 11:46:40 UTC</pubDate>
      <guid>https://snipplr.com/view/19558/testing-for-empty-arrays</guid>
    </item>
    <item>
      <title>(ASP) VBScript MS Access Database Connection - wizard04</title>
      <link>https://snipplr.com/view/19398/vbscript-ms-access-database-connection</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 08 Sep 2009 15:35:36 UTC</pubDate>
      <guid>https://snipplr.com/view/19398/vbscript-ms-access-database-connection</guid>
    </item>
    <item>
      <title>(Apache) Apache Redirect from *.example.com to example.com - wizard04</title>
      <link>https://snipplr.com/view/17425/apache-redirect-from-examplecom-to-examplecom</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 24 Jul 2009 10:23:47 UTC</pubDate>
      <guid>https://snipplr.com/view/17425/apache-redirect-from-examplecom-to-examplecom</guid>
    </item>
    <item>
      <title>(HTML) Embedding Objects in HTML - wizard04</title>
      <link>https://snipplr.com/view/17205/embedding-objects-in-html</link>
      <description>&lt;p&gt;For cross-browser code--which is not necessarily valid--the [Embedded Media HTML Generator](http://cit.ucsf.edu/embedmedia/step1.php) provides a great starting point.&lt;/p&gt;</description>
      <pubDate>Mon, 20 Jul 2009 08:41:30 UTC</pubDate>
      <guid>https://snipplr.com/view/17205/embedding-objects-in-html</guid>
    </item>
    <item>
      <title>(CSS) DzR Master Stylesheet (Part III, IE) - wizard04</title>
      <link>https://snipplr.com/view/16355/dzr-master-stylesheet-part-iii-ie</link>
      <description>&lt;p&gt;Fixes and fallbacks for IE for [my reset stylesheet](http://snipplr.com/view/16353/ "DzR Full CSS Reset").  Actually two separate stylesheets: one for IE in general and one for IE6 specifically.&#13;
&#13;
[PartÂ I](http://snipplr.com/view/16353/ "DzRÂ MasterÂ StylesheetÂ (PartÂ I, Reset)")  &#13;
[Part II](http://snipplr.com/view/16354/ "DzR Master Stylesheet (Part II, Classes)")&lt;/p&gt;</description>
      <pubDate>Fri, 26 Jun 2009 15:55:25 UTC</pubDate>
      <guid>https://snipplr.com/view/16355/dzr-master-stylesheet-part-iii-ie</guid>
    </item>
    <item>
      <title>(CSS) DzR Master Stylesheet (Part II, Classes) - wizard04</title>
      <link>https://snipplr.com/view/16354/dzr-master-stylesheet-part-ii-classes</link>
      <description>&lt;p&gt;An add-on to [my reset stylesheet](http://snipplr.com/view/16353/ "DzR Full CSS Reset"). Many helpful classes for layout, writing styles, paged media, etc.&#13;
&#13;
For the `printHref` class, you'll need to replace "example.com" with your own domain.&#13;
&#13;
[PartÂ I](http://snipplr.com/view/16353/ "DzRÂ MasterÂ StylesheetÂ (PartÂ I, Reset)")  &#13;
[Part III](http://snipplr.com/view/16355/Â "DzRÂ MasterÂ StylesheetÂ (PartÂ III, IE)")&lt;/p&gt;</description>
      <pubDate>Fri, 26 Jun 2009 15:48:27 UTC</pubDate>
      <guid>https://snipplr.com/view/16354/dzr-master-stylesheet-part-ii-classes</guid>
    </item>
    <item>
      <title>(CSS) DzR Master Stylesheet (Part I, Reset) - wizard04</title>
      <link>https://snipplr.com/view/16353/dzr-master-stylesheet-part-i-reset</link>
      <description>&lt;p&gt;A very thorough CSS reset stylesheet I created for HTML 4.01 using CSS 3 (and older).&#13;
&#13;
[Part II](http://snipplr.com/view/16354/"DzR Master Stylesheet (Part II, Classes)")  &#13;
[Part III](http://snipplr.com/view/16355/Â "DzRÂ MasterÂ StylesheetÂ (PartÂ III, IE)")&lt;/p&gt;</description>
      <pubDate>Fri, 26 Jun 2009 15:20:15 UTC</pubDate>
      <guid>https://snipplr.com/view/16353/dzr-master-stylesheet-part-i-reset</guid>
    </item>
    <item>
      <title>(Regular Expression) Regex for "tel" URIs - wizard04</title>
      <link>https://snipplr.com/view/11540/regex-for-tel-uris</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 26 Jan 2009 16:03:11 UTC</pubDate>
      <guid>https://snipplr.com/view/11540/regex-for-tel-uris</guid>
    </item>
    <item>
      <title>(JavaScript) Good IE6 PNG Fixes - wizard04</title>
      <link>https://snipplr.com/view/11209/good-ie6-png-fixes</link>
      <description>&lt;p&gt;There are several fixes out there that work in different ways, but none of them are perfect (especially regarding background images).  Here's a list of the ones I've found that work reasonably well&amp;mdash;try them out to find one that works for your web page.&lt;/p&gt;</description>
      <pubDate>Thu, 15 Jan 2009 13:16:25 UTC</pubDate>
      <guid>https://snipplr.com/view/11209/good-ie6-png-fixes</guid>
    </item>
    <item>
      <title>(CSS) CSS Media Type Support - wizard04</title>
      <link>https://snipplr.com/view/11129/css-media-type-support</link>
      <description>&lt;p&gt;Test page to check the support of different CSS media types in browsers. If you go into Print Preview, for example, the Print media type should show as "In Use" if it is supported.&lt;/p&gt;</description>
      <pubDate>Tue, 13 Jan 2009 10:28:23 UTC</pubDate>
      <guid>https://snipplr.com/view/11129/css-media-type-support</guid>
    </item>
    <item>
      <title>(JavaScript) Sort Gmail Messages by Subject - wizard04</title>
      <link>https://snipplr.com/view/10432/sort-gmail-messages-by-subject</link>
      <description>&lt;p&gt;This is a very simple bookmarklet that will temporarily sort the *visible* messages in Gmail by subject. You'll have to run it again each time Gmail refreshes the list.&#13;
&#13;
[Sort Gmail Messages](javascript:(function(&amp;#41;{function%20f(r&amp;#41;{var%20t=r.getElementsByTagName(&amp;#34;td&amp;#34;&amp;#41;;var%20d,s;var%20i,j;for(i=0;i&lt;t.length;i++&amp;#41;{if(t[i].hasAttribute(&amp;#34;role&amp;#34;&amp;#41;&amp;&amp;t[i].getAttribute(&amp;#34;role&amp;#34;&amp;#41;==&amp;#34;link&amp;#34;&amp;#41;{d=t[i].getElementsByTagName(&amp;#34;div&amp;#34;&amp;#41;;for(j=0;j&lt;d.length;j++&amp;#41;{if(d[j].className==&amp;#34;y6&amp;#34;&amp;#41;{s=d[j].getElementsByTagName(&amp;#34;span&amp;#34;&amp;#41;;if(s.length&amp;#41;return%20s[0].innerHTML}}}}return%20&amp;#34;&amp;#34;}function%20ds(a,b&amp;#41;{a=a[0].toLowerCase(&amp;#41;;b=b[0].toLowerCase(&amp;#41;;if(a&lt;b&amp;#41;return%20-1;if(a&gt;b&amp;#41;return%201;return%200}function%20sl(m&amp;#41;{var%20l=Array.prototype.slice.call(m.getElementsByTagName(&amp;#34;tr&amp;#34;&amp;#41;,0&amp;#41;;if(!l.length&amp;#41;return;var%20b=l[0].parentNode;var%20s=[];for(var%20i=0;i&lt;l.length;i++&amp;#41;{s[i]=[f(l[i]&amp;#41;,l[i]]}s=s.sort(ds&amp;#41;;for(i=0;i&lt;s.length;i++&amp;#41;{b.appendChild(s[i][1]&amp;#41;}}var%20d=document.getElementById(&amp;#39;canvas_frame&amp;#39;&amp;#41;.contentWindow.document;var%20t=d.getElementsByTagName(&amp;#39;table&amp;#39;&amp;#41;;for(var%20i=0;i&lt;t.length;i++&amp;#41;{if(t[i].className==&amp;#39;F%20cf%20zt&amp;#39;&amp;#41;{sl(t[i]&amp;#41;;break}}}&amp;#41;(&amp;#41;&#13;
 "Drag this into your bookmarks!")&#13;
&#13;
[roryok](http://snipplr.com/users/roryok/) found a few caveats when the list is sorted:&#13;
&#13;
1. Shift-clicking to select multiple messages will no longer work.&#13;
2. If you archive or delete messages, they will not disappear.&lt;/p&gt;</description>
      <pubDate>Fri, 12 Dec 2008 11:01:21 UTC</pubDate>
      <guid>https://snipplr.com/view/10432/sort-gmail-messages-by-subject</guid>
    </item>
    <item>
      <title>(JavaScript) MouseEnter/Leave Handlers - wizard04</title>
      <link>https://snipplr.com/view/8913/mouseenterleave-handlers</link>
      <description>&lt;p&gt;These functions allow you to easily set a handler for a virtual mouseleave/enter event.&#13;
&#13;
This requires my [MouseBoundaryCrossing](http://snipplr.com/view/8206/crossbrowser-mouseenterleave-solution/) class.&lt;/p&gt;</description>
      <pubDate>Thu, 09 Oct 2008 15:41:54 UTC</pubDate>
      <guid>https://snipplr.com/view/8913/mouseenterleave-handlers</guid>
    </item>
    <item>
      <title>(JavaScript) Snipplr Plain/Highlighted Text Greasemonkey Script - wizard04</title>
      <link>https://snipplr.com/view/8554/snipplr-plainhighlighted-text-greasemonkey-script</link>
      <description>&lt;p&gt;When you're viewing an older version of a snippet, the Plain Text and Highlighted Text links point back to the latest version.  This greasemonkey script fixes those links to point to the version you're currently viewing.&lt;/p&gt;</description>
      <pubDate>Tue, 23 Sep 2008 12:20:25 UTC</pubDate>
      <guid>https://snipplr.com/view/8554/snipplr-plainhighlighted-text-greasemonkey-script</guid>
    </item>
    <item>
      <title>(JavaScript) Millisecond Equivalent of Time Interval - wizard04</title>
      <link>https://snipplr.com/view/8431/millisecond-equivalent-of-time-interval</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 16 Sep 2008 14:32:43 UTC</pubDate>
      <guid>https://snipplr.com/view/8431/millisecond-equivalent-of-time-interval</guid>
    </item>
    <item>
      <title>(JavaScript) PPK's Browser Detect - wizard04</title>
      <link>https://snipplr.com/view/8354/ppks-browser-detect</link>
      <description>&lt;p&gt;Modified just a bit. This version includes the Google Chrome beta.&lt;/p&gt;</description>
      <pubDate>Thu, 11 Sep 2008 16:27:18 UTC</pubDate>
      <guid>https://snipplr.com/view/8354/ppks-browser-detect</guid>
    </item>
    <item>
      <title>(JavaScript) JavaScript labels - wizard04</title>
      <link>https://snipplr.com/view/8255/javascript-labels</link>
      <description>&lt;p&gt;Just some pseudo-code notes about using labels with `break` and `continue` statements.&lt;/p&gt;</description>
      <pubDate>Mon, 08 Sep 2008 15:29:59 UTC</pubDate>
      <guid>https://snipplr.com/view/8255/javascript-labels</guid>
    </item>
    <item>
      <title>(JavaScript) Google Map It Bookmarklet - wizard04</title>
      <link>https://snipplr.com/view/8214/google-map-it-bookmarklet</link>
      <description>&lt;p&gt;Highlight an address and click the bookmarklet to open it in Google Maps&lt;/p&gt;</description>
      <pubDate>Fri, 05 Sep 2008 16:11:19 UTC</pubDate>
      <guid>https://snipplr.com/view/8214/google-map-it-bookmarklet</guid>
    </item>
    <item>
      <title>(JavaScript) Avoid "Helpful" Encoding of Amphersands - wizard04</title>
      <link>https://snipplr.com/view/8211/avoid-helpful-encoding-of-amphersands</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 05 Sep 2008 13:48:12 UTC</pubDate>
      <guid>https://snipplr.com/view/8211/avoid-helpful-encoding-of-amphersands</guid>
    </item>
    <item>
      <title>(JavaScript) URL and HTML Encoding - wizard04</title>
      <link>https://snipplr.com/view/8210/url-and-html-encoding</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 05 Sep 2008 13:43:53 UTC</pubDate>
      <guid>https://snipplr.com/view/8210/url-and-html-encoding</guid>
    </item>
    <item>
      <title>(JavaScript) Cross-browser MouseEnter/Leave Solution - wizard04</title>
      <link>https://snipplr.com/view/8206/crossbrowser-mouseenterleave-solution</link>
      <description>&lt;p&gt;In mouseout and mouseover event handlers, use this object to check if the mouse was leaving or entering a "landmark" element.  See my [MouseEnter/Leave Handlers](http://snipplr.com/view/8913/mouseenterleave-handlers/) snipplet for a practical use.&#13;
&#13;
`.fromElement`: element the mouse is leaving  &#13;
`.toElement`: element the mouse is entering  &#13;
`.inLandmark`: true if the event fired from within the landmark  &#13;
`.leftLandmark`: true if the mouse was leaving the landmark  &#13;
`.enteredLandmark`: true if the mouse was entering the landmark&lt;/p&gt;</description>
      <pubDate>Fri, 05 Sep 2008 09:25:58 UTC</pubDate>
      <guid>https://snipplr.com/view/8206/crossbrowser-mouseenterleave-solution</guid>
    </item>
    <item>
      <title>(HTML) Lorem Ipsum Filler Text - wizard04</title>
      <link>https://snipplr.com/view/8186/lorem-ipsum-filler-text</link>
      <description>&lt;p&gt;Just for a quick copy and paste. A cool Lorum Ipsum generator is at [lipsum.com](http://www.lipsum.com/).&lt;/p&gt;</description>
      <pubDate>Thu, 04 Sep 2008 10:14:22 UTC</pubDate>
      <guid>https://snipplr.com/view/8186/lorem-ipsum-filler-text</guid>
    </item>
    <item>
      <title>(CSS) CSS Drop Shadow - wizard04</title>
      <link>https://snipplr.com/view/8166/css-drop-shadow</link>
      <description>&lt;p&gt;Creates a drop shadow for a div.  In IE I can't get `filter:alpha(opacity=__)` to work right, but it degrades gracefully without it so I left it out.&lt;/p&gt;</description>
      <pubDate>Wed, 03 Sep 2008 16:18:46 UTC</pubDate>
      <guid>https://snipplr.com/view/8166/css-drop-shadow</guid>
    </item>
    <item>
      <title>(JavaScript) JavaScript Object Inheritance - wizard04</title>
      <link>https://snipplr.com/view/8146/javascript-object-inheritance</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 02 Sep 2008 10:48:31 UTC</pubDate>
      <guid>https://snipplr.com/view/8146/javascript-object-inheritance</guid>
    </item>
    <item>
      <title>(JavaScript) Mouse Event Positions - wizard04</title>
      <link>https://snipplr.com/view/8040/mouse-event-positions</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 26 Aug 2008 15:07:06 UTC</pubDate>
      <guid>https://snipplr.com/view/8040/mouse-event-positions</guid>
    </item>
    <item>
      <title>(JavaScript) Scrolling functions - wizard04</title>
      <link>https://snipplr.com/view/8039/scrolling-functions</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 26 Aug 2008 13:26:16 UTC</pubDate>
      <guid>https://snipplr.com/view/8039/scrolling-functions</guid>
    </item>
    <item>
      <title>(CSS) User stylesheet for Snipplr - wizard04</title>
      <link>https://snipplr.com/view/8020/user-stylesheet-for-snipplr</link>
      <description>&lt;p&gt;For use with the Firefox Stylish add-on.  I put this up on userstyles.org as well - http://userstyles.org/styles/9213.&#13;
&#13;
When you edit a snippet, especially with the comment box, the font is large and fancy. This style changes them to a normal, *readable* font. It also makes the comments &amp; source boxes bigger.&#13;
&#13;
If you happen to have the Envy Code R font, it is used for the code on both the editing and viewing pages.&#13;
&#13;
Hides ads.&lt;/p&gt;</description>
      <pubDate>Mon, 25 Aug 2008 16:07:26 UTC</pubDate>
      <guid>https://snipplr.com/view/8020/user-stylesheet-for-snipplr</guid>
    </item>
    <item>
      <title>(JavaScript) Element Dimensions - wizard04</title>
      <link>https://snipplr.com/view/7911/element-dimensions</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 18 Aug 2008 16:19:11 UTC</pubDate>
      <guid>https://snipplr.com/view/7911/element-dimensions</guid>
    </item>
    <item>
      <title>(JavaScript) Screen, Browser, and Window Dimensions - wizard04</title>
      <link>https://snipplr.com/view/7899/screen-browser-and-window-dimensions</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sun, 17 Aug 2008 20:29:49 UTC</pubDate>
      <guid>https://snipplr.com/view/7899/screen-browser-and-window-dimensions</guid>
    </item>
    <item>
      <title>(JavaScript) XHTML Targetted Hyperlinks - wizard04</title>
      <link>https://snipplr.com/view/7857/xhtml-targetted-hyperlinks</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 13 Aug 2008 16:11:36 UTC</pubDate>
      <guid>https://snipplr.com/view/7857/xhtml-targetted-hyperlinks</guid>
    </item>
    <item>
      <title>(JavaScript) String functions - wizard04</title>
      <link>https://snipplr.com/view/7855/string-functions</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 13 Aug 2008 16:00:26 UTC</pubDate>
      <guid>https://snipplr.com/view/7855/string-functions</guid>
    </item>
    <item>
      <title>(Regular Expression) Regular Expressions for U.S. Phone Numbers - wizard04</title>
      <link>https://snipplr.com/view/7622/regular-expressions-for-us-phone-numbers</link>
      <description>&lt;p&gt;(Created for JavaScript)&#13;
&#13;
These are rather forgiving. Spaces, dashes, or periods are allowed as separators. Extensions can be recognized by several strings (#, x, x., ext, ext., extension).&#13;
&#13;
Area code: $1$2  &#13;
Exchange code: $3  &#13;
Station code: $4  &#13;
Extension / Extra characters: $5&#13;
&#13;
Separators are not accepted within the $3$4$5 portion of a vanity number.&#13;
&#13;
Example: (540) 555-0123 ext.678 --&gt; `($1$2) $3-$4 ext.$5`  &#13;
Example: 1-800-GOODFOOD --&gt; `1-$1$2-$3$4$5`&lt;/p&gt;</description>
      <pubDate>Thu, 31 Jul 2008 14:10:51 UTC</pubDate>
      <guid>https://snipplr.com/view/7622/regular-expressions-for-us-phone-numbers</guid>
    </item>
    <item>
      <title>(JavaScript) Open Selected Link Bookmarklet - wizard04</title>
      <link>https://snipplr.com/view/7615/open-selected-link-bookmarklet</link>
      <description>&lt;p&gt;When there's a URL on a page that's not a link, just highlight it and click this bookmarklet. The URL will open in a new window.&#13;
&#13;
If there are multiple selections (e.g., if you've selected something in each of two frames on the page), they will each be opened in a new window.&#13;
&#13;
[Open Link](javascript:(function(){function T(f){try{if(f.getSelection)return f.getSelection().toString();if(f.document.selection)return f.document.selection.createRange().text}catch(e){}return ""}function A(f){var a=[];var t=T(f);if(t)a.push(t.replace(/^\s+|\s+$/g,""));for(var i=0;i&amp;lt;f.length;i++){a=a.concat(A(f[i]))}return a}var a=A(window.top);for(var i=0;i&amp;lt;a.length;i++){if(!/^https?:\/\//.test(a[i])) a[i]="http://"+a[i];window.open(a[i])}})() "Drag this into your bookmarks!")&lt;/p&gt;</description>
      <pubDate>Thu, 31 Jul 2008 09:38:35 UTC</pubDate>
      <guid>https://snipplr.com/view/7615/open-selected-link-bookmarklet</guid>
    </item>
    <item>
      <title>(JavaScript) Number Base Conversion - wizard04</title>
      <link>https://snipplr.com/view/7561/number-base-conversion</link>
      <description>&lt;p&gt;Convert a number to a different base.&lt;/p&gt;</description>
      <pubDate>Mon, 28 Jul 2008 12:10:44 UTC</pubDate>
      <guid>https://snipplr.com/view/7561/number-base-conversion</guid>
    </item>
    <item>
      <title>(JavaScript) Ninjawords Bookmarklet - wizard04</title>
      <link>https://snipplr.com/view/7515/ninjawords-bookmarklet</link>
      <description>&lt;p&gt;Select some text, click the bookmarklet, and the definition(s) will open up in [Ninjawords](http://www.ninjawords.com).&#13;
&#13;
[Ninjawords](javascript:(function(&amp;#41;{function%20t(f&amp;#41;{try{if(f.getSelection&amp;#41;return%20f.getSelection(&amp;#41;.toString(&amp;#41;;if(f.document.selection&amp;#41;return%20f.document.selection.createRange(&amp;#41;.text}catch(e&amp;#41;{}return%20''}function%20getQ(f&amp;#41;{var%20q=t(f&amp;#41;.replace(/^[^a-z0-9-]+|[^a-z0-9-]+$/ig,''&amp;#41;.replace(/[^a-z0-9-]+/ig,%20','&amp;#41;;var%20s='';for(var%20i=0;i&lt;f.length;i++&amp;#41;{s=getQ(f[i]&amp;#41;;if(s&amp;#41;q+=(q?',':''&amp;#41;+s}return%20q}if(window.location.hostname!='ninjawords.com'&amp;#41;window.open('http://ninjawords.com/'+getQ(window.top&amp;#41;&amp;#41;;else{document.getElementById('q'&amp;#41;.value%20=%20getQ(window.top&amp;#41;;Ninjawords.textboxQuery(&amp;#41;}}&amp;#41;(&amp;#41; "Drag this into your bookmarks!")&lt;/p&gt;</description>
      <pubDate>Fri, 25 Jul 2008 21:46:11 UTC</pubDate>
      <guid>https://snipplr.com/view/7515/ninjawords-bookmarklet</guid>
    </item>
  </channel>
</rss>
