<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Discussion on Universal imagehost redirector | Userscripts.org</title>
    <link>http://userscripts.org/scripts/show/4372</link>
    <description>Recent comments on userscript: Universal imagehost redirector</description>
    <language>en-us</language>
    <ttl>60</ttl>
    <item>
      <title>please update for 2009 :), replied by Arvid</title>
      <description>&lt;p&gt;Hi guys, sorry for the long absence. I've updated the script to the version I'm using right now. I'm not sure if it fixes all the issues you're having, but I would be glad if you report any issues you find. Sorry for keeping you waiting.&lt;/p&gt;</description>
      <pubDate>Thu, 19 Nov 2009 09:01:04 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:21160:191400</guid>
      <author>Arvid</author>
      <link>http://userscripts.org/posts/191400</link>
    </item>
    <item>
      <title>please update for 2009 :), replied by tunayx</title>
      <description>&lt;p&gt;Cause problems like the site below, you can not download anything
&lt;br /&gt;&lt;a href=&quot;http://jdownloader.org/download/index?s=lng_en&quot;&gt;http://jdownloader.org/download/index?s=lng_en&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 25 Jun 2009 10:28:02 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:21160:138133</guid>
      <author>tunayx</author>
      <link>http://userscripts.org/posts/138133</link>
    </item>
    <item>
      <title>please update for 2009 :), replied by Raloc</title>
      <description>&lt;p&gt;shareapic no longer works :&lt;/p&gt;

&lt;p&gt;The links to the pics are no longer like this : &lt;a href=&quot;http://www.shareapic.net/images/012835187.jpg&quot;&gt;http://www.shareapic.net/images/012835187.jpg&lt;/a&gt; but like this : &lt;a href=&quot;http://images.shareapic.net/fullsize4/012835187.jpg&quot;&gt;http://images.shareapic.net/fullsize4/012835187...&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Of course, the number after fullsize may vary.&lt;/p&gt;</description>
      <pubDate>Sun, 14 Jun 2009 13:15:19 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:21160:133085</guid>
      <author>Raloc</author>
      <link>http://userscripts.org/posts/133085</link>
    </item>
    <item>
      <title>please update for 2009 :), replied by Good To Too</title>
      <description>&lt;p&gt;The horror: the ads&lt;/p&gt;

&lt;p&gt;I miss a clean imageshack&lt;/p&gt;</description>
      <pubDate>Mon, 02 Feb 2009 05:37:02 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:21160:93519</guid>
      <author>Good To Too</author>
      <link>http://userscripts.org/posts/93519</link>
    </item>
    <item>
      <title>Archived Comments, replied by roraz</title>
      <description>&lt;p&gt;anybody got any code that would work for imagebam??&lt;/p&gt;</description>
      <pubDate>Tue, 14 Oct 2008 09:22:24 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14709:59692</guid>
      <author>roraz</author>
      <link>http://userscripts.org/posts/59692</link>
    </item>
    <item>
      <title>Archived Comments, replied by fnloser</title>
      <description>&lt;p&gt;this  makes shareapic work for me&lt;/p&gt;

