[Ext] Custom Buttons 0.0.1.2

Announce and Discuss the Latest Theme and Extension Releases.
User avatar
Will Pittenger
Posts: 620
Joined: April 3rd, 2005, 6:10 pm
Location: Morton, IL

Post by Will Pittenger »

How about letting me specify whether 3rd party cookies should be accepted for unlisted sites. Currently, Firefox appears to allow any and all cookies for sites not explicitly blocked.
Will Pittenger
makondo
Posts: 1961
Joined: October 18th, 2007, 5:26 pm
Location: Rocky Mountains

Post by makondo »

Will, check your PMs.
FTBoomer
Posts: 2
Joined: February 10th, 2008, 10:17 am

Post by FTBoomer »

I'm looking for NEXT TAB and PREVIOUS TAB buttons. Can anyone help me out?

TIA
adriennex
Posts: 89
Joined: February 9th, 2008, 12:11 pm

Post by adriennex »

FTBoomer wrote:I'm looking for NEXT TAB and PREVIOUS TAB buttons. Can anyone help me out?

TIA
This requires Keyconfig extension.

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; }
adriennex
Posts: 89
Joined: February 9th, 2008, 12:11 pm

Post by adriennex »

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.
Last edited by adriennex on April 27th, 2008, 5:52 am, edited 3 times in total.
FTBoomer
Posts: 2
Joined: February 10th, 2008, 10:17 am

Post by FTBoomer »

adriennex wrote:
FTBoomer wrote:I'm looking for NEXT TAB and PREVIOUS TAB buttons. Can anyone help me out?

TIA
This requires Keyconfig extension.

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; }


Thanks adriennex, the next tab works great but the previous does nothing.
adriennex
Posts: 89
Joined: February 9th, 2008, 12:11 pm

Post by adriennex »

FTBoomer wrote:Thanks adriennex, the next tab works great but the previous does nothing.
I feel bad about this. The wrong code was in the book where I keep these things. I have sent you a little gift to make up.
adriennex
Posts: 89
Joined: February 9th, 2008, 12:11 pm

Post by adriennex »

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.
Last edited by adriennex on April 27th, 2008, 5:54 am, edited 1 time in total.
alabanco
Posts: 22
Joined: August 31st, 2006, 2:03 pm

Bookmark manager button

Post by alabanco »

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.
makondo
Posts: 1961
Joined: October 18th, 2007, 5:26 pm
Location: Rocky Mountains

Post by makondo »

alabanco, which version of the extension do you use?
adriennex
Posts: 89
Joined: February 9th, 2008, 12:11 pm

Re: Bookmark manager button

Post by adriennex »

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');
Works for CB 0.0.2.6.

CB 0.0.2.6 needs forum but there are not many people who know javascript well will help.
jw25
Posts: 221
Joined: January 3rd, 2006, 1:10 am
Location: Lawrenceville, GA USA

Post by jw25 »

If you want the Bookmarks manager to open in its own window:

Code: Select all

toOpenWindowByType('bookmarks:manager','chrome://browser/content/bookmarks/bookmarksManager.xul');
User avatar
squeaky
Posts: 355
Joined: August 14th, 2005, 11:07 am
Location: Sunny Suffolk
Contact:

Re: Bookmark manager button

Post by squeaky »

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
tptunstall
Posts: 1
Joined: February 26th, 2009, 1:34 pm

Re: [Ext] Custom Buttons 0.0.1.2

Post by tptunstall »

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.
nicholas.alipaz
Posts: 29
Joined: December 5th, 2007, 6:33 am
Location: Los Angeles, CA
Contact:

Re: [Ext] Custom Buttons 0.0.1.2

Post by nicholas.alipaz »

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².
Post Reply