<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Discussion on inYOf4ceBook | Userscripts.org</title>
    <link>http://userscripts.org/scripts/show/8712</link>
    <description>Recent comments on userscript: inYOf4ceBook</description>
    <language>en-us</language>
    <ttl>60</ttl>
    <item>
      <title>Undefined, replied by leoncub</title>
      <description>&lt;p&gt;Cheers mate!&lt;/p&gt;</description>
      <pubDate>Wed, 28 Oct 2009 15:33:01 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:38039:184488</guid>
      <author>leoncub</author>
      <link>http://userscripts.org/posts/184488</link>
    </item>
    <item>
      <title>Undefined, replied by znerp</title>
      <description>&lt;p&gt;I've had a quick look this morning and I believe I've sorted out your 'undefined' problem. The whole code really needs a rewrite though to be honest.&lt;/p&gt;&lt;p&gt;With respect to your other problem though, I can't seem to replicate this behaviour at all. I very rarely use Facebook, and when I do I spend minimal time one it but I will try to spend some time on it at some point to see if I can make it act up. Also FYI, jiggling about and clicking really won't make the script do anything.&lt;/p&gt;</description>
      <pubDate>Sun, 25 Oct 2009 11:47:18 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:38039:183414</guid>
      <author>znerp</author>
      <link>http://userscripts.org/posts/183414</link>
    </item>
    <item>
      <title>Undefined, replied by znerp</title>
      <description>&lt;p&gt;Thanks for the info. I'm busy for the next few days but I will have a look after this weekend.&lt;/p&gt;</description>
      <pubDate>Fri, 23 Oct 2009 13:13:23 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:38039:182673</guid>
      <author>znerp</author>
      <link>http://userscripts.org/posts/182673</link>
    </item>
    <item>
      <title>Undefined, replied by leoncub</title>
      <description>&lt;p&gt;There is an issue when hovering over a photo posted on either the homepage or a profile page. If the 'crosshair' cursor falls within the bounds of the image and you want to click it, the link will change from what it should be to either &lt;a href=&quot;http://www.facebook.com/undefined&quot;&gt;http://www.facebook.com/undefined&lt;/a&gt; or &lt;a href=&quot;http://www.facebook.com/search/undefined&quot;&gt;http://www.facebook.com/search/undefined&lt;/a&gt;. This means it is impossible to actually click through to the actual photo or album page because the link is rewritten.&lt;/p&gt;

&lt;p&gt;This only happens for pictures that cover the mouse cursor where you want to click. It also does not happen on album pages or when hovering over profile pictures.&lt;/p&gt;

&lt;p&gt;Here are two screenshots to illustrate:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://i37.tinypic.com/1sdvsy.jpg&quot;&gt;http://i37.tinypic.com/1sdvsy.jpg&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://i34.tinypic.com/30a6wpe.jpg&quot;&gt;http://i34.tinypic.com/30a6wpe.jpg&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In the first example, the image is only partially obscured so it is possible to move the cursor away enough to get the proper link. However, in the second example, the image that you wish to view is completely obscured by the full-size preview and it is impossible to move the cursor anywhere to get the correct link.&lt;/p&gt;

&lt;p&gt;Also, your most recent version of the script appears to be a bit buggy. Sometimes it refuses to give a preview when hovering over photos or profile pics until you &quot;jiggle around&quot; a bit or click somewhere else on the page. Sometimes it doesn't play ball at all no matter what you do. I'm afraid I'm unable to give any further information because there doesn't appear to be any pattern as to when it happens, it is quite random. It affects all types of Facebook pages and all types of image capable of being enlarged by your script.&lt;/p&gt;</description>
      <pubDate>Fri, 23 Oct 2009 12:32:00 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:38039:182665</guid>
      <author>leoncub</author>
      <link>http://userscripts.org/posts/182665</link>
    </item>
    <item>
      <title>Memory Leak?, replied by znerp</title>
      <description>&lt;p&gt;Ok, I've had a look and I believe the change I've just made should make it much, much better to use in this way.&lt;/p&gt;</description>
      <pubDate>Wed, 21 Oct 2009 20:31:13 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:36164:182067</guid>
      <author>znerp</author>
      <link>http://userscripts.org/posts/182067</link>
    </item>
    <item>
      <title>Memory Leak?, replied by Andrew Wright</title>
      <description>&lt;p&gt;I can confirm yanksoccer117's suggestion works. The BOTTOM section of code needs commenting out like so:
