Already there.

When you load the applet, after initialization but before the
jmolApplet command issue:

_jmol.noEval = true



 * This allows callbacks but does not allow the script constructs:
 *
 *  script javascript:...
 *  javascript ...
 *  x = eval(...)
 *



On Tue, Dec 9, 2008 at 11:24 AM, Angel Herraez <[EMAIL PROTECTED]> wrote:
>
> Bob,
> in several posts dealing with the use of JmolMediaWiki Extension --
> and its prospective adoption by Wikipedia-- we have being dicussing
> the convenience of having a way to inactivate the "javascript"
> command  in Jmol scripting. That would avoid any misuse of the
> extension to introduce arbitrary javascript code in the wiki pages.
>
> Do you think that such optional inactivation might be feasible in
> programming terms? It would be needed for the applet in some special
> invocation mode.
>
> Shall I file a feature request, or you think it cannot be done?
>
>
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________
> Jmol-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-developers
>



-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to