On Sat, Mar 24, 2012 at 10:43:03AM +0100, Carlos López Camey wrote:
> Hello,
> 
> Doing M-: <RET> alert("msg"); results in an error message
> "ReferenceError: alert is not defined"
> 
> is this expected? I was trying to set up MozRepl as explained on the
> wiki, the server starts but trying to alert something results in the
> same error. I'm attaching my .conkerorrc
> 
> Thanks.

M-: evaluates in Conkeror's application scope, not window scope or content
scope.  Contrast with the following:

  get_recent_conkeror_window().alert("hello world");

-- 
John Foerch
_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror

Reply via email to