&lt;p&gt;{
&lt;br /&gt;		name: 'shareapic',
&lt;br /&gt;		url_regex: /http:\/\/(&lt;a href=&quot;http://www.)?shareapic\.net\/content\.php\?id=([^&amp;amp;]*)(&amp;amp;owner=(.*))?$/&quot;&gt;www.)?shareapic\.net\/content\.php\?id=([^&amp;amp;]*)(...&lt;/a&gt;,
&lt;br /&gt;		rewrite: function (matchResults) {
&lt;br /&gt;			var filename = '';
&lt;br /&gt;			var id = matchResults[2];
&lt;br /&gt;			for (var i = 0; i &amp;lt; 9-id.length; i++) {
&lt;br /&gt;				filename += '0';
&lt;br /&gt;			}
&lt;br /&gt;			var location = 'http://www.shareapic.net/images/' + filename + id + '.jpg';
&lt;br /&gt;			return location;
&lt;br /&gt;		},
&lt;br /&gt;		xpath: &quot;//img[contains(@src, 'http://images.shareapic.net/images3/')]&quot;,
&lt;br /&gt;		redirect: true,
&lt;br /&gt;	},&lt;/p&gt;</description>
      <pubDate>Sun, 17 Aug 2008 03:45:30 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14709:59693</guid>
      <author>fnloser</author>
      <link>http://userscripts.org/posts/59693</link>
    </item>
    <item>
      <title>Archived Comments, replied by Cyberbeing</title>
      <description>&lt;p&gt;A few months ago I did a simple modification to the shareapic part of the script for the new naming convention and it seems to work most of the time (though sometimes you will get a 404 or Forbidden error).&lt;/p&gt;

&lt;p&gt;&lt;code&gt;	{
&lt;br /&gt;		name: 'shareapic',
&lt;br /&gt;		url_regex: /http:\/\/(www.)?shareapic\.net\/content\.php\?id=([^&amp;amp;]*)(&amp;amp;owner=(.*))?$/,
&lt;br /&gt;		rewrite: function (matchResults) {
&lt;br /&gt;			var filename = '';
&lt;br /&gt;			var id = matchResults[2];
&lt;br /&gt;			for (var i = 0; i &amp;lt; 9-id.length; i++) {
&lt;br /&gt;				filename += '0';
&lt;br /&gt;			}
&lt;br /&gt;			var location = 'http://images.shareapic.net/fullsize3/' + filename + id + '.jpg';
&lt;br /&gt;			return location;
&lt;br /&gt;		},
&lt;br /&gt;		xpath: &quot;//img[contains(@src, 'http://images.shareapic.net/fullsize3')]&quot;,
&lt;br /&gt;		redirect: true,
&lt;br /&gt;	},&lt;/code&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 28 Jun 2008 19:46:35 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14709:59694</guid>
      <author>Cyberbeing</author>
      <link>http://userscripts.org/posts/59694</link>
    </item>
    <item>
      <title>Archived Comments, replied by anonymous_user</title>
      <description>&lt;p&gt;Do you think you could add support for Joggs.com?&lt;/p&gt;

&lt;p&gt;Its not an imagehost but itd be nice if clicking on the thumbnails would go straight to the images.&lt;/p&gt;</description>
      <pubDate>Wed, 07 May 2008 14:34:58 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14709:59695</guid>
      <author>anonymous_user</author>
      <link>http://userscripts.org/posts/59695</link>
    </item>
    <item>
      <title>Archived Comments, replied by xad</title>
      <description>&lt;p&gt;Any possibility in an update for this please so that it works with places like hidebehind? It's a great script but stopped working for various sites.&lt;/p&gt;

&lt;p&gt;Thanks.&lt;/p&gt;</description>
      <pubDate>Mon, 07 Apr 2008 12:53:00 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14709:59696</guid>
      <author>xad</author>
      <link>http://userscripts.org/posts/59696</link>
    </item>
    <item>
      <title>Archived Comments, replied by zagadka</title>
      <description>&lt;p&gt;Line 295 of your script is not correct. Images are not hosted on &lt;a href=&quot;http://www.shareapic.net&quot;&gt;www.shareapic.net&lt;/a&gt;, they are on images.shareapic.net.&lt;/p&gt;</description>
      <pubDate>Fri, 22 Feb 2008 19:37:43 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14709:59697</guid>
      <author>zagadka</author>
      <link>http://userscripts.org/posts/59697</link>
    </item>
    <item>
      <title>Archived Comments, replied by HatastiX</title>
      <description>&lt;p&gt;nothing happens on hidebehind.com :(&lt;/p&gt;</description>
      <pubDate>Sat, 19 Jan 2008 00:11:26 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14709:59698</guid>
      <author>HatastiX</author>
      <link>http://userscripts.org/posts/59698</link>
    </item>
    <item>
      <title>Archived Comments, replied by pooja</title>
      <description>&lt;p&gt;CAN ANYBODY HELP I MADE A JAVASCRIPT FOR MY COMMUNITY ITS WORKING FINE BUT I WANT BY ONE CLICK IN DESCRIPTION OF COMMUNITY ....HOW CAN WE DO THAT &lt;/p&gt;

&lt;p&gt;PLZZZ HELP ME OUT&lt;/p&gt;</description>
      <pubDate>Sat, 12 Jan 2008 15:02:40 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14709:59699</guid>
      <author>pooja</author>
      <link>http://userscripts.org/posts/59699</link>
    </item>
    <item>
      <title>Archived Comments, replied by darodi</title>
      <description>&lt;p&gt;Thanks for your script! :)&lt;/p&gt;

&lt;p&gt;Here is the code to add support for yourfilehost images.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;
&lt;br /&gt;	{
&lt;br /&gt;		name: 'yourfilehost',
&lt;br /&gt;		url_regex: /http:\/\/www\.yourfilehost\.com\/media\.php\?cat=image&amp;amp;file=(.*?)/,
&lt;br /&gt;		id: 'thepic',
&lt;br /&gt;		redirect: true,
&lt;br /&gt;	},&lt;/p&gt;

&lt;p&gt;&lt;/code&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 12 Jan 2008 14:50:37 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14709:59700</guid>
      <author>darodi</author>
      <link>http://userscripts.org/posts/59700</link>
    </item>
    <item>
      <title>Archived Comments, replied by Zian</title>
      <description>&lt;p&gt;Are there any chances this script will work in Opera browser? :)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.opera.com/support/tutorials/userjs/using/#writingscripts&quot;&gt;http://www.opera.com/support/tutorials/userjs/u...&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 19 Dec 2007 11:32:28 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14709:59701</guid>
      <author>Zian</author>
      <link>http://userscripts.org/posts/59701</link>
    </item>
    <item>
      <title>Archived Comments, replied by theaulddubliner</title>
      <description>&lt;p&gt;thanks for updating arvid - this script is a real time saver and 'annoyance avoider'&lt;/p&gt;</description>
      <pubDate>Thu, 06 Dec 2007 03:18:35 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14709:59702</guid>
      <author>theaulddubliner</author>
      <link>http://userscripts.org/posts/59702</link>
    </item>
    <item>
      <title>Archived Comments, replied by Arvid</title>
      <description>&lt;p&gt;Sorry for being slow. Fixed support for uploadem. Thanks theaulddubliner and Thor.&lt;/p&gt;</description>
      <pubDate>Sun, 02 Dec 2007 20:09:55 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14709:59703</guid>
      <author>Arvid</author>
      <link>http://userscripts.org/posts/59703</link>
    </item>
    <item>
      <title>Archived Comments, replied by theaulddubliner</title>
      <description>&lt;p&gt;yay !!!&lt;/p&gt;

