VBScript Support
VBScript Support Through the CIE
The Content Intermediation Engine supports VBScript rewriting that complies with the Microsoft VBScript language reference guide. The guide can be found at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/ html/ddfa5183-d458-41bc-a489-070296ced968.asp. VBScript rewriting fails in the following instances:
•If the VBScript is dynamically generated using document.write, document.writeln, eval, or execScript then it fails through the CIE engine. In addition, assignment of VBScript code to innerHTML and outerHTML is not supported through the CIE engine.
•If the VBScript contains code where a function call that the CIE engine rewrites is in the left hand side of an assignment statement then the code does not work through the CIE engine. For example:
foo.setAttribute("bar") = "false"
does not work through the CIE engine.
Do Not Use Common VBScript Functions on the Left Hand Side of an Assignment Statement
The CIE engine does not support VBScript code where a function call is in the left-hand side of an assignment statement. For example:
foo.setAttribute(“bar”) = “false”
is not supported. You should rewrite this statement as:
foo.setAttribute(“bar”, “false”);