<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Discussion on LongURL Mobile Expander | Userscripts.org</title>
    <link>http://userscripts.org/scripts/show/32115</link>
    <description>Recent comments on userscript: LongURL Mobile Expander</description>
    <language>en-us</language>
    <ttl>60</ttl>
    <item>
      <title>suggestion - hide the default tooltip, replied by ekbworldwide</title>
      <description>&lt;p&gt;If your script is active - why not hide the default tooltip? Having it pop up just creates clutter and duplicate information.&lt;/p&gt;</description>
      <pubDate>Sun, 27 Sep 2009 20:17:33 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:36068:173793</guid>
      <author>ekbworldwide</author>
      <link>http://userscripts.org/posts/173793</link>
    </item>
    <item>
      <title>String.strip does not exist, replied by N_Ox</title>
      <description>&lt;p&gt;On Safari with GreaseKit, the script fails when doing &quot;var cookie = (new String(cookies[x])).strip();&quot; String.strip is undefined.&lt;/p&gt;</description>
      <pubDate>Mon, 17 Aug 2009 13:20:15 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:33282:159331</guid>
      <author>N_Ox</author>
      <link>http://userscripts.org/posts/159331</link>
    </item>
    <item>
      <title>Patch for AJAX Loaded Content, replied by Sean Murphy</title>
      <description>&lt;p&gt;Thanks! I have a new version of the script I'm currently working on which adds support for this. I should be releasing it within the next week.&lt;/p&gt;</description>
      <pubDate>Fri, 15 May 2009 00:02:07 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:26762:121598</guid>
      <author>Sean Murphy</author>
      <link>http://userscripts.org/posts/121598</link>
    </item>
    <item>
      <title>Patch for AJAX Loaded Content, replied by kleingeist</title>
      <description>&lt;p&gt;With this patch LongURL Mobile Expander will handle AJAXA Loaded Content like the new posts you get when you click &quot;more&quot; on twitter.&lt;/p&gt;

&lt;p&gt;&lt;pre&gt;&lt;code&gt;
--- 32115.user.js	2009-05-13 13:25:25.015625000 +0200
+++ longurl_mobile_expander.user.js	2009-05-13 13:30:08.843750000 +0200
@@ -45,6 +45,7 @@
 			onload: function(response) {
 				saveSupportedServices(response);
 				modifyShortLinks();
+				document.addEventListener(&quot;DOMNodeInserted&quot;, function(e) {modifyShortLinks(e.relatedNode);}, false);
 			}
 		});
 	};
@@ -78,8 +79,12 @@
 		setValue('longurl_expire_services', date.toUTCString());
 	};
 	
