我正在使用脚本将 IE6 屏幕转换为全屏模式。我正在使用 Wscript.Shell ActiveX 对象并将 F11 键发送到 IE。问题是,如果用户再次进入屏幕,它会再次发送 F11 键并返回正常屏幕。我试图将信息保存在用户的会话中,但是当它结束时问题又回来了。
有人找到一种方法来判断用户当前是否使用脚本在 IE6 中全屏显示?
谢谢。
我正在使用脚本将 IE6 屏幕转换为全屏模式。我正在使用 Wscript.Shell ActiveX 对象并将 F11 键发送到 IE。问题是,如果用户再次进入屏幕,它会再次发送 F11 键并返回正常屏幕。我试图将信息保存在用户的会话中,但是当它结束时问题又回来了。
有人找到一种方法来判断用户当前是否使用脚本在 IE6 中全屏显示?
谢谢。
Here's a link to some example Javascript code that opens a new browser window fullscreen.
I've looked over the documentation of the window
object and it doesn't indicate any property which provides the information you're looking for. My guess is that it's not possible.