在HTA应用程序中打开一个网站 [英] Open a Website in HTA application

查看:148
本文介绍了在HTA应用程序中打开一个网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以,我有这个小型本地网站,这是打开路由器配置时打开的网站。也就是192.168.0.1。我们为路由器设置的那个。我需要经常打开该网站以打开和关闭无线网络,我必须通过浏览器来完成。它有点沉重的过程,所以我决定切换到一个单击HTA应用程序,这使得工作非常快。

事情是,只要该网站的主屏幕打开,你必须把它放在路由器密码,输入正确的密码后,HTA中的网站将不会像在浏览器中那样重定向到首选项页面。它停留在登录页面,我不知道是否必须在我的HTA中添加一些额外的代码。请帮忙。

So, I have this small local website, which is the website that opens when you open router configuration. that is, 192.168.0.1. the one in which we make settings for the router. I need to open that website very frequently for turning the wireless on and off and I have to do it via a browser. Its bit of a heavy process, so I decided to switch to one click HTA applications which makes the work very Quick.
The thing is, whenever the home screen of that website opens, where you have to put the router password, after inputting the proper password, the website in the HTA won't redirect to the Preferences page, like it does in the Browser. It stays at the Login page and I have no idea if I have to put some extra piece of code in my HTA. Please help.

以下是代码。

<html>
    <head> 
    </head> 
    <body> 
        <iframe src="http://192.168.0.1" width="100%" height="100%"> 
    </body> 
</html>


推荐答案

尝试在HTA:APPLICATION标签中添加此属性:

Try adding this Property in the HTA:APPLICATION tag :

NAVIGABLE =YES

NAVIGABLE="YES"

另外,保持application =No

Also, keep application = "No"

这篇关于在HTA应用程序中打开一个网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