-	modifyShortLinks = function() {
-		var links = document.evaluate(&quot;//a[@href]&quot;, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
+	modifyShortLinks = function(context) {
+		if (typeof context == 'undefined') {
+			context = document
+		}
+		
+		var links = document.evaluate(&quot;//a[@href]&quot;, context, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
 		
 		for (var x = 0; x &amp;lt; links.snapshotLength; x++) {
 		    var a = links.snapshotItem(x);
@@ -275,6 +280,7 @@
 	if (serialized_services &amp;amp;&amp;amp; services_expire &gt; now.getTime()) {
 		this.known_services = eval('(' + serialized_services + ')');
 		modifyShortLinks();
+		document.addEventListener(&quot;DOMNodeInserted&quot;, function(e) {modifyShortLinks(e.relatedNode);}, false);
 	} else {
 		getServicesFromAPI();
 	}
&lt;/code&gt;&lt;/pre&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 13 May 2009 11:35:05 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:26762:120903</guid>
      <author>kleingeist</author>
      <link>http://userscripts.org/posts/120903</link>
    </item>
    <item>
      <title>Can't run on https page?, replied by dupola</title>
      <description>&lt;p&gt;It seems this script can't run on https page?
&lt;br /&gt;Like &lt;a href=&quot;https://twitter.com&quot;&gt;https://twitter.com&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 31 Dec 2008 11:32:29 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:19787:87171</guid>
      <author>dupola</author>
      <link>http://userscripts.org/posts/87171</link>
    </item>
    <item>
      <title>Archived Comments, replied by Artemy Tregoubenko</title>
      <description>&lt;p&gt;I've created alternate, more generic version of this script: &lt;a href=&quot;http://userscripts.org/scripts/show/36006&quot;&gt;http://userscripts.org/scripts/show/36006&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 25 Oct 2008 06:52:38 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:13288:41435</guid>
      <author>Artemy Tregoubenko</author>
      <link>http://userscripts.org/posts/41435</link>
    </item>
    <item>
      <title>Archived Comments, replied by simon!</title>
      <description>&lt;p&gt;&lt;a href=&quot;http://userscripts.org/scripts/show/3548#comment-31492&quot;&gt;http://userscripts.org/scripts/show/3548#commen...&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Try to restore this: &lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://tinyurl.com/ylec4s&quot; title=&quot;http://en.wikipedia.org/wiki/Tin-foil_hat&quot;&gt;&lt;img src=&quot;http://img406.imageshack.us/img406/5901/nutshellnb5.png&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://tinyurl.com/ylec4s&quot; title=&quot;http://tinyurl.com/ylec4s&quot;&gt;&lt;img src=&quot;http://img406.imageshack.us/img406/5901/nutshellnb5.png&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://tinyurl.com/ylec4s&quot;&gt;&lt;img src=&quot;http://img406.imageshack.us/img406/5901/nutshellnb5.png&quot; /&gt;&lt;/a&gt; (failed!)&lt;/p&gt;

&lt;p&gt;and please keep the current tooltip and not your customized one...&lt;/p&gt;

&lt;p&gt;this is my default tooltip: &lt;a href=&quot;http://userstyles.org/styles/4120&quot;&gt;http://userstyles.org/styles/4120&lt;/a&gt;
&lt;br /&gt;&lt;pre&gt;@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

tooltip {
-moz-appearance: none !important;
font: message-box !important;
font-size: 13px !important;
color: #ffffff !important;
background-color: rgba(128,128,128,0.7) !important;
border: 1px solid #000000 !important;
}&lt;/pre&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 29 Sep 2008 08:49:03 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:13288:41436</guid>
      <author>simon!</author>
      <link>http://userscripts.org/posts/41436</link>
    </item>
    <item>
      <title>Archived Comments, replied by simon!</title>
      <description>&lt;p&gt;testing...&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://tinyurl.com/4k4x7u&quot;&gt;http://tinyurl.com/4k4x7u&lt;/a&gt;
&lt;br /&gt;&lt;a href=&quot;http://is.gd/2TTX&quot;&gt;http://is.gd/2TTX&lt;/a&gt;
&lt;br /&gt;&lt;a href=&quot;http://bit.ly/tGzTV&quot;&gt;http://bit.ly/tGzTV&lt;/a&gt;
&lt;br /&gt;&lt;a href=&quot;http://snipurl.com/3xhlc&quot;&gt;http://snipurl.com/3xhlc&lt;/a&gt;
&lt;br /&gt;&lt;a href=&quot;http://twurl.nl/fbiucs&quot;&gt;http://twurl.nl/fbiucs&lt;/a&gt;
&lt;br /&gt;&lt;a href=&quot;http://xrl.us/osedu&quot;&gt;http://xrl.us/osedu&lt;/a&gt;
&lt;br /&gt;&lt;a href=&quot;http://ur1.ca/791&quot;&gt;http://ur1.ca/791&lt;/a&gt;
&lt;br /&gt;&lt;a href=&quot;http://url.ie/qpy&quot;&gt;http://url.ie/qpy&lt;/a&gt;
&lt;br /&gt;&lt;a href=&quot;http://www.x.se/evk&quot;&gt;http://www.x.se/evk&lt;/a&gt;
&lt;br /&gt;&lt;a href=&quot;http://yep.it/1feh9f&quot;&gt;http://yep.it/1feh9f&lt;/a&gt;
&lt;br /&gt;&lt;a href=&quot;http://piurl.com/Yav&quot;&gt;http://piurl.com/Yav&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 29 Sep 2008 08:40:48 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:13288:41437</guid>
      <author>simon!</author>
      <link>http://userscripts.org/posts/41437</link>
    </item>
    <item>
      <title>Archived Comments, replied by Sean Murphy</title>
      <description>&lt;p&gt;For those who are interested, or who have tried before and failed, the script should now work in Greasekit (Fluid, Safari, etc). It hasn't been heavily tested so let me know if you have problems.&lt;/p&gt;</description>
      <pubDate>Thu, 18 Sep 2008 03:38:07 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:13288:41438</guid>
      <author>Sean Murphy</author>
      <link>http://userscripts.org/posts/41438</link>
    </item>
    <item>
      <title>Archived Comments, replied by Jesse Andrews</title>
      <description>&lt;p&gt;The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)&lt;/p&gt;</description>
      <pubDate>Wed, 17 Nov 2004 01:05:09 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:13288:41434</guid>
      <author>Jesse Andrews</author>
      <link>http://userscripts.org/posts/41434</link>
    </item>
  </channel>
</rss>
