To easy detect GM

49 views
Skip to first unread message

spirit

unread,
May 6, 2013, 2:53:40 PM5/6/13
to greasemonkey-users
Do you ever plan to solve this problem:

if (typeof(Components) !== 'undefined' &&
(Components.interfaces.gmIGreasemonkeyService || typeof
GM_addonsStartup !== "undefined")) {
alert('Hellow Greasemonkey!!!');
}

Zulkarnain K.

unread,
May 8, 2013, 3:43:11 AM5/8/13
to Greasemonkey Users
It's Firefox bug, not Greasemonkey.


--
Zulkarnain K.
http://userscripts.org/user/12
https://mozillians.org/u/zoolcar9

Zulkarnain K.

unread,
May 8, 2013, 3:55:14 AM5/8/13
to Greasemonkey Users
On Wed, May 8, 2013 at 2:43 PM, Zulkarnain K. <zool...@gmail.com> wrote:
> On Tue, May 7, 2013 at 1:53 AM, spirit <arekmic...@gmail.com> wrote:
>> Do you ever plan to solve this problem:
>>
>> if (typeof(Components) !== 'undefined' &&
>> (Components.interfaces.gmIGreasemonkeyService || typeof
>> GM_addonsStartup !== "undefined")) {
>> alert('Hellow Greasemonkey!!!');
>> }
>>
>>
>
> It's Firefox bug, not Greasemonkey.
>

and looks like it's been fixed on Firefox 22.

spirit

unread,
May 8, 2013, 4:53:44 AM5/8/13
to greasemonkey-users
Thx for info, I don't know about it, so we must wait for stable to all
xd
Reply all
Reply to author
Forward
0 new messages