&lt;br /&gt;&lt;pre&gt;
// Wait for Facebook's content element to exist
if (self.location == top.location) 
  // var checker=setInterval(function(){
    // if(document.getElementById('content')) {
      // clearInterval(checker);
      process(); // Start the listener
    // }
  // }, 200);
&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;I simple terms, comment out every line except the &lt;code&gt;if&lt;/code&gt; statement and &lt;code&gt;process()&lt;/code&gt; from the bottom code block!&lt;/p&gt;</description>
      <pubDate>Sun, 11 Oct 2009 15:49:14 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:36164:178237</guid>
      <author>Andrew Wright</author>
      <link>http://userscripts.org/posts/178237</link>
    </item>
    <item>
      <title>Memory Leak?, replied by Andrew Wright</title>
      <description>&lt;p&gt;Same problem here!&lt;/p&gt;

&lt;p&gt;And it being called on an interval (as setInterval would suggest) also concurs with my observations that there are lots of CPU usage spikes in my Process Explorer graphs!&lt;/p&gt;

&lt;p&gt;I love this script, so I hope it is fixed soon...&lt;/p&gt;</description>
      <pubDate>Fri, 09 Oct 2009 16:07:27 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:36164:177654</guid>
      <author>Andrew Wright</author>
      <link>http://userscripts.org/posts/177654</link>
    </item>
    <item>
      <title>Memory Leak?, replied by bugmenot2009</title>
      <description>&lt;p&gt;Thanks yank, appreciate it.&lt;/p&gt;</description>
      <pubDate>Wed, 07 Oct 2009 19:40:21 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:36164:176919</guid>
      <author>bugmenot2009</author>
      <link>http://userscripts.org/posts/176919</link>
    </item>
    <item>
      <title>Memory Leak?, replied by yanksoccer117</title>
      <description>&lt;p&gt;I am seeing this same issue.  Memory usage seems to grow steadily as long as the tab is open, even without any activity.  I am trying to see which part of the code is causing this and will post back if I find anything.&lt;/p&gt;

&lt;p&gt;Edit: Commenting out the &lt;code&gt;setInterval&lt;/code&gt; function at the bottom of the code and instead only calling &lt;code&gt;process();&lt;/code&gt; once seems to stop the memory leak for me.  I am guessing this kills some amount of functionality, but in general for most uses the script seemed to still be working fine.  Until there is an update, I'd suggest doing this.&lt;/p&gt;</description>
      <pubDate>Tue, 06 Oct 2009 03:46:56 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:36164:176378</guid>
      <author>yanksoccer117</author>
      <link>http://userscripts.org/posts/176378</link>
    </item>
    <item>
      <title>Memory Leak?, replied by bugmenot2009</title>
      <description>&lt;p&gt;Hi, I've been using this script for a long time but recently I have been experiencing a memory leak when I leave a tab with facebook open. If I deactivate the script and change nothing else I experience no leak.&lt;/p&gt;

&lt;p&gt;I'm using:
&lt;br /&gt;-Firefox 3.5.3
&lt;br /&gt;-Greasemonkey 0.8.20090920.2
&lt;br /&gt;-AdBlock Plus 1.1.1&lt;/p&gt;

&lt;p&gt;I have no other greasemonkey scripts for facebook.&lt;/p&gt;

&lt;p&gt;(This is a public userscripts account from bugmenot, so don't PM me if you have any questions about my setup, just post them here and I'll check back)&lt;/p&gt;</description>
      <pubDate>Tue, 29 Sep 2009 03:44:04 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:36164:174226</guid>
      <author>bugmenot2009</author>
      <link>http://userscripts.org/posts/174226</link>
    </item>
    <item>
      <title>Image titles, replied by SwornPacifist</title>
      <description>&lt;p&gt;I love this script, but wanted the title text to show when the images zoom in:&lt;/p&gt;

