friendfox Posted November 27, 2009 Posted November 27, 2009 How to hook or modify IE HOMEPAGE in memory?
PsaltyDS Posted November 29, 2009 Posted November 29, 2009 How to hook or modify IE HOMEPAGE in memory? What does that mean? Do you simply want to open the home page? Try this: #include <IE.au3> $oIE = _IECreate() _IEAction($oIE, "home") 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
friendfox Posted November 30, 2009 Author Posted November 30, 2009 What does that mean? Do you simply want to open the home page? Try this: #include <IE.au3> $oIE = _IECreate() _IEAction($oIE, "home") What I mean is: in memory dynamically modify a browser's homepage property
PsaltyDS Posted November 30, 2009 Posted November 30, 2009 What I mean is: in memory dynamically modify a browser's homepage property I'm still not sure what "in memory" means in this context, but if it's simply "from a script" then: RegWrite("HKCU\SOFTWARE\Microsoft\Internet Explorer\Main", "Start Page", "REG_SZ", "http://www.autoitscript.com") behdadsoft 1 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
Bert Posted November 30, 2009 Posted November 30, 2009 (edited) with firefox, you can use greasemonkey WIth IE, you could for example use _IEBodyWriteHTML Edited November 30, 2009 by Volly The Vollatran project My blog: http://www.vollysinterestingshit.com/
friendfox Posted November 30, 2009 Author Posted November 30, 2009 I'm still not sure what "in memory" means in this context, but if it's simply "from a script" then: RegWrite("HKCU\SOFTWARE\Microsoft\Internet Explorer\Main", "Start Page", "REG_SZ", "http://www.autoitscript.com") Thank you for your reply. I know that you can set the home page with registry . But I mean, how to modify homepage address with the IE window's memory.
Bert Posted November 30, 2009 Posted November 30, 2009 Here is the problem - IE window's memory That doesn't make sense. Please pick from one of the choices below so we can understand what you are asking. Do you want to: 1. Read the web page to gather information on it? 2. Change what is presented on the page when it loads? 3. See what page loads, and change it to what you want before it loads? 4. Prevent a page from loading? 5. Only allow certain pages to load? If none of these are it, then can you tell us what you plan to do when you have this "ability" you desire? Maybe that would shed some light on what you have in mind. Otherwise, we have no idea what you are asking. The Vollatran project My blog: http://www.vollysinterestingshit.com/
friendfox Posted December 1, 2009 Author Posted December 1, 2009 Here is the problem - IE window's memoryThat doesn't make sense. Please pick from one of the choices below so we can understand what you are asking. Do you want to:1. Read the web page to gather information on it?2. Change what is presented on the page when it loads?3. See what page loads, and change it to what you want before it loads?4. Prevent a page from loading?5. Only allow certain pages to load?If none of these are it, then can you tell us what you plan to do when you have this "ability" you desire? Maybe that would shed some light on what you have in mind. Otherwise, we have no idea what you are asking.2. Change what is presented on the page when it loads?For example:The registry home page address: www.xxx.comOpen IE, then dynamically converted to: www.google.comThe registry home page address: www.sex567.comOpen IE, then dynamically converted to: www.google.comIn short, only one aim: to lock into a fixed home address
Mison Posted December 1, 2009 Posted December 1, 2009 May I ask you why you want to lock them? It's kinda deceptive. Hi ;)
Bert Posted December 1, 2009 Posted December 1, 2009 You are asking for a thing that maulware does. Why do you need this? The Vollatran project My blog: http://www.vollysinterestingshit.com/
bo8ster Posted December 1, 2009 Posted December 1, 2009 2. Change what is presented on the page when it loads?For example:The registry home page address: www.xxx.comOpen IE, then dynamically converted to: www.google.comThe registry home page address: www.sex567.comOpen IE, then dynamically converted to: www.google.comIn short, only one aim: to lock into a fixed home addressI have seen this before, where you open a IE browser and you are taken to a bad site and some times you are always taken to that site. If that is the case, using autoit will not change it, you have a virus. It is not dynamic but appears to be. There is a way to solve this but I won't go into detail here as exposing the solution exposes how to do it. Post your code because code says more then your words can. SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y. Use Opt("MustDeclareVars", 1)[topic="84960"]Brett F's Learning To Script with AutoIt V3[/topic][topic="21048"]Valuater's AutoIt 1-2-3, Class... is now in Session[/topic]Contribution: [topic="87994"]Get SVN Rev Number[/topic], [topic="93527"]Control Handle under mouse[/topic], [topic="91966"]A Presentation using AutoIt[/topic], [topic="112756"]Log ConsoleWrite output in Scite[/topic]
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