<?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 17:53:14 +0000</lastBuildDate>
    <item>
      <title>(JavaScript) JavaScript implementation of Perlâ€™s Chop - Roshambo</title>
      <link>https://snipplr.com/view/28185/javascript-implementation-of-perls-chop</link>
      <description>&lt;p&gt;Simply removes the last character from a string.&lt;/p&gt;</description>
      <pubDate>Thu, 11 Feb 2010 12:55:19 UTC</pubDate>
      <guid>https://snipplr.com/view/28185/javascript-implementation-of-perls-chop</guid>
    </item>
    <item>
      <title>(JavaScript) Load Random Stylesheets - Roshambo</title>
      <link>https://snipplr.com/view/1296/load-random-stylesheets</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 03 Oct 2006 11:44:05 UTC</pubDate>
      <guid>https://snipplr.com/view/1296/load-random-stylesheets</guid>
    </item>
    <item>
      <title>(JavaScript) Get URL Variables - Roshambo</title>
      <link>https://snipplr.com/view/799/get-url-variables</link>
      <description>&lt;p&gt;Read a page's GET URL variables and return them as an associative array.&#13;
&#13;
----&#13;
&#13;
Example for URL http://www.example.com/index.html?hello=bonjour&amp;goodevening=bonsoir&#13;
&#13;
var hash = getUrlVars();&#13;
alert(hash['hello']); // prints 'bonjour'&#13;
alert(hash['goodevening']); // prints 'bonsoir'&lt;/p&gt;</description>
      <pubDate>Mon, 14 Aug 2006 11:31:47 UTC</pubDate>
      <guid>https://snipplr.com/view/799/get-url-variables</guid>
    </item>
    <item>
      <title>(JavaScript) Add Event Listener - Roshambo</title>
      <link>https://snipplr.com/view/561/add-event-listener</link>
      <description>&lt;p&gt;Cross-browser implementation of element.addEventListener(). Simple, straightforward, and functional.&#13;
&#13;
Useage:&#13;
addListener(window, 'load', myFunction);&lt;/p&gt;</description>
      <pubDate>Sun, 23 Jul 2006 12:54:14 UTC</pubDate>
      <guid>https://snipplr.com/view/561/add-event-listener</guid>
    </item>
  </channel>
</rss>
