module code:
dim starttime as long
dim duration as long

code in button:
starttime = timer
duration = 1000
webbrowser1.navigate...

timer code:
if webbrowser1.busy = true and starttime + duration > timer then webbrowser1.stop