&lt;p&gt;that works great - thanks thor&lt;/p&gt;</description>
      <pubDate>Thu, 11 Oct 2007 23:51:23 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14709:59704</guid>
      <author>theaulddubliner</author>
      <link>http://userscripts.org/posts/59704</link>
    </item>
    <item>
      <title>Archived Comments, replied by Thor</title>
      <description>&lt;p&gt;Ok theaulddubliner,&lt;/p&gt;

&lt;p&gt;it's appear that uploadem have changed another time ;-)
&lt;br /&gt;try with this now&lt;/p&gt;

&lt;p&gt;&lt;pre&gt;
{
		name: 'uploadem.com',
		url_regex: /^http:\/\/(.*?\.)?uploadem\.com\/view.php\?/,
		xpath: &quot;id('myright')/p[@align='center']/a/img&quot;,
		redirect: true,
		rewrite: function (res, link) {
			var th = link.getElementsByTagName('img');
			if (th = th[0]) {
				var thRegex = new RegExp(/^http:\/\/(.*?)\.uploadem\.com\/(.*?)\/(.*?)$/);
				var thres; 
				if (thres = thRegex.exec(th.getAttribute('src')))
					return &quot;http://&quot; + thres[1] + &quot;.uploadem.com/&quot; + thres[2] + &quot;/&quot; + thres[3];
			}
			return false;
		}	
}
&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;P.S: nice girls ;-)&lt;/p&gt;</description>
      <pubDate>Thu, 11 Oct 2007 21:01:36 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14709:59705</guid>
      <author>Thor</author>
      <link>http://userscripts.org/posts/59705</link>
    </item>
    <item>
      <title>Archived Comments, replied by Thor</title>
      <description>&lt;p&gt;Ok theaulddubliner,&lt;/p&gt;

