I've been using Imacros 6 to get the source for web pages by saving the source code each time then messing with it through outside scripting. This is a roundabout way for me because in the end I just want the entire source code to be populated by a variable.
The wiki talks about grabbing the source with TAG
Code: Select all
TAG POS=1 TYPE=HTML ATTR=* EXTRACT=HTM
-----
I've been using Imacros 7 for the past month and with it's search command you can use regexp to get the raw source code untouched as a string in a variable.
Code: Select all
SEARCH SOURCE=REGEXP:"(?s)(.*)" EXTRACT="$1"