&lt;p&gt;I found a fix by adding some code in the &quot;Normal images&quot; and &quot;Rounded corner images&quot; sections, around the edit I left the beginning and ending lines the same from the script to make it easy to find where they go.&lt;/p&gt;

&lt;p&gt;I uploaded the code pieces to:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://pastebay.com/54828&quot;&gt;http://pastebay.com/54828&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Click &quot;download&quot; near the top to get the plain text version without line numbers&lt;/p&gt;</description>
      <pubDate>Wed, 16 Sep 2009 18:59:17 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:35286:169577</guid>
      <author>SwornPacifist</author>
      <link>http://userscripts.org/posts/169577</link>
    </item>
    <item>
      <title>how can i remove the 'view all photos' function?  , replied by znerp</title>
      <description>&lt;p&gt;This script doesn't have that functionality.&lt;/p&gt;</description>
      <pubDate>Thu, 03 Sep 2009 08:10:18 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:34365:165478</guid>
      <author>znerp</author>
      <link>http://userscripts.org/posts/165478</link>
    </item>
    <item>
      <title>how can i remove the 'view all photos' function?  , replied by test55555</title>
      <description>&lt;p&gt;its really annoying and messes with the pictures (keeps on accumulating and then moves the page down).&lt;/p&gt;

&lt;p&gt;thanks&lt;/p&gt;</description>
      <pubDate>Wed, 02 Sep 2009 22:50:26 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:34365:165389</guid>
      <author>test55555</author>
      <link>http://userscripts.org/posts/165389</link>
    </item>
    <item>
      <title>broken on just profile pics?, replied by znerp</title>
      <description>&lt;p&gt;Thanks for this blackwind, I've made the change to the script now.&lt;/p&gt;</description>
      <pubDate>Sat, 01 Aug 2009 10:50:46 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:30072:153206</guid>
      <author>znerp</author>
      <link>http://userscripts.org/posts/153206</link>
    </item>
    <item>
      <title>broken on just profile pics?, replied by steeev</title>
      <description>&lt;p&gt;thanks blackwind, that worked for me too&lt;/p&gt;</description>
      <pubDate>Thu, 30 Jul 2009 11:59:51 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:30072:152327</guid>
      <author>steeev</author>
      <link>http://userscripts.org/posts/152327</link>
    </item>
    <item>
      <title>broken on just profile pics?, replied by blackwind</title>
      <description>&lt;p&gt;In Canada, I'm getting images from &quot;profile.ak.fbcdn.net&quot;; therefore, changing this...&lt;/p&gt;

