Copy the 'Refresh on scroll wheel click'-feature into an other add-on.

Hello!

I love to use the 'scroll wheel click' for closing tabs, open links in new tabs and refreshing X-notifier.

Currently I use the Feed Reader 'Bamboo'. Unfortunately there is no feature to refresh the RSS Feeds by clicking on the icon with the scroll wheel.

Could somebody tell me the location of the feature in the code of X-notifier so I could try to import it into Bamboo?

 

Thanks :)

tobwithu's picture

You can use onclick event

<toolbarbutton ...  onclick="com.tobwithu.xnotifier.onClick(event)"

onClick: function(aEvent) {
  if(aEvent.button == 1){//middle(scroll wheel) click
  }
}

Thank you very much :)