You currently have Javascript disabled, to use some of the features (such as the login) you must enable it for this site
Search from Location Bar Support | Custom Buttons²

Search from Location Bar Support

Discuss Buttons & Ask for Help Editing Existing Buttons

Postby shajul on Sun Jun 15, 2008 4:06 pm

The button Search from Location Bar, is not working on left click, but only on middle click!!

could u (or anybody) help me out, cause the code seems ok to me!

Code: Select all
if(openInTab) {
    var newTab = gBrowser.addTab(url);
    if(!loadInBackground) gBrowser.selectedTab = newTab;
  } else
    openUILink(url, aEvent, false, true);
}

this.checkForMiddleClick = function(aNode, aEvent) {
  if(aEvent.button == 1) {
    var fn = new Function("event", "this.search(this, event)");
    fn.call(aNode, aEvent);
  }
}


I am using FF3RC2.

Thanks for your reply.
shajul
Registered User
Registered User
 
Posts: 11
Joined: Tue Aug 21, 2007 9:34 am

Postby nicholas on Sun Jun 15, 2008 6:10 pm

Thanks for reporting it shajul. I sent LouCypher a message to see if maybe he will have time to fix it.
User avatar
nicholas
Admin
Admin
 
Posts: 1315
Joined: Thu Jun 14, 2007 6:30 pm
Location: Los Angeles, CA

Postby shajul on Sun Jun 15, 2008 6:24 pm

thanks nicholas!
shajul
Registered User
Registered User
 
Posts: 11
Joined: Tue Aug 21, 2007 9:34 am

Postby nicholas on Thu Jun 19, 2008 1:07 am

fixed...
please grab the new version and enjoy!
User avatar
nicholas
Admin
Admin
 
Posts: 1315
Joined: Thu Jun 14, 2007 6:30 pm
Location: Los Angeles, CA

Postby shajul on Thu Jun 19, 2008 1:31 pm

thanks nicholas,
this works perfect!!
shajul
Registered User
Registered User
 
Posts: 11
Joined: Tue Aug 21, 2007 9:34 am

Postby bmg on Sun Jul 27, 2008 10:51 pm

This button works well under cb 2.05,but isn't compatible with cb 2.07,please update.
bmg
Registered User
Registered User
 
Posts: 2
Joined: Sun Jul 27, 2008 10:48 pm


Return to Discussion & Support

Who is online

Users browsing this forum: • Registered: 0 and 0 guests

cron