&lt;p&gt;&lt;pre&gt;var allImages = document.evaluate(&quot;//img[starts-with(@src, 'http://profile.ak.facebook.com/')]|&quot;+&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;...to this...&lt;/p&gt;

&lt;p&gt;&lt;pre&gt;var allImages = document.evaluate(&quot;//img[starts-with(@src, 'http://profile.ak.')]|&quot;+&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;...resolves the issue. Cheers!&lt;/p&gt;</description>
      <pubDate>Fri, 24 Jul 2009 09:41:39 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:30072:149991</guid>
      <author>blackwind</author>
      <link>http://userscripts.org/posts/149991</link>
    </item>
    <item>
      <title>broken on just profile pics?, replied by znerp</title>
      <description>&lt;p&gt;I've not tested this script specifically, but I spent a few hours on Facebook yesterday playing with one of my scripts (using Facebook is a rarity for me) and I didn't notice any problems at all.&lt;/p&gt;</description>
      <pubDate>Wed, 22 Jul 2009 08:29:29 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:30072:149088</guid>
      <author>znerp</author>
      <link>http://userscripts.org/posts/149088</link>
    </item>
    <item>
      <title>broken on just profile pics?, replied by Simon14</title>
      <description>&lt;p&gt;It's working fine for me. I had to refresh the page, not just go to a different page (because of Facebook's use of Ajax)&lt;/p&gt;</description>
      <pubDate>Wed, 22 Jul 2009 00:06:06 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:30072:148975</guid>
      <author>Simon14</author>
      <link>http://userscripts.org/posts/148975</link>
    </item>
    <item>
      <title>broken on just profile pics?, replied by blackwind</title>
      <description>&lt;p&gt;Broken again. Looking forward to the next version. :)&lt;/p&gt;</description>
      <pubDate>Sun, 12 Jul 2009 10:12:35 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:30072:145340</guid>
      <author>blackwind</author>
      <link>http://userscripts.org/posts/145340</link>
    </item>
    <item>
      <title>broken on just profile pics?, replied by jms</title>
      <description>&lt;p&gt;continuing user.  continuing fan.  fixed for me!&lt;/p&gt;</description>
      <pubDate>Tue, 07 Jul 2009 05:00:31 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:30072:143328</guid>
      <author>jms</author>
      <link>http://userscripts.org/posts/143328</link>
    </item>
    <item>
      <title>broken on just profile pics?, replied by znerp</title>
      <description>&lt;blockquote&gt;Anyone wanna take a stab at fixing it?&lt;/blockquote&gt;&lt;p&gt;Well I've had a go. It should work again now.&lt;/p&gt;</description>
      <pubDate>Sat, 04 Jul 2009 06:48:56 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:30072:142247</guid>
      <author>znerp</author>
      <link>http://userscripts.org/posts/142247</link>
    </item>
    <item>
      <title>broken on just profile pics?, replied by brandobean</title>
      <description>&lt;p&gt;Me too. Used to work when you moused over someone's profile picture in a comment thread right? Bummer, I miss that. Anyone wanna take a stab at fixing it?&lt;/p&gt;</description>
      <pubDate>Sat, 04 Jul 2009 01:00:34 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:30072:142165</guid>
      <author>brandobean</author>
      <link>http://userscripts.org/posts/142165</link>
    </item>
    <item>
      <title>broken on just profile pics?, replied by STaRDoGG CHaMPioN</title>
      <description>&lt;p&gt;I'm seeing the same thing&lt;/p&gt;</description>
      <pubDate>Fri, 03 Jul 2009 22:39:46 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:30072:142133</guid>
      <author>STaRDoGG CHaMPioN</author>
      <link>http://userscripts.org/posts/142133</link>
    </item>
    <item>
      <title>broken on just profile pics?, replied by jms</title>
      <description>&lt;p&gt;long time user.  long time fan.  awesome script.&lt;/p&gt;

&lt;p&gt;this seems to have happened in just the past couple days.&lt;/p&gt;</description>
      <pubDate>Fri, 03 Jul 2009 04:15:12 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:30072:141736</guid>
      <author>jms</author>
      <link>http://userscripts.org/posts/141736</link>
    </item>
    <item>
      <title>document.getElementById(&amp;quot;content&amp;quot;) is null error, replied by sizzlemctwizzle</title>
      <description>&lt;p&gt;Could you please change:&lt;pre&gt;document.getElementById(&amp;quot;content&amp;quot;).addEventListener(&amp;#39;DOMNodeInserted&amp;#39;, inYoFace, true);
window.addEventListener(&amp;#39;load&amp;#39;, inYoFace, true);&lt;/pre&gt;to this:&lt;pre&gt;// Re-run the code when the page changes
function process() {
  document.getElementById(&amp;#39;content&amp;#39;).removeEventListener(&amp;#39;DOMNodeInserted&amp;#39;, process, false);
  inYoFace();
  document.getElementById(&amp;#39;content&amp;#39;).addEventListener(&amp;quot;DOMNodeInserted&amp;quot;, process, false);
}

// Wait for Facebook&amp;#39;s content element to exist
if (self.location == top.location) var checker=setInterval(function(){
    if(document.getElementById(&amp;#39;content&amp;#39;)) {
      clearInterval(checker);
      process(); // Start the listener
    }
  }, 200);&lt;/pre&gt;
&lt;br /&gt;It would eliminate the &lt;code&gt;document.getElementById(&amp;quot;content&amp;quot;) is null&lt;/code&gt; error&lt;/p&gt;

&lt;p&gt;Edit: Thanks znerp&lt;/p&gt;</description>
      <pubDate>Tue, 05 May 2009 00:02:07 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:26188:117886</guid>
      <author>sizzlemctwizzle</author>
      <link>http://userscripts.org/posts/117886</link>
    </item>
  </channel>
</rss>
