AutoITphil Posted February 20, 2011 Share Posted February 20, 2011 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. Link to comment Share on other sites More sharing options...
PsaltyDS Posted February 20, 2011 Share Posted February 20, 2011 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 Link to comment Share on other sites More sharing options...
DW1 Posted February 20, 2011 Share Posted February 20, 2011 (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 February 20, 2011 by danwilli AutoIt3 Online Help Link to comment Share on other sites More sharing options...
AutoITphil Posted February 21, 2011 Author Share Posted February 21, 2011 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now