■ Enable ■
<Input name = button onclick = Document. All. webbrowser. execwb (1,1) type = button value = open>
<Object classid = CLSID: 8856f961-340a-11d0-a96b-00c04fd705a2 Height = 0 id = webbrowser width = 0> </Object>
■ Save As ■
<Input name = button onclick = document. all. webbrowser. execwb (4,1) type = button value = Save As> <object classid = CLSID: 8856f961-340a-11d0-a96b-00c04fd705a2 Height = 0 id = webbrowser width = 0> </Object>
■ Attribute ■
<Input name = button onclick = document. all. webbrowser. execwb (10, 1) type = button value = property> <object classid = CLSID: 8856f961-340a-11d0-a96b-00c04fd705a2 Height = 0 id = webbrowser width = 0> </Object>
■ Print ■
<Input name = button onclick = document. all. webbrowser. execwb (6, 1) type = button value = print> <object classid = CLSID: 8856f961-340a-11d0-a96b-00c04fd705a2 Height = 0 id = webbrowser width = 0> </Object>
■ Page settings ■
<Input name = button onclick = document. all. webbrowser. execwb (8, 1) type = button value = page Settings> <object classid = CLSID: 8856f961-340a-11d0-a96b-00c04fd705a2 Height = 0 id = webbrowser width = 0> </Object>
■ Refresh ■
<Input type = button value = Refresh name = Refresh onclick = "window. Location. Reload ()">
■ Import to favorites ■
<Input type = "button" name = "button" value = "Import favorites" onclick = Window. External. importexportfavorites (true,);>
■ Export to favorites ■
<Input type = "button" name = "button3" value = "Export favorites" onclick = Window. External. importexportfavorites (false,);>
■ Add to favorites ■
<Input name = button2 onclick = "window. External. AddFavorite (location. href, document. Title)" type = button value = add to favorites>
■ Sort favorites ■
<Input name = submit2 onclick = "window. extern
Webbrowser. execwb () Open
Webbrowser. execwb () Close all existing IE Windows and open a new window
Webbrowser. execwb () Save the webpage
Webbrowser. execwb (6, 1) print
Webbrowser. execwb (7,1) print preview
Webbrowser. execwb (8, 1) print page settings
Webbrowser. execwb (10, 1) view page properties
Webbrowser. execwb () seems to be undo, to be confirmed
Select All webbrowser. execwb (17,1)
Webbrowser. execwb (22, 1) Refresh
Webbrowser. execwb () Close form no prompt
These are only valid for ie5.5 and later versions. I tested them in IE6 and passed them.
Code: |
|
■ Enable ■ <Input name = button onclick = Document. All. webbrowser. execwb (1,1) type = button value = open> <Object classid = CLSID: 8856f961-340a-11d0-a96b-00c04fd705a2 Height = 0 id = webbrowser width = 0> </Object> ■ Save As ■ <Input name = button onclick = document. all. webbrowser. execwb (4,1) type = button value = Save As> <object classid = CLSID: 8856f961-340a-11d0-a96b-00c04fd705a2 Height = 0 id = webbrowser width = 0> </Object> ■ Attribute ■ <Input name = button onclick = document. all. webbrowser. execwb (10, 1) type = button value = property> <object classid = CLSID: 8856f961-340a-11d0-a96b-00c04fd705a2 Height = 0 id = webbrowser width = 0> </Object> ■ Print ■ <Input name = button onclick = document. all. webbrowser. execwb (6, 1) type = button value = print> <object classid = CLSID: 8856f961-340a-11d0-a96b-00c04fd705a2 Height = 0 id = webbrowser width = 0> </Object> ■ Page settings ■ <Input name = button onclick = document. all. webbrowser. execwb (8, 1) type = button value = page Settings> <object classid = CLSID: 8856f961-340a-11d0-a96b-00c04fd705a2 Height = 0 id = webbrowser width = 0> </Object> ■ Refresh ■ <Input type = button value = Refresh name = Refresh onclick = "window. Location. Reload ()"> ■ Import to favorites ■ <Input type = "button" name = "button" value = "Import favorites" onclick = Window. External. importexportfavorites (true,);> ■ Export to favorites ■ <Input type = "button" name = "button3" value = "Export favorites" onclick = Window. External. importexportfavorites (false,);> ■ Add to favorites ■ <Input name = button2 onclick = "window. External. AddFavorite (location. href, document. Title)" type = button value = add to favorites> ■ Sort favorites ■ <Input name = submit2 onclick = "window. External. showbrowserui (organizefavorites, null)" type = button value = favorites> ■ View the original file ■ <Input name = button onclick = Window. Location = "view-source:" + window. Location. href type = button value = View Source File> ■ Language settings ■ <Input name = button onclick = "window. External. showbrowserui (languagedialog, null)" type = button value = language Settings> ■ Qianjin ■ <Input name = submit onclick = history. Go (1) type = submit value = forward> ■ Retreat ■ <Input name = submit2 onclick = history. Go (-1) type = submit value = back> |