I am trying to run zhsku using Noesis.Javascript example:
StreamReader sr = new StreamReader(@"C:\js.js"); string script = sr.ReadToEnd(); JavascriptContext context = new JavascriptContext(); context.Run(script); object num = context.Run("C();"); MessageBox.Show(num.ToString()); The very same tyk problem is that when you run the script (context.Run (script);) gives errors such as "window is not defined", "document is not defined" and so on. Can you tell me how to solve?