<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Discussion on Haaretz Enhancer | Userscripts.org</title>
    <link>http://userscripts.org/scripts/show/2284</link>
    <description>Recent comments on userscript: Haaretz Enhancer</description>
    <language>en-us</language>
    <ttl>60</ttl>
    <item>
      <title>Replacing the white background, replied by LL25255252</title>
      <description>&lt;p&gt;Here's my script to add some color to the white background of the Haaretz sites.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://userstyles.org/styles/18191&quot;&gt;http://userstyles.org/styles/18191&lt;/a&gt; (install it to stylish for a better result).&lt;/p&gt;

&lt;p&gt;BTW - these 2 scripts don't conflict (you can install them both).&lt;/p&gt;</description>
      <pubDate>Mon, 25 May 2009 10:35:59 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:27576:125530</guid>
      <author>LL25255252</author>
      <link>http://userscripts.org/posts/125530</link>
    </item>
    <item>
      <title>Archived Comments, replied by pagis</title>
      <description>&lt;p&gt;Great script Lior,
&lt;br /&gt;I've been using it for a couple of years and it makes a huge difference. Thanks so much!
&lt;br /&gt;Now, with the new Haaretz website (god knows why they changed it) I have to surf TheMarker to read financial news.
&lt;br /&gt;Any chance you can make this work on TheMarker?&lt;/p&gt;

&lt;p&gt;And thanks again for writing this script :)&lt;/p&gt;</description>
      <pubDate>Sun, 02 Nov 2008 07:20:22 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:17813:78302</guid>
      <author>pagis</author>
      <link>http://userscripts.org/posts/78302</link>
    </item>
    <item>
      <title>Archived Comments, replied by dirkhaim</title>
      <description>&lt;p&gt;Wonderful. I can scroll again! Thanks&lt;/p&gt;

&lt;p&gt;I think Haaretz's website is a very good example of very bad programming. Nothing to be done about it.&lt;/p&gt;

&lt;p&gt;I hope Lior will put a fix to this issue into the next version of the scripts.&lt;/p&gt;</description>
      <pubDate>Mon, 27 Oct 2008 17:44:01 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:17813:78303</guid>
      <author>dirkhaim</author>
      <link>http://userscripts.org/posts/78303</link>
    </item>
    <item>
      <title>Archived Comments, replied by benleevolk</title>
      <description>&lt;p&gt;@dirkhaim - you're right again. The problem is not a frame but a wrapping &quot;div&quot; element around the entire content, which for him the overflow property is set to &quot;scroll&quot;, while the overflow property of the &amp;lt;body&gt; and &amp;lt;html&gt; is set to &quot;hidden&quot; (that's an outstanding example for poor programming). I've managed to fix it by re-constructing the DOM tree and altering the script as follows.
&lt;br /&gt;Insert the following block immediately after the &lt;code&gt;//#### Improve main page&lt;/code&gt; line:
&lt;br /&gt;&lt;pre&gt;
	// fix scrolling 
	contentDiv=$(&quot;content&quot;);
	for(i=contentDiv.childNodes.length-1;i&amp;gt;=0;i--) {
		insertAfter(contentDiv.childNodes[i], contentDiv);
		removeNode(contentDiv.childNodes[i]);
	}
	removeNode(contentDiv);
	document.body.style.overflow=&quot;auto&quot;;
	document.body.style.textAlign=&quot;-moz-center&quot;;
	htmlElement=document.getElementsByTagName(&quot;HTML&quot;);
	htmlElement[0].style.overflow=&quot;auto&quot;;
&lt;/pre&gt;
&lt;br /&gt;Now that's supposed to solve your problem. It might make the page load slower than usual, but a good side-effect of this fix is that it makes the &quot;Open articles inside this page (Haaretz Enhancer feature)&quot; checkbox visible again.&lt;/p&gt;

&lt;p&gt;Not sure whether that's the best solution - perhaps other people will have better ideas.&amp;lt;/html&gt;&amp;lt;/body&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 27 Oct 2008 15:06:01 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:17813:78304</guid>
      <author>benleevolk</author>
      <link>http://userscripts.org/posts/78304</link>
    </item>
    <item>
      <title>Archived Comments, replied by dirkhaim</title>
      <description>&lt;p&gt;Thanks. That does the trick.&lt;/p&gt;

