MozillaZine

keyconfig 20110522

Announce and Discuss the Latest Theme and Extension Releases.
morat
 
Posts: 2438
Joined: February 3rd, 2009, 6:29 pm

Post Posted September 22nd, 2017, 6:29 am

@rocco.xyz

Try this:

Code: Select all
document.getElementById("backForwardMenu").
  showPopup(gBrowser, -1, -1, "popup", null, null);

Similar posts:

viewtopic.php?p=4885875#p4885875
viewtopic.php?p=11887277#p11887277
viewtopic.php?p=12751301#p12751301

rocco.xyz
 
Posts: 24
Joined: December 28th, 2015, 10:54 pm

Post Posted September 22nd, 2017, 7:16 am

it worked, thank you! :)

rocco.xyz
 
Posts: 24
Joined: December 28th, 2015, 10:54 pm

Post Posted September 23rd, 2017, 10:59 am

Copying the code of this old post (from 9 years, 8 months and 24 days ago :shock: ) I create a hotkey to show/hide the bookmarks toolbar, and it works... but sometimes it gets glitched (the bookmarks "disappear")
The problem is "fixed" if you "manually" activate the toolbar (via right click > show bookmarks toolbar)
Image
The code is the same.
Code: Select all
var toolbar = document.getElementById("PersonalToolbar");
toolbar.collapsed = !toolbar.collapsed;
document.persist(toolbar.id, "collapsed");

Does anyone know how to fix it? Maybe Firefox changed a little bit in almost 10 years! :lol:

morat
 
Posts: 2438
Joined: February 3rd, 2009, 6:29 pm

Post Posted September 23rd, 2017, 2:19 pm

@rocco.xyz

Try this:

Code: Select all
var toolbar = document.getElementById("PersonalToolbar");
var visibility = toolbar.collapsed;
setToolbarVisibility(toolbar, visibility);

Search Google
http://www.google.com/search?q=PersonalToolbar+site:forums.mozillazine.org+inurl:t=72994

Similar post: viewtopic.php?p=14507393#p14507393

rocco.xyz
 
Posts: 24
Joined: December 28th, 2015, 10:54 pm

Post Posted September 23rd, 2017, 3:48 pm

Thanks again Morat, it worked. :)

Patu
 
Posts: 31
Joined: September 24th, 2008, 2:20 am

Post Posted November 6th, 2017, 5:55 am

How can I do this?

1. Go to the address bar = openLocation();
2. Add "&tbs=qdr:d3" at the end of the url = ???
3. Update the url = ???

The result is supposed to restrict an existing Google Search to the last three days.
Any idea?

morat
 
Posts: 2438
Joined: February 3rd, 2009, 6:29 pm

Post Posted November 6th, 2017, 6:21 am

@Patu

Try this:

Code: Select all
gURLBar.value += "&tbs=qdr:d3";
gURLBar.handleCommand();

Patu
 
Posts: 31
Joined: September 24th, 2008, 2:20 am

Post Posted November 6th, 2017, 9:10 am

morat wrote:@Patu
Try this:
Code: Select all
gURLBar.value += "&tbs=qdr:d3";
gURLBar.handleCommand();

That was very helpful.
Thank you, Morat!!!

Kenosis
 
Posts: 41
Joined: November 11th, 2011, 5:43 am

Post Posted November 14th, 2017, 2:21 pm

Hello,

I'm a bit afraid to ask but what happens after the release of FF57 and will there or is there an alternative?

avada
 
Posts: 1735
Joined: February 10th, 2008, 6:30 am
Location: Hungary

Post Posted November 14th, 2017, 2:28 pm

Kenosis wrote:Hello,

I'm a bit afraid to ask but what happens after the release of FF57 and will there or is there an alternative?

Nope. And an alternative (for the addon) is impossible.

Kenosis
 
Posts: 41
Joined: November 11th, 2011, 5:43 am

Post Posted November 14th, 2017, 5:14 pm

That's a real shocker cause not only i learned to love this addon but my mother kinda needs it, at least something similar. She had a stroke last year and she needs something that allowed me (her) to control several function bound to one key at once.

avada
 
Posts: 1735
Joined: February 10th, 2008, 6:30 am
Location: Hungary

Post Posted November 15th, 2017, 1:28 am

Kenosis wrote:That's a real shocker cause not only i learned to love this addon but my mother kinda needs it, at least something similar. She had a stroke last year and she needs something that allowed me (her) to control several function bound to one key at once.

Then stay on FF56, or a custom build of FF56 that doesn't auto update . eg: https://sourceforge.net/projects/lawlie ... ease/56.x/

Patu
 
Posts: 31
Joined: September 24th, 2008, 2:20 am

Post Posted November 15th, 2017, 1:31 am

Don't kill the discussion. We need a Quantum successor!!!

Kenosis
 
Posts: 41
Joined: November 11th, 2011, 5:43 am

Post Posted November 15th, 2017, 5:13 am

avada wrote:
Kenosis wrote:That's a real shocker cause not only i learned to love this addon but my mother kinda needs it, at least something similar. She had a stroke last year and she needs something that allowed me (her) to control several function bound to one key at once.

Then stay on FF56, or a custom build of FF56 that doesn't auto update . eg: https://sourceforge.net/projects/lawlie ... ease/56.x/

I already switched to the ESR branch because I espected there would be no solution the day FF57 launched. But I for sure didn't expect no solution forever. As far as I know the ESR version is only a solution for the next six months.

What I don't understand so far, will there just be no new keyconfig version, is there no alternative addon or is it completely impossible to achieve what keyconfig did under the new FF?

avada
 
Posts: 1735
Joined: February 10th, 2008, 6:30 am
Location: Hungary

Post Posted November 15th, 2017, 11:36 am

Kenosis wrote:
avada wrote:
Kenosis wrote:That's a real shocker cause not only i learned to love this addon but my mother kinda needs it, at least something similar. She had a stroke last year and she needs something that allowed me (her) to control several function bound to one key at once.

Then stay on FF56, or a custom build of FF56 that doesn't auto update . eg: https://sourceforge.net/projects/lawlie ... ease/56.x/

I already switched to the ESR branch because I espected there would be no solution the day FF57 launched. But I for sure didn't expect no solution forever. As far as I know the ESR version is only a solution for the next six months.

What I don't understand so far, will there just be no new keyconfig version, is there no alternative addon or is it completely impossible to achieve what keyconfig did under the new FF?

As far as I know the webextension API doesn't provide anything to manipulate hotkeys and that sort of low level modding. (Someone'll correct me if I'm wrong.)

Return to Extension/Theme Releases


Who is online

Users browsing this forum: Robert Ab and 8 guests