LEGJS and NOLEGJS (JANUS DEFINE parameters)

From m204wiki
Revision as of 22:17, 16 April 2013 by JALWiccan (talk | contribs) (Automatically generated page update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Enable/Disable use of Javascript in Janus Legacy application

LEGJS and NOLEGJS are parameters on JANUS DEFINE, whichs define and sets characteristics of a Janus port.

Indicates whether or not Janus Web Legacy Support is to use JavaScript in the HTML it sends to browsers. The default of LEGJS means that Janus Web Legacy Support will use JavaScript in its generated HTML.

While almost all browsers correctly support the simple JavaScript used by Janus Web Legacy Supportt, and this JavaScript makes the pages generated by Janus Web Legacy Support considerably more "friendly", the NOLEGJS parameter can be specified if a site has rules against the use of JavaScript or if the JavaScript causes problems with some browsers.

The LEGJS and NOLEGJS parameter on the JANUS DEFINE can be overridden on a URL basis by the like-named parameters on JANUS WEB SCREEN rules, and they can be overridden on an application level by the like-named parameters in $Web_Screen calls.

Valid only for WEBSERV ports.

See also