here's how to do it with any browser, Applescript and Akua Sweets.
--------------------------
try
tell application "Internet Explorer"
set oldWindowBounds to (reposition window 1)
if (oldWindowBounds is not {0, 38, 800, 600}) then
set menu bar visibility to true
reposition window 1 to {0, 38, 800, 600}
else
reposition window 1 to {0, 0, 800, 600}
set menu bar visibility to false
end if
end tell
on error m number n
end try
--------------------------