Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Tech and Talk » OS and Software » Mozilla Software » [FireFox] BBR Firefox Extension
Search Topic:
Uniqs:
16490
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
[Mozilla] Flock is out »
« [Extension] FlashGot v0.5.9.97  
page: 1 · 2 · 3 ...18 · 19 · 20 · 21
AuthorAll Replies


Morac

join:2001-08-30
Riverside, NJ
·Comcast


4 edits
reply to Ryan F
Re: [FireFox] BBR Firefox Extension

dslrOverlay.zip 5,837 bytes
(dslrOverlay.js)
Just a FYI, but clicking on the alerts that pop up in the bottom right corner no longer work in FireFox 1.5 Beta.

This is because the way alerts work changed. In Mozilla 1.7, when the user clicked an alert or the alert disappeared on its own the onAlertClickCallback and onAlertFinished would be called respectively.

This was depreciated in Firefox 1.0 for an observer method. When an alert is clicked the observe function is called with aTopic set to "alertclickcallback", when the alert goes away it sets aTopic to "alertfinished". aData contains the cookie data.

In Firefox 1.0.x either method worked, in Firefox 1.5 it appears only the later method works.

Inserting the following function at the end of the alertSlide variable in dslrOverlay.js will fix this problem in Firefox 1.5 while retaining compatibility with older versions. The first and last line are existing lines, the second line is a modified line. All the other lines are new.
      }
},

/////////////////////////////
// nsIObserver
observe: function(aSubject, aTopic, aData)
{
if (aTopic == "alertclickcallback")
{
var imAlert = dslrPref.getBoolPref("imFlag");
var topAlert = dslrPref.getBoolPref("newsFlag");

if (imAlert == true) {
dslrGoTo(false,1,false);
killNotify(1,false,false)
}

if (topAlert == true) {
dslrGoTo(false,false,1);
killNotify(false,1,false)
}
}
}

}

I'm also attaching the updated dslrOverlay.js file since I think it's easier to read that because the formatting is lost in the post.

edit: there was a bug in the version I previously posted. It is fixed now.

--


The Comcast Disney Avatar has been retired.


Ryan F
Take Back The Web
Premium
join:2002-10-18
Alexandria, VA
Ah, thanks
I didn't even notice that onAlertClickCallback wasn't working anymore as I didn't have the sliders enabled.


Cudni
La Merma - Vigilado
Premium,MVM
join:2003-12-20
Someshire

reply to Ryan F
Hi

I wonder, if at all possible and you have time, to add a notification when a thumbs up is given to your extention. It could help with this little request
»Dates for thumbs up on posts (take 2)

It is just an idea, a shot in the dark

Cudni
--
....nothing but a well informed optimist
Help yourself so God can help you
Forums » Tech and Talk » OS and Software » Mozilla Software[Mozilla] Flock is out »
« [Extension] FlashGot v0.5.9.97  
page: 1 · 2 · 3 ...18 · 19 · 20 · 21


Tuesday, 01-Dec 14:58:35 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.republican-creole
page compression OFF
Most commented news this week
· [76] Comcast Releasing Promised Usage Meter
· [62] Baltimore To Ban Lazy Cable Installs
· [54] Broadband Killed The Game Console
· [43] Rogers Unveils The ISP Dream Model
· [38] Rural Carriers Quickly Embracing Fiber
· [33] AT&T Top Lobbyist Cicconi Has His Feelings Hurt
· [32] Charter Exits Chapter 11
· [24] Midcontinent Socked With Easement Lawsuit
· [21] Vivendi Agrees, Comcast/NBC Deal Soon
· [19] ACTA: Global Three Strikes
Most people now reading
· Windows 7 boot manager editing questions [Microsoft Help]
· Heating - my dad gave me this advice... [Home Repair & Improvement]
· buying a one way ticket [General Questions]
· [Phish] email from CDC "personal vaccination profile" [Spam, Scam and Phishbusters]
· IMG 1.7 (IMG Updates and Discussion) [Verizon FIOS TV]
· Wind getting a little more aggressive [TekSavvy]
· Fun screwing with PuG raids. [World of Warcraft]
· 3.x Feral Druid - Bear Tanking Guide [World of Warcraft]
· Considering Leaving Vonage, who should I Consider? [VOIP Tech Chat]
· Connecting to Google Voice Via SIP [VOIP Tech Chat]