keyconfig 20110522

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

Re: keyconfig 20110522

Post by morat »

@rocco.xyz

Try this:

Code: Select all

document.getElementById("backForwardMenu").
  showPopup(gBrowser, -1, -1, "popup", null, null);
Similar posts:

http://forums.mozillazine.org/viewtopic ... 5#p4885875
http://forums.mozillazine.org/viewtopic ... #p11887277
http://forums.mozillazine.org/viewtopic ... #p12751301
rocco.xyz
Posts: 31
Joined: December 28th, 2015, 10:54 pm

Re: keyconfig 20110522

Post by rocco.xyz »

it worked, thank you! :)
rocco.xyz
Posts: 31
Joined: December 28th, 2015, 10:54 pm

Re: keyconfig 20110522

Post by rocco.xyz »

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: 6394
Joined: February 3rd, 2009, 6:29 pm

Re: keyconfig 20110522

Post by morat »

@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=Personal ... rl:t=72994

Similar post: http://forums.mozillazine.org/viewtopic ... #p14507393
rocco.xyz
Posts: 31
Joined: December 28th, 2015, 10:54 pm

Re: keyconfig 20110522

Post by rocco.xyz »

Thanks again Morat, it worked. :)
Patu
Posts: 31
Joined: September 24th, 2008, 2:20 am

Re: keyconfig 20110522

Post by Patu »

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: 6394
Joined: February 3rd, 2009, 6:29 pm

Re: keyconfig 20110522

Post by morat »

@Patu

Try this:

Code: Select all

gURLBar.value += "&tbs=qdr:d3";
gURLBar.handleCommand();
Patu
Posts: 31
Joined: September 24th, 2008, 2:20 am

Re: keyconfig 20110522

Post by Patu »

morat wrote:@Patu
Try this:

Code: Select all

gURLBar.value += "&tbs=qdr:d3";
gURLBar.handleCommand();
That was very helpful.
Thank you, Morat!!!
Kenosis
Posts: 77
Joined: November 11th, 2011, 5:43 am

Re: keyconfig 20110522

Post by Kenosis »

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: 1932
Joined: February 10th, 2008, 6:30 am
Location: Hungary

Re: keyconfig 20110522

Post by avada »

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: 77
Joined: November 11th, 2011, 5:43 am

Re: keyconfig 20110522

Post by Kenosis »

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: 1932
Joined: February 10th, 2008, 6:30 am
Location: Hungary

Re: keyconfig 20110522

Post by avada »

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

Re: keyconfig 20110522

Post by Patu »

Don't kill the discussion. We need a Quantum successor!!!
Kenosis
Posts: 77
Joined: November 11th, 2011, 5:43 am

Re: keyconfig 20110522

Post by Kenosis »

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: 1932
Joined: February 10th, 2008, 6:30 am
Location: Hungary

Re: keyconfig 20110522

Post by avada »

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