List Info

Thread: Extension help




Extension help
user name
2007-10-26 20:26:44
I seem to be having a problem with launching a chrome window
from a
macro. The macro adds an entry to the right click (context)
menu that
is basically supposed to get a set to highlighted links to
some JS. I
can't seem to find a way to get a reference similar to
window.opener
from an openwin (window.opener is null) and if I use
injectjs to
inject a window.open then I violate the same site security
policy.
Does anyone know how I might be able to find a window object
for the
content window of the place where I opened the context menu.
(The
place with the highlighted text that triggered the macro)

------------------------------------------------------------
-------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and
a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Kmeleon-dev mailing list
Kmeleon-devlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kmeleon-dev


Re: Extension help
country flaguser name
France
2007-10-27 04:20:16

>I seem to be having a problem with launching a chrome
window from a
> macro. The macro adds an entry to the right click
(context) menu that
> is basically supposed to get a set to highlighted links
to some JS. I
> can't seem to find a way to get a reference similar to
window.opener
> from an openwin (window.opener is null) and if I use
injectjs to
> inject a window.open then I violate the same site
security policy.
> Does anyone know how I might be able to find a window
object for the
> content window of the place where I opened the context
menu. (The
> place with the highlighted text that triggered the
macro)

Windows open with macro have no parent. I don't know if
changing this 
behavior, so that js could see the parent would be easy or
not. The only 
solution currently is to use window.open with injectJS ( but
the window 
being blocked is a problem that still need to be fixed ).
You should fill 
out a bug report and we'll look for a solution.




------------------------------------------------------------
-------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and
a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Kmeleon-dev mailing list
Kmeleon-devlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kmeleon-dev


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )