Jump to content
Sign in to follow this  

See the source of the page

Recommended Posts


Can somebody please tell me how do I make a script to see the source code of a page?

I mean, I declare $site = "www.autoit.com" and in an input box (or anything else) to appear the source code of the page (<html><head> .... </html>

Share this post

Link to post
Share on other sites

I may be wrong but that function will create an Internet Explorer Object.

Won't InetGetSource get the source?

From the helpfile:

Gets the source from an URL without writing a temp file.

#include <INet.au3>


Also, about function _IEDocReadHTML

This function returns the document source after any client-side modifications (e.g. by AutoIt or by client-side Javascript). It may therefore be different than what is shown by the browser View Source or by _INetGetSource. Edited by AoRaToS

s!mpL3 LAN Messenger

Current version [30/09/2015]

Download Here


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.