Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Call to script authors: GM_registerMenuCommand?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Anthony Lieuallen  
View profile  
 More options Mar 29 2011, 2:46 pm
From: Anthony Lieuallen <arant...@gmail.com>
Date: Tue, 29 Mar 2011 14:46:52 -0400
Local: Tues, Mar 29 2011 2:46 pm
Subject: Call to script authors: GM_registerMenuCommand?
Ref: http://groups.google.com/group/greasemonkey-dev/t/4acc15e9b56ac204

Greasemonkey is trying to adapt to the model that Firefox 4 is
encouraging/forcing on extensions; trying to get rid of the icon in the
status bar.  This has prompted some rewrites to attempt to support
Firefox 3 as-is for some transition period, while still supporting
Firefox 4 in the newer style.

As part of this work, I more-or-less intentionally broke accelerator
keys for GM_registerMenuCommand().  I've since gone back and forth a few
times as to whether I thought they ever worked correctly, and if I
should continue it a priority to make them work before I call this task
"finished".

So: do you use GM_registerMenuCommand()?  Do you use the accelKey and
accelModifiers parameters?  If so, do you see them _work_?  The best I
have been able to come up with so far is seeing them mostly work, but
rapidly break as I open/close tabs and load pages.  I've never used this
feature myself and I don't know of any good documentation for it.  I'm
starting to consider getting rid of accelerator keys altogether.

So, if you ...
A) Use these features
B) Want these features to remain
C) Can help me understand how this is supposed to work, and prove that
it ever did in the past (a script that runs in Firefox 3.6 +
Greasemonkey 0.8, and a description of how it is supposed to work would
be great)
... Please get in touch with me.

I'd prefer, if possible, that you communicate with the entire
development community at greasemonkey-dev@googlegroups.com .  You can
also email me directly at arant...@gmail.com .  Thanks.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
PJH  
View profile  
 More options Mar 29 2011, 3:38 pm
From: PJH <pauljherr...@gmail.com>
Date: Tue, 29 Mar 2011 19:38:18 +0000
Local: Tues, Mar 29 2011 3:38 pm
Subject: Re: [greasemonkey-users] Call to script authors: GM_registerMenuCommand?

On Tue, Mar 29, 2011 at 6:46 PM, Anthony Lieuallen <arant...@gmail.com>wrote:

> So: do you use GM_registerMenuCommand()?

Yes.

> Do you use the accelKey and accelModifiers parameters?

No.

> If so, do you see them _work_?

Not as I'd expect. See the repeating items at <
http://shabble.co.uk/images/gm.png> - that screenshot taken while using
'2011.03.28.nightly' on FF4.0

The items themselves are for en/disabling behaviour, and I'm unaware of any
(convenient) alternative interface that users could use instead. (Grubbing
around in about:config I don't really consider convenient I'm afraid.)

> The best I have been able to come up with so far is seeing them mostly
> work, but rapidly break as I open/close tabs and load pages.  I've never
> used this feature myself and I don't know of any good documentation for it.
>  I'm starting to consider getting rid of accelerator keys altogether.

> So, if you ...
> A) Use these features
> B) Want these features to remain
> C) Can help me understand how this is supposed to work, and prove that it
> ever did in the past (a script that runs in Firefox 3.6 + Greasemonkey 0.8,
> and a description of how it is supposed to work would be great)

I don't seem to have had problems with the script in the past on 3.6.

The script I'm using is available at <
https://code.google.com/p/tdwtfmt/source/browse/trunk/tdwtfmt.user.js>, the
function calls are all near the end.

Selecting an item while using google.com should, after auto-refreshing the
displayed page, toggle the text of the menu item (as well as change the
behaviour of the rest of the script.)

> ... Please get in touch with me.

--
PJH

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Anthony Lieuallen  
View profile  
 More options Mar 29 2011, 3:42 pm
From: Anthony Lieuallen <arant...@gmail.com>
Date: Tue, 29 Mar 2011 15:42:33 -0400
Local: Tues, Mar 29 2011 3:42 pm
Subject: Re: [greasemonkey-users] Call to script authors: GM_registerMenuCommand?
On 03/29/11 15:38, PJH wrote:

>> >  Do you use the accelKey and accelModifiers parameters?
> No.
>> >  If so, do you see them_work_?
> Not as I'd expect. See the repeating items at<
> http://shabble.co.uk/images/gm.png>  - that screenshot taken while using
> '2011.03.28.nightly' on FF4.0

Thanks for the feedback, but you said you don't use them.  (The
accelerators are specifically what I am interested in at this moment.)

You're reporting a completely different, known, behavior in unreleased
software.  The nightlies are never guaranteed to be working.  You should
not be using them for regular day-to-day work, only if you have reason
to be experimenting with a feature currently in development.

https://github.com/greasemonkey/greasemonkey/issues#issue/1321

(But there's also a chance that the behavior in relation to frames has
changed in the nightlies.  Which would be a second cause of this.  If
you can verify that it's frames, and not something else, causing this
that would be valuable.  Please communicate in the issue linked.)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
PJH  
View profile  
 More options Mar 29 2011, 4:01 pm
From: PJH <pauljherr...@gmail.com>
Date: Tue, 29 Mar 2011 20:01:41 +0000
Local: Tues, Mar 29 2011 4:01 pm
Subject: Re: [greasemonkey-users] Call to script authors: GM_registerMenuCommand?

On Tue, Mar 29, 2011 at 7:42 PM, Anthony Lieuallen <arant...@gmail.com>wrote:

> The accelerators are specifically what I am interested in at this moment

Sorry - thought you were after the issue in 1321 due to your first question.

:)

--
PJH


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Anthony Lieuallen  
View profile  
 More options Mar 29 2011, 4:07 pm
From: Anthony Lieuallen <arant...@gmail.com>
Date: Tue, 29 Mar 2011 16:07:35 -0400
Local: Tues, Mar 29 2011 4:07 pm
Subject: Re: [greasemonkey-users] Call to script authors: GM_registerMenuCommand?
On 03/29/11 16:01, PJH wrote:

> Sorry - thought you were after the issue in 1321 due to your first question.

No worries.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Piglet  
View profile  
 More options Mar 31 2011, 5:48 am
From: Piglet <pig...@ukpiglet.com>
Date: Thu, 31 Mar 2011 02:48:06 -0700 (PDT)
Local: Thurs, Mar 31 2011 5:48 am
Subject: Re: [greasemonkey-users] Call to script authors: GM_registerMenuCommand?

Yes, I use GM_registerMenuCommand, but don't use accelerators and would have
no issue with them not continuing to be available.

I do have a feature request in the area of GM_registerMenuCommand - but will
start a separate thread for that.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »