[Greasemonkey] grabbing session vars

Dave Land land at aol.com
Thu Mar 2 13:11:35 EST 2006


On Mar 2, 2006, at 10:21 AM, blackwater dev wrote:

> I have a php app and want to use greasemonkey to grab and display a  
> global
> variable that I pass around.  Is it possible to use greasemonkey to  
> grab and
> display these vars?

I'd put 'em in a hidden form field, where GM could gobble 'em up and  
exude them to your heart's content. You could also put 'em in meta  
tags in the head element, I suppose.

Basically, yes. It would be possible to put 'em anywhere that they  
could be obtained by JavaScript DOM API requests.

Dave


More information about the Greasemonkey mailing list