[Companion] linux support
Brian Kennelly
mozdev at bkennelly.net
Mon Nov 29 22:03:54 EST 2004
Scott wrote:
> CDAZ wrote:
>
>> I have suse 9.1 pro installed. I downloaded and install the latest
>> firefox and companion but I can't seem to get companion working. Does
>> anyone know how?
>>
> When you do get it working, you'll find it's quite a resource hog in
> Firefox for Linux. Ad you'll be asked every 10 minutes if you want to
> "halt the 'script on this page' that's causing Mozilla to run slow and
> may slow down your system....".
If it is occurring every eight minutes, it coincides with the full
refresh cycle. There is still room for tuning there, but you can reduce
the frequency by changing the JS. The interval is controlled by the if
statement in yahootoolbar.prototype.refreshAlert() function in
yahootoolbarOverlay.js:
if (this.refreshcnt-- == 0) //Time for a full refresh
{
this.dynOpen();
this.refreshcnt = 8;
This function is invoked every minute, but only fetches the alert feed
(new mail notify). When the refreshcnt reaches zero, the full feed is
retrieved. Change the assignment (e.g. 'this.refreshcnt = 20;') to
change the full refresh interval. If you remove the decrement operator
from the test (i.e. 'if (this.refreshcnt ==0)' , the full refresh will
only occur when you logon to Yahoo!, when you request a refresh, or when
you add a bookmark.
I hope that helps.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mozdev.org/pipermail/companion/attachments/20041129/a8ebe418/attachment.htm
More information about the Companion
mailing list