&lt;p&gt;Now I am left with one issue in Haaretz's website. When the website loads and I want to page down with a 'space', it seems like the page is made out of a few frames with the content being in one of them. This causes a pagedown but not in the content. You can try to get to this situation by loading the website and after it loads, just press the space-bar. This one is really annoying.&lt;/p&gt;

&lt;p&gt;I would love to see the script fixes this problem, if it's possible.&lt;/p&gt;</description>
      <pubDate>Sat, 25 Oct 2008 17:12:20 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:17813:78305</guid>
      <author>dirkhaim</author>
      <link>http://userscripts.org/posts/78305</link>
    </item>
    <item>
      <title>Archived Comments, replied by benleevolk</title>
      <description>&lt;p&gt;@dirkhaim:
&lt;br /&gt;The change I made was copying the following block:
&lt;br /&gt;&lt;pre&gt;//## Stop auto-refresh of the page.
//	Taken and modified from Pirateshark's http://userscripts.org/scripts/show/3587
//	who in turn took it from http://dunck.us/collab/DisableAutoRefresh
allElements = $x(&quot;//meta[@http-equiv='Refresh']|//meta[@http-equiv='refresh']|//meta[@http-equiv='REFRESH']&quot;);
allElements.forEach (function(e){
	var content = e.getAttribute(&quot;content&quot;);
	var stopTimer = window.setTimeout(&quot;window.stop();&quot;,(content-1)*1000); // in case load hasn't finished when the refresh fires
	window.addEventListener(&quot;load&quot;, function(){ try { window.clearTimeout(stopTimer); } catch(ex) {} window.stop(); }, true);
});
&lt;/pre&gt;
&lt;br /&gt;And moving it &lt;strong&gt;above&lt;/strong&gt; the following lines:
&lt;br /&gt;&lt;pre&gt;//feature is active only inside main page + printed list articles.
if ( (isSectionPage || isMainPage) || (isCaptainMain || isCaptainSection) ){
&lt;/pre&gt;
&lt;br /&gt;For me, at least, it works well and doesn't cause any other bugs - but since I'm not familiar with the entire script as well as Lior I won't upload a &quot;fixed&quot; script and wait for him to do it. If anything get mixed up you can always restore changes by re-installing the script from this page.&lt;/p&gt;</description>
      <pubDate>Sat, 25 Oct 2008 10:54:50 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:17813:78306</guid>
      <author>benleevolk</author>
      <link>http://userscripts.org/posts/78306</link>
    </item>
    <item>
      <title>Archived Comments, replied by dirkhaim</title>
      <description>&lt;p&gt;benleevolk, any chance you can put a link to the modified version or maybe paste the diff here?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;</description>
      <pubDate>Sat, 25 Oct 2008 09:26:53 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:17813:78307</guid>
      <author>dirkhaim</author>
      <link>http://userscripts.org/posts/78307</link>
    </item>
    <item>
      <title>Archived Comments, replied by benleevolk</title>
      <description>&lt;p&gt;Hi Lior,
&lt;br /&gt;A small fix: the code segment which removes the auto-refresh is within the scope of the following if statement:
&lt;br /&gt;&lt;code&gt;if ( (isSectionPage || isMainPage) || (isCaptainMain || isCaptainSection) )&lt;/code&gt;, the therefore only applies for the main page and section pages, and not for article pages.
&lt;br /&gt;(Although one can argue there's no need for it on article pages since you can open articles in the main page, I personally like sometimes to open sole articles in seperate tabs.)
&lt;br /&gt;I moved the code segment on my machine from outside the scope of the if statement and now it applies for all pages on haaretz - perhaps this fix will help other uses as well.&lt;/p&gt;

&lt;p&gt;Thanks for the wonderful script! :)&lt;/p&gt;</description>
      <pubDate>Thu, 23 Oct 2008 16:38:31 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:17813:78308</guid>
      <author>benleevolk</author>
      <link>http://userscripts.org/posts/78308</link>
    </item>
    <item>
      <title>Archived Comments, replied by Matan</title>
      <description>&lt;p&gt;Thank you Lior, I have converted many people to greaseMonkey by showing them before and after versions of the Haaretz site. Your script makes that site so much better.  A real killer app for Hebrew readers.&lt;/p&gt;</description>
      <pubDate>Tue, 15 Apr 2008 07:07:06 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:17813:78309</guid>
      <author>Matan</author>
      <link>http://userscripts.org/posts/78309</link>
    </item>
    <item>
      <title>Archived Comments, replied by Dov</title>
      <description>&lt;p&gt;To eliminate the frame obscuring the first talk-backs, just add &lt;a href=&quot;http://www.chart.co.il&quot;&gt;www.chart.co.il&lt;/a&gt; to adblock as a filter.
&lt;br /&gt;enjoy&lt;/p&gt;</description>
      <pubDate>Fri, 11 Jan 2008 16:59:05 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:17813:78310</guid>
      <author>Dov</author>
      <link>http://userscripts.org/posts/78310</link>
    </item>
    <item>
      <title>Archived Comments, replied by Lior Zur</title>
      <description>&lt;p&gt;Zaphod: Excellent, thank you. I coded the script so that quick solutions like yours are easy to create, and I'm glad it works. I'll incorporate your change.&lt;/p&gt;</description>
      <pubDate>Sun, 03 Jun 2007 13:38:20 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:17813:78311</guid>
      <author>Lior Zur</author>
      <link>http://userscripts.org/posts/78311</link>
    </item>
    <item>
      <title>Archived Comments, replied by Zaph0d</title>
      <description>&lt;p&gt;I've added these lines to the main block (let's say, after the end of &quot;if (isPrintArticleList) {&quot; block).
&lt;br /&gt;----Code start----
&lt;br /&gt;//#### Remove ads_frame
&lt;br /&gt;removeElements(&quot;//iframe[@id='ads_frame']&quot;);
&lt;br /&gt;-----Code end-----&lt;/p&gt;

&lt;p&gt;This solves the talkback being hidden problem.&lt;/p&gt;

&lt;p&gt;As the Blue Raja says: &quot;Cheerio!&quot;&lt;/p&gt;</description>
      <pubDate>Sun, 03 Jun 2007 08:22:45 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:17813:78312</guid>
      <author>Zaph0d</author>
      <link>http://userscripts.org/posts/78312</link>
    </item>
    <item>
      <title>Archived Comments, replied by Lior Zur</title>
      <description>&lt;p&gt;&quot;me&quot;: the ad you're complaining about can be eliminated using Adblock. Just set Adblock to block this iframe.&lt;/p&gt;</description>
      <pubDate>Tue, 27 Mar 2007 17:50:39 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:17813:78313</guid>
      <author>Lior Zur</author>
      <link>http://userscripts.org/posts/78313</link>
    </item>
    <item>
      <title>Archived Comments, replied by me</title>
      <description>&lt;p&gt;this is very nice.  can you also do something about the text ads at the bottom of haaretz articles.  the ads overwrite the first few talkbacks...  this is in firefox 2 on windows.  thanks!&lt;/p&gt;</description>
      <pubDate>Fri, 24 Nov 2006 08:50:18 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:17813:78314</guid>
      <author>me</author>
      <link>http://userscripts.org/posts/78314</link>
    </item>
    <item>
      <title>Archived Comments, replied by lycralout</title>
      <description>&lt;p&gt;This is *so* useful. Makes the Ha'aretz site actually readable. Kol hakavod.&lt;/p&gt;</description>
      <pubDate>Thu, 16 Nov 2006 10:31:59 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:17813:78315</guid>
      <author>lycralout</author>
      <link>http://userscripts.org/posts/78315</link>
    </item>
    <item>
      <title>Archived Comments, replied by Lior Zur</title>
      <description>&lt;p&gt;Hi Anonymous One, I appreciate your effort, but I can't understand exactly what you fixed. Why don't you e-mail me with precise details? I'm at liorzur -at- yahoo -dot- youknowwhat.&lt;/p&gt;</description>
      <pubDate>Fri, 27 Oct 2006 09:38:26 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:17813:78316</guid>
      <author>Lior Zur</author>
      <link>http://userscripts.org/posts/78316</link>
    </item>
    <item>
      <title>Archived Comments, replied by mar 1</title>
      <description>Sorry, I'm logged in through BugMeNot. I hope line breaks will work this time.&lt;br /&gt;&lt;br /&gt;
Here is an example article that doesn't get patched:&lt;br /&gt;
&lt;a href=&quot;http://www.haaretz.co.il/hasite/spages/776414.html&quot;&gt;http://www.haaretz.co.il/hasite/spages/776414.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
I haven't noticed if all articles are like this,&lt;br /&gt;
or only the article above which I wanted.&lt;br /&gt;
I've solved this, and here is the diff:&lt;br /&gt;&lt;br /&gt;
65c65&lt;br /&gt;
&amp;lt; var reListPrintEdition = /^http:\/\/www\.haaretz\.co\.il\/hasite\/spages/;&lt;br /&gt;
---&lt;br /&gt;
&gt; var reListPrintEdition = /^http:\/\/www\.haaretz\.co\.il\/hasite\/pages\/LiArtPE/;&lt;br /&gt;
215c215&lt;br /&gt;
&amp;lt; 		    &quot;//td[@width='280']&quot;,&lt;br /&gt;
---&lt;br /&gt;
&gt; 		    &quot;//td[@width='120']&quot;,&lt;br /&gt;
228c228&lt;br /&gt;
&amp;lt; 			    &quot;//td[@width='470']|//td[@width='470']/descendant::*[@width='470']&quot;,&lt;br /&gt;
---&lt;br /&gt;
&gt; 			    &quot;//td[@width='468']|//td[@width='468']/descendant::*[@width='468']&quot;,&lt;br /&gt;
232c232&lt;br /&gt;
&amp;lt; 				thisElement.setAttribute(&quot;width&quot;,&quot;760&quot;);&lt;br /&gt;
---&lt;br /&gt;
&gt; 				thisElement.setAttribute(&quot;width&quot;,&quot;588&quot;);&lt;br /&gt;&lt;br /&gt;</description>
      <pubDate>Sun, 22 Oct 2006 19:30:19 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:17813:78317</guid>
      <author>mar 1</author>
      <link>http://userscripts.org/posts/78317</link>
    </item>
    <item>
      <title>Archived Comments, replied by mar 1</title>
      <description>&lt;p&gt;Sorry, I'm logged in through BugMeNot&lt;/p&gt;

&lt;p&gt;Here is an example article that doesn't get patched:
&lt;br /&gt;&lt;a href=&quot;http://www.haaretz.co.il/hasite/spages/776414.html&quot;&gt;http://www.haaretz.co.il/hasite/spages/776414.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I haven't noticed if all articles are like this, or only the article above which I wanted.&lt;/p&gt;

&lt;p&gt;I've solved this, and here is the diff:&lt;/p&gt;

&lt;p&gt;65c65
&lt;br /&gt;&amp;lt; var reListPrintEdition = /^http:\/\/www\.haaretz\.co\.il\/hasite\/spages/;
&lt;br /&gt;---
&lt;br /&gt;&gt; var reListPrintEdition = /^http:\/\/www\.haaretz\.co\.il\/hasite\/pages\/LiArtPE/;
&lt;br /&gt;215c215
&lt;br /&gt;&amp;lt; 		    &quot;//td[@width='280']&quot;,
&lt;br /&gt;---
&lt;br /&gt;&gt; 		    &quot;//td[@width='120']&quot;,
&lt;br /&gt;228c228
&lt;br /&gt;&amp;lt; 			    &quot;//td[@width='470']|//td[@width='470']/descendant::*[@width='470']&quot;,
&lt;br /&gt;---
&lt;br /&gt;&gt; 			    &quot;//td[@width='468']|//td[@width='468']/descendant::*[@width='468']&quot;,
&lt;br /&gt;232c232
&lt;br /&gt;&amp;lt; 				thisElement.setAttribute(&quot;width&quot;,&quot;760&quot;);
&lt;br /&gt;---
&lt;br /&gt;&gt; 				thisElement.setAttribute(&quot;width&quot;,&quot;588&quot;);&lt;/p&gt;</description>
      <pubDate>Sun, 22 Oct 2006 19:26:08 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:17813:78318</guid>
      <author>mar 1</author>
      <link>http://userscripts.org/posts/78318</link>
    </item>
    <item>
      <title>Archived Comments, replied by Yuval Hager</title>
      <description>&lt;p&gt;This is an amazing script. It actually makes this site readable!&lt;/p&gt;

&lt;p&gt;Very good work.&lt;/p&gt;

&lt;p&gt;I install this on every computer I arrive, and if I get to view haaretz' site using explorer.. baah..&lt;/p&gt;

&lt;p&gt;I think that these kind initiatives shows the power of having an extendible, open-source browser.&lt;/p&gt;

&lt;p&gt;Yishar Koah!&lt;/p&gt;</description>
      <pubDate>Thu, 15 Jun 2006 11:02:52 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:17813:78319</guid>
      <author>Yuval Hager</author>
      <link>http://userscripts.org/posts/78319</link>
    </item>
    <item>
      <title>Archived Comments, replied by Eyal</title>
      <description>&lt;p&gt;Hi Lior! Thanks for the script. Works fine so far. My only problem is that the pages other than the main page are opened with wrong encoding (Hebrew Visual instead of Hebrew (Windows - 1255)), so numbers and words get a bit mixed up.
&lt;br /&gt;Haven't had any problems with Haaretz, by the way, with FF 1.0.7.
&lt;br /&gt;Keep up with the good work!&lt;/p&gt;</description>
      <pubDate>Tue, 13 Jun 2006 08:32:46 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:17813:78320</guid>
      <author>Eyal</author>
      <link>http://userscripts.org/posts/78320</link>
    </item>
    <item>
      <title>Archived Comments, replied by mishu</title>
      <description>&lt;p&gt;Anak!!! :))
&lt;br /&gt;This script makes Haaretz so much nicer and easier to read! I'll spread the word ;)&lt;/p&gt;

&lt;p&gt;by the way, the first article had this message: &quot;Sorry, there was a problem loading the article. Please try again, or try another link. If you conclude the script has broken, report to me.&quot; All the other articles were ok!
&lt;br /&gt;Also, sometimes the site opens as a blank page. But again, the idea is great :)&lt;/p&gt;</description>
      <pubDate>Sun, 22 Jan 2006 11:55:26 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:17813:78321</guid>
      <author>mishu</author>
      <link>http://userscripts.org/posts/78321</link>
    </item>
    <item>
      <title>Archived Comments, replied by Lior Zur</title>
      <description>&lt;p&gt;Hi mishu, thanks for informing me. It seems the script wasn't compatible with the new Firefox 1.5 and its new greasemonkey. I tried to update it, and should work now. It's still in beta, so tell me of any further problems. You should note that Haaretz's site is a bit messy, so some problems in Firefox 1.5 are its own fault.&lt;/p&gt;</description>
      <pubDate>Sun, 22 Jan 2006 08:10:23 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:17813:78322</guid>
      <author>Lior Zur</author>
      <link>http://userscripts.org/posts/78322</link>
    </item>
    <item>
      <title>Archived Comments, replied by mishu</title>
      <description>&lt;p&gt;Hey there, came across your script here that looks really promising- but unfortunately apart of expanding the columns of the main page, for some reason it doesn't work, and I'd love to see the outcome. the idea of reading articles in the body of the main page is great!!!
&lt;br /&gt;Any ideas what may be the problem? I have tried saving the script on my comp. and then opened it in the monkey (in edit) and replaced with the one I saved- still it doesn't work... :(&lt;/p&gt;</description>
      <pubDate>Sat, 21 Jan 2006 14:39:49 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:17813:78323</guid>
      <author>mishu</author>
      <link>http://userscripts.org/posts/78323</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:53 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:17813:78301</guid>
      <author>Jesse Andrews</author>
      <link>http://userscripts.org/posts/78301</link>
    </item>
  </channel>
</rss>
