/dev/null Posted May 23, 2005 Share Posted May 23, 2005 Hi, I would like to start Internet Explorer without menubar and without URL edit control. Reason: I just want to view a web page, without the ability for the user to surf to another URL. How can I do that. Sometimes when you surf the net, you'll get some pop-up ads with such a explorer window. Now, that I need it, I cannot find those dump sites, to spy on them ;-)) Thanks Kurt __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
MarkMarkMark Posted May 23, 2005 Share Posted May 23, 2005 (edited) start > run > iexplore -k run("C:\Program Files\Internet Explorer\IEXPLORE.EXE -k") edit: To make it more leet..... search the help file for @Programfilesdir or something Edited May 23, 2005 by MarkMarkMark Link to comment Share on other sites More sharing options...
/dev/null Posted May 23, 2005 Author Share Posted May 23, 2005 start > run > iexplore -krun("C:\Program Files\Internet Explorer\IEXPLORE.EXE -k")That's good, but not exactly what I would like to have. I would prefer a resizable window, instead of a maximized window.ThanksKurt __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
/dev/null Posted May 23, 2005 Author Share Posted May 23, 2005 (edited) Hi guys, this is the javascript code to do what I want. However, I have no idea how to do this in AutoIt. <script> <!-- function wopen(url, w, h) { // Fudge factors for window decoration space. // In my tests these work well on all platforms & browsers. w += 32; h += 96; var win = window.open(url, 'popup', 'width=' + w + ', height=' + h + ', ' + 'location=no, menubar=no, ' + 'status=no, toolbar=no, scrollbars=yes, resizable=yes'); win.resizeTo(w, h); win.focus(); } // --> onload=wopen('http://www.sun.de', 640, 480); </script> Cheers Kurt Edited May 23, 2005 by /dev/null __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
Lazycat Posted May 23, 2005 Share Posted May 23, 2005 Seems in IE is impossible to deal with toolbar/locationbar etc without additional ActiveX plugins. In Gecko object "window" have properties locationbar, toolbar e.t.c. so you can simple write "window.locationbar.visible = false", but not in IE. One close workaround is: <html> <head> <title></title> <script language="Javascript"> window.open('http://www.google.com', null,'height=480,width=640,top=50, left=50, menubar=0, toolbar=0, scrollbars=1'); window.close() </script> </head> <body> </body> </html> But unfortunately IE show confirmation window here... Koda homepage ([s]Outdated Koda homepage[/s]) (Bug Tracker)My Autoit script page ([s]Outdated mirror[/s]) 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