[Ext] Custom Buttons 0.0.1.2
-
- Posts: 0
- Joined: December 31st, 1969, 5:00 pm
-
- Posts: 0
- Joined: December 31st, 1969, 5:00 pm
-
- Posts: 87
- Joined: September 11th, 2004, 9:34 am
Open tabs in foreground
Does someone know how to make a button that toggles between "Open tabs (links) in foreground" and "Open tabs in background"?
Or maybe another extension that has a button/contextmenu option for this function?
I spent hours searching for it but couldn't find it.
Or maybe another extension that has a button/contextmenu option for this function?
I spent hours searching for it but couldn't find it.
-
- Posts: 2810
- Joined: November 15th, 2004, 5:03 am
Re: Open tabs in foreground
https://addons.mozilla.org/firefox/1851/peeppeep wrote:...toggles between "Open tabs (links) in foreground" and "Open tabs in background"?
Or ... extension that has a button/contextmenu option for this function?...
-
- Posts: 0
- Joined: December 31st, 1969, 5:00 pm
peeppeep
Are you wanting:
Also I am not getting how a button would improve over the tabs themselves as interface mechanisms.
That said, here are some links to consider:If these help.
Are you wanting:
- To toggle between 2 specific tabs.
- Rotate through the open tab list.
- Toggle Open tabs with the list of Closed Tabs.
Also I am not getting how a button would improve over the tabs themselves as interface mechanisms.
That said, here are some links to consider:If these help.
-
- Posts: 2810
- Joined: November 15th, 2004, 5:03 am
Not toggle between tabs, toggle foreground or background. Here is a one line script to put on the command that should work.
var pref=navigator.preference('browser.tabs.loadInBackground'); if (pref) {navigator.preference('browser.tabs.loadInBackground', false);alert('Load In Foreground')}else if (!pref) {navigator.preference('browser.tabs.loadInBackground', true);alert('Load In Background')}
var pref=navigator.preference('browser.tabs.loadInBackground'); if (pref) {navigator.preference('browser.tabs.loadInBackground', false);alert('Load In Foreground')}else if (!pref) {navigator.preference('browser.tabs.loadInBackground', true);alert('Load In Background')}
-
- Posts: 0
- Joined: December 31st, 1969, 5:00 pm
-
- Posts: 0
- Joined: December 31st, 1969, 5:00 pm
Custom Buttons Removed from Addons
That's right, Custom Buttons has been removed from the addons site. I sure hope this extension doesn't fall by the wayside. I really do hope that someone decides to pickup on development. It looks to me as though Yan is not really actively developing any longer.....
-
- Posts: 479
- Joined: September 14th, 2004, 3:04 pm
- Location: Isle of Mull, Scotland
- Contact:
Squeaky, You kindly replied to my post on 6 August (page 26), but I've only just found it. In the interim I found a solution, but not as concise as yours. The code you gave me:
/*CODE*/
const url = "http://www.google.com/"
window.open(url);
works fine (of course), but opens a new window (of course).
How do I get it to open in a new TAB ? I'm assuming that 'tab.open(url)' isn't valid JS ?
/*CODE*/
const url = "http://www.google.com/"
window.open(url);
works fine (of course), but opens a new window (of course).
How do I get it to open in a new TAB ? I'm assuming that 'tab.open(url)' isn't valid JS ?
Last edited by ramasaig on April 22nd, 2007, 12:55 am, edited 1 time in total.
Ramasaig
Maolbhuidhe, Isle of Mull
Maolbhuidhe, Isle of Mull
-
- Posts: 0
- Joined: December 31st, 1969, 5:00 pm
Code: Select all
const url = "http://www.google.com/"
loadURI(url);
BTW, there are tons more buttons now on The Custom Buttons Forum and there is a button that can make other buttons to do the task you are asking about.
Make a 'Bookmark Button' button [update 2007.02.23]
-
- Posts: 479
- Joined: September 14th, 2004, 3:04 pm
- Location: Isle of Mull, Scotland
- Contact:
-
- Posts: 0
- Joined: December 31st, 1969, 5:00 pm
ramasaig wrote:Squeaky, You kindly replied to my post on 6 August (page 26), but I've only just found it. In the interim I found a solution, but not as concise as yours. The code you gave me:
/*CODE*/
const url = "http://www.google.com/"
window.open(url);
works fine (of course), but opens a new window (of course).
How do I get it to open in a new TAB ? I'm assuming that 'tab.open(url)' isn't valid JS ?
Code: Select all
const url = "http://www.google.com/"
gBrowser.selectedTab = gBrowser.addTab(url);
Should work.
-
- Posts: 479
- Joined: September 14th, 2004, 3:04 pm
- Location: Isle of Mull, Scotland
- Contact:
-
- Posts: 0
- Joined: December 31st, 1969, 5:00 pm
Translation assistance
Hi All
Thanks!
- As many have noted there is little activity regarding this extension.
- Polish - user? Piotrek (Sullei)
- Chinese - user? fang5566
- Portuguese - user? peguca
- Slovak - user? wladow
cblover & myself have initiated updating this extension and progress is being made.
We are currently in need of assistance with regards to developing various locales/translations. The earlier extensions had 4 locales
For others wanting to contribute we would appreciate and welcome your efforts. Please PM me.
Thanks!