Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Firefox - Custom Buttons Extension
#1
Custom Buttons :: Mozilla Add-ons :: Add Features to Mozilla Software
"Gives a possibility to create custom toolbarbuttons.

To add new button you should:
* Go into menu View -> Add new Button....
* Fill in the fields Name and Code.
(You can leave the field Image empty. Then the button will have a standart image).
* The Initialization code executes once a time when the browser startups. You can leave it empty too.
* Go into menu View -> Toolbars -> Customize... , find new button and drag it to any toolbar.

The extension adds to Firefox a "custombutton" protocol, that allows to install buttons from web-pages. Some button examples can be found at http://xsms.nm.ru/custombuttons/en/

You can find a lot of buttons and example code in the
custom buttons forum

Discussion (in English):
http://forums.mozillazine.org/viewtopic.php?t=428688"
https://addons.mozilla.org/firefox/2707/




here is an example button to pass the current url to qm function ff2qm.

http://www.microbender.com/scripts/custom_buttons.php

Code:
Copy      Help
/
function [$a1] [$a2]

mes a1
,,,
pi
#2
added a button for quickmacros links.
http://www.microbender.com/scripts/custom_buttons.php

Code:
Copy      Help
//------menu items--------
apps=new Array;
apps.push(['QM & Forum Info','http://www.quickmacros.com/forum/viewforum.php?f=7']);
apps.push(['General','http://www.quickmacros.com/forum/viewforum.php?f=1']);
apps.push(['Programming','http://www.quickmacros.com/forum/viewforum.php?f=4']);
apps.push(['Resources','http://www.quickmacros.com/forum/viewforum.php?f=2']);
apps.push(['Wish List','http://www.quickmacros.com/forum/viewforum.php?f=3']);
apps.push(['Computer World','http://www.quickmacros.com/forum/viewforum.php?f=9']);
apps.push(['separator']);
apps.push(['Quickmacros Home','http://www.quickmacros.com/']);
apps.push(['Quickmacros Online Help','http://www.quickmacros.com/help/index.php']);

//------/menu items-------
pi
#3
Here is The Custom Buttons Forum for those who like the extension and would like more buttons. I am the site admin there. Yan, the creator of the extension, is also a site admin and will be joining us there very soon (he has been on leave for quite some time).

http://custombuttons.phpbbnow.com/
#4
thanks for posting.
i forgot to add your forum in my initial posting.
pi
#5
You're welcome! And I edited my profile to remove the link to the forum from the location line, so that I am not breaking your table anymore. Smile


Forum Jump:


Users browsing this thread: 1 Guest(s)