[Ext] Custom Buttons 0.0.1.2
- Will Pittenger
- Posts: 620
- Joined: April 3rd, 2005, 6:10 pm
- Location: Morton, IL
-
- Posts: 89
- Joined: February 9th, 2008, 12:11 pm
This requires Keyconfig extension.FTBoomer wrote:I'm looking for NEXT TAB and PREVIOUS TAB buttons. Can anyone help me out?
TIA
Next
Code: Select all
var tab = gBrowser.mCurrentTab; if(tab.nextSibling) { gBrowser.mTabContainer.selectedIndex++; } else { gBrowser.mTabContainer.selectedIndex = 0; }
Previous
Code: Select all
var tab = gBrowser.mCurrentTab; if(tab.previousSibling) { gBrowser.mTabContainer.selectedIndex–; } else { gBrowser.mTabContainer.selectedIndex = gBrowser.mTabs.length - 1; }
-
- Posts: 89
- Joined: February 9th, 2008, 12:11 pm
I would appreciate it if someone could fix this so the middle click stops the scrolling and a double click starts the fast scroll.
EDIT
****
Done. Big thank you to Anton.
EDIT
****
Done. Big thank you to Anton.
Last edited by adriennex on April 27th, 2008, 5:52 am, edited 3 times in total.
-
- Posts: 2
- Joined: February 10th, 2008, 10:17 am
adriennex wrote:This requires Keyconfig extension.FTBoomer wrote:I'm looking for NEXT TAB and PREVIOUS TAB buttons. Can anyone help me out?
TIA
NextCode: Select all
var tab = gBrowser.mCurrentTab; if(tab.nextSibling) { gBrowser.mTabContainer.selectedIndex++; } else { gBrowser.mTabContainer.selectedIndex = 0; }
PreviousCode: Select all
var tab = gBrowser.mCurrentTab; if(tab.previousSibling) { gBrowser.mTabContainer.selectedIndex–; } else { gBrowser.mTabContainer.selectedIndex = gBrowser.mTabs.length - 1; }
Thanks adriennex, the next tab works great but the previous does nothing.
-
- Posts: 89
- Joined: February 9th, 2008, 12:11 pm
Is there someone who knows javascript can help fix the buttons on this page for Custom Buttons v0.0.2.6 please?
EDIT
****
Done also. Another big thank you to Anton.
EDIT
****
Done also. Another big thank you to Anton.
Last edited by adriennex on April 27th, 2008, 5:54 am, edited 1 time in total.
-
- Posts: 22
- Joined: August 31st, 2006, 2:03 pm
Bookmark manager button
I need a code for Bookmark manager button ? and where can I get codes for other buttons ? there are no ones at the homepage of extension.
-
- Posts: 89
- Joined: February 9th, 2008, 12:11 pm
Re: Bookmark manager button
alabanco wrote:I need a code for Bookmark manager button ? and where can I get codes for other buttons ? there are no ones at the homepage of extension.
Code: Select all
gBrowser.addTab('chrome://browser/content/bookmarks/bookmarksManager.xul');
CB 0.0.2.6 needs forum but there are not many people who know javascript well will help.
-
- Posts: 221
- Joined: January 3rd, 2006, 1:10 am
- Location: Lawrenceville, GA USA
If you want the Bookmarks manager to open in its own window:
Code: Select all
toOpenWindowByType('bookmarks:manager','chrome://browser/content/bookmarks/bookmarksManager.xul');
- squeaky
- Posts: 355
- Joined: August 14th, 2005, 11:07 am
- Location: Sunny Suffolk
- Contact:
Re: Bookmark manager button
alabanco wrote:I need a code for Bookmark manager button ? and where can I get codes for other buttons ? there are no ones at the homepage of extension.
The forum for Custom Buttons 2 is here:-
http://custombuttons2.com/forum/index.php
And there's a comprehensive button database here:-
http://custombuttons2.com/forum/viewforum.php?f=35
The original Custom Buttons 1.nnn list of buttons is here:-
http://custombuttons.phpbbnow.com/viewt ... 1d463eb4f5
Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us." Calvin & Hobbes
-
- Posts: 1
- Joined: February 26th, 2009, 1:34 pm
Re: [Ext] Custom Buttons 0.0.1.2
I am looking for a button that will allow the user to create a link to another program and to set the button face the same as the program icon. This button would be set to the particular program on its setup and would require no further configuration.
To simplify; I would like to have a button that would invoke LinkStash and the button face show the LinkStash icon. Then a second instance of the button would link to LinkStash Add Bookmark function.
Is this possible? I know nothing about JavaScript so don't know if this would be easy or not to implement. If there are tutorials available for JavaScript, pointing me in there direction would also be appreciated.
Thanks for any help you can give.
TP Tunstall, Jr.
To simplify; I would like to have a button that would invoke LinkStash and the button face show the LinkStash icon. Then a second instance of the button would link to LinkStash Add Bookmark function.
Is this possible? I know nothing about JavaScript so don't know if this would be easy or not to implement. If there are tutorials available for JavaScript, pointing me in there direction would also be appreciated.
Thanks for any help you can give.
TP Tunstall, Jr.
-
- Posts: 29
- Joined: December 5th, 2007, 6:33 am
- Location: Los Angeles, CA
- Contact:
Re: [Ext] Custom Buttons 0.0.1.2
We may be able to help you over at Custom Buttons², you need to have Custom Buttons², not Custom Buttons however. Please post in our forum if you would like assistance and you are using Custom Buttons².