Sign in to follow this  
Followers 0
AutoITphil

Read Web Address

4 posts in this topic

Hello everybody. Today, I'm trying to make a script that can just sort of run in the background and monitor my web browser (like IE, Firefox, Chrome, etc...) I want it to do something like

$http = readhttp()

if $http = "www.aol.com" then disconnect("www.aol.com")

I'm trying to do this because I get some rather annoying pop-ups and adds that I would like this script to close as soon as they start. Any help will be greatly appreciated. Thank you and have a nice day.

Share this post


Link to post
Share on other sites



Configure pop-up blockers on all your browsers. They all use different interfaces and one script to handle them all would be very hard to code.

:)


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Firstly, I apologize for suggesting a non AutoIt solution if that is what you have your heart set on.

No need to re invent the wheel though.

I would recommend Firefox with the Adblock Plus (install) add-on, and if you are super paranoid maybe even the NoScript (install) add-on.

EDIT: Damn Penguin beat me to it ;P

Edited by danwilli

Share this post


Link to post
Share on other sites

Well I appreciate the advice, but I do sort of have my heart set on an AutoIt solution. This is mostly because blocking adds was not the only reason why I would like to have this functionality. I mostly just said this to create understandable demonstration of my predicament. So if you know of any good method to either reading the web address from the top of the screen or by seeing what sites the computer is connected to, could you please share this info? Thanks again, and have a nice day.

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  
Followers 0