[Greasemonkey] detecting greasemonkey

Johan Sundström oyasumi at gmail.com
Thu Jul 13 16:41:00 EDT 2006


On 7/11/06, Mark Pilgrim <pilgrim at gmail.com> wrote:
> On 7/10/06, Mark Pilgrim <pilgrim at gmail.com> wrote:
> > You can't do this with iframes, because Greasemonkey won't display the
> > greeting in iframes.  You might be able to do it with a Javascript
> > redirect that passed through a dummy page named foo.user.js (served as
> > text/html through .htaccess tricks) and then onto a regular .html page
> > (where the .js-as-HTML page passed along its own innerHeight as a
> > query parameter).
>
> http://diveintomark.org/public/2006/07/detect-greasemonkey.html

Thanks for taking your time to craft the proof-of-concept detector.
I've been reluctant to bother the list about this kind of thing,
figuring it's more of a slight lack of elegancy than a crucial flaw,
but I suppose I should revisit that thought.

-- 
 / Johan Sundström, http://ecmanaut.blogspot.com/


More information about the Greasemonkey mailing list