2019-05-08 07:41:11 UTC
I'm trying to search thru a HTML string as if its a DOM document. For
that I create an "htmlfile" object and ".write" the string into it. So far,
so good. The problem is that I get a warning dialog asking me if I want
to run the embedded scripts in it. Which ofcourse I do not want and also
throws a wrench in the automation process (needs human intervention).
The full script looks like this:
Set oDOM = CreateObject("htmlfile")
1) Where can I find documentation on the VBScript "htmlfile" object ?
Half an hours worth googeling for "htmlfile" plus a combination of other
keywords or even for the objects classid (taken from the registry) gets me
2) How do I tell it to ignore (not run) any-and-all active content (just
load the text for DOM parsing) ?