Unless I'm horribly mistaken, GM still runs inside the javascript security
context of the page it starts on.  It's a severe security issue.  Even being
able to read window.location could give a script access to information it
shouldn't have.

    See "I can not access the properties of the new secondary window. I always
get an error in the javascript console saying "Error: uncaught exception:
Permission denied to get property <property_name or method_name>. Why is that?"
   https://developer.mozilla.org/en/DOM/window.open#FAQ


On 5/25/2011 8:26 PM, Anthony Lieuallen wrote:
> On 2011-05-25 9:34 PM, Joe Eggleston wrote:
>> Should I be able to do this? Any ideas?
>
> Ideally, yes.  But I don't think this is a regression.  If you can confirm
> that this script works on some earlier version, but not on 0.9.4, then this
> is a regression bug that needs to be fixed.  But otherwise it's a request
> for enhancement which is lower priority.
>
> (I've tried, and failed, to make things like this work.  I don't know what
> the return value from open tab is worth besides being able to _assign_, not
> read, the location.  Like any cross-origin window reference.)
>

-- 
Jay Rossiter                                    http://www.cothlamadh.net/
503.896.6187                                    [email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/greasemonkey-users?hl=en.

Reply via email to