internal static bool IsGeneratedScript(string sourceUrl) { // ALERT: this may clash with a valid URL containing (eval) or // (Function) return sourceUrl.IndexOf("(eval)") >= 0 || sourceUrl.IndexOf("(Function)") >= 0; }