&lt;p&gt;it's appear that uploadem have changed another time ;-)
&lt;br /&gt;try with this now&lt;/p&gt;

&lt;p&gt;&lt;pre&gt;
{
		name: 'uploadem.com',
		url_regex: /^http:\/\/(.*?\.)?uploadem\.com\/view.php\?/,
		xpath: &quot;id('myright')/p[@align='center']/a/img&quot;,
		redirect: true,
		rewrite: function (res, link) {
			var th = link.getElementsByTagName('img');
			if (th = th[0]) {
				var thRegex = new RegExp(/^http:\/\/(.*?)\.uploadem\.com\/(.*?)\/(.*?)$/);
				var thres; 
				if (thres = thRegex.exec(th.getAttribute('src')))
					return &quot;http://&quot; + thres[1] + &quot;.uploadem.com/&quot; + thres[2] + &quot;/&quot; + thres[3];
			}
			return false;
		}	
}
&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;P.S: nice girls ;-)&lt;/p&gt;</description>
      <pubDate>Thu, 11 Oct 2007 20:59:12 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14709:59706</guid>
      <author>Thor</author>
      <link>http://userscripts.org/posts/59706</link>
    </item>
    <item>
      <title>Archived Comments, replied by theaulddubliner</title>
      <description>&lt;p&gt;i was missing the '}' but it still isn't working for me :(&lt;/p&gt;

&lt;p&gt;here's a couple of links that don't work: 
&lt;br /&gt;&lt;a href=&quot;http://i2.uploadem.com/view.php?view=181790&quot;&gt;http://i2.uploadem.com/view.php?view=181790&lt;/a&gt;
&lt;br /&gt;&lt;a href=&quot;http://i2.uploadem.com/view.php?view=181803&quot;&gt;http://i2.uploadem.com/view.php?view=181803&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;thanks for your help Thor&lt;/p&gt;</description>
      <pubDate>Thu, 11 Oct 2007 00:34:56 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14709:59707</guid>
      <author>theaulddubliner</author>
      <link>http://userscripts.org/posts/59707</link>
    </item>
    <item>
      <title>Archived Comments, replied by Thor</title>
      <description>&lt;p&gt;Hi  theaulddubliner,&lt;/p&gt;

&lt;p&gt;i think you have a missing &quot;}&quot; after &quot;return false&quot;
&lt;br /&gt;&lt;pre&gt;
    {   name: 'uploadem.com',
        url_regex: /^http:\/\/(.*?\.)?uploadem\.com\/view.php\?/,
        xpath: &quot;id('showcode')/p[@align='center']/a/img&quot;,
        redirect: true,   
        rewrite: function (res, link) {
            var th = link.getElementsByTagName('img');
            if (th = th[0]) {
                var thRegex = new RegExp(/^http\/\/(.*?)\.uploadem\.com\/(.*?)\/(.*?)$/);
                var thres;    
                if (thres = thRegex.exec(th.getAttribute('src')))  
                  return &quot;http://&quot; + thres[1] + &quot;.uploadem.com/&quot; + thres[2] + &quot;/&quot; + thres[3];
            }   
          return false;   
        }
   }
&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;anyway if you have once again the problem, post the &quot;not working&quot; url so i can try that ...&lt;/p&gt;</description>
      <pubDate>Wed, 10 Oct 2007 08:02:11 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14709:59708</guid>
      <author>Thor</author>
      <link>http://userscripts.org/posts/59708</link>
    </item>
    <item>
      <title>Archived Comments, replied by theaulddubliner</title>
      <description>&lt;p&gt;I must be missing something Thor as it still ain't working for me.&lt;/p&gt;

&lt;p&gt;I have the following: &lt;pre&gt;    {   name: 'uploadem.com',
        url_regex: /^http:\/\/(.*?\.)?uploadem\.com\/view.php\?/,
        xpath: &quot;id('showcode')/p[@align='center']/a/img&quot;,
        redirect: true,
        rewrite: function (res, link) {
            var th = link.getElementsByTagName('img');
            if (th = th[0]) {
                var thRegex = new RegExp(/^http\/\/(.*?)\.uploadem\.com\/(.*?)\/(.*?)$/);
                var thres; 
                if (thres = thRegex.exec(th.getAttribute('src')))
                    return &quot;http://&quot; + thres[1] + &quot;.uploadem.com/&quot; + thres[2] + &quot;/&quot; + thres[3];
            }
            return false;
    }&lt;/pre&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 10 Oct 2007 01:03:34 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14709:59709</guid>
      <author>theaulddubliner</author>
      <link>http://userscripts.org/posts/59709</link>
    </item>
    <item>
      <title>Archived Comments, replied by Thor</title>
      <description>&lt;p&gt;Yes, it work for me ;-)
&lt;br /&gt;anyway i've done a little fix because sometimes
&lt;br /&gt;the Regex don't work well ...
&lt;br /&gt;so replace this line
&lt;br /&gt;&lt;pre&gt;
var thRegex = new Regex(/^http\/\/(.*?)\.uploadem\.com\/(.*?)\/(.*?)$/);
&lt;/pre&gt;
&lt;br /&gt;with this line
&lt;br /&gt;&lt;pre&gt;
var thRegex = new RegExp(/^http\/\/(.*?)\.uploadem\.com\/(.*?)\/(.*?)$/);
&lt;/pre&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 09 Oct 2007 14:38:42 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14709:59710</guid>
      <author>Thor</author>
      <link>http://userscripts.org/posts/59710</link>
    </item>
    <item>
      <title>Archived Comments, replied by Thor</title>
      <description>&lt;p&gt;Yes, it work for me ;-)
&lt;br /&gt;anyway i've done a little fix because sometimes
&lt;br /&gt;the Regex don't work well ...
&lt;br /&gt;so replace this line
&lt;br /&gt;var thRegex = new Regex(/^http\/\/(.*?)\.uploadem\.com\/(.*?)\/(.*?)$/);
&lt;br /&gt;with this line
&lt;br /&gt;var thRegex = new RegExp(/^http\/\/(.*?)\.uploadem\.com\/(.*?)\/(.*?)$/);&lt;/p&gt;</description>
      <pubDate>Tue, 09 Oct 2007 14:38:00 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14709:59711</guid>
      <author>Thor</author>
      <link>http://userscripts.org/posts/59711</link>
    </item>
    <item>
      <title>Archived Comments, replied by theaulddubliner</title>
      <description>&lt;p&gt;thanks for posting thor but that ain't doing it for me - is it definitely working for you ?&lt;/p&gt;</description>
      <pubDate>Wed, 12 Sep 2007 03:59:25 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14709:59712</guid>
      <author>theaulddubliner</author>
      <link>http://userscripts.org/posts/59712</link>
    </item>
  </channel>
</rss>
