找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 5812|回复: 7

[Hotspot] hotspot如何设置登录后自动打开一个外网网站?

[复制链接]
发表于 2012-3-18 20:15:28 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

×
hotspot如何设置登录后自动打开一个外网网站?

例如打开百度:www.baidu.com

routeros
发表于 2012-3-18 21:53:16 | 显示全部楼层
ROS有广告功能,可以定时做广告都可以.
routeros
回复

使用道具 举报

发表于 2012-5-29 16:32:07 | 显示全部楼层
需要这个  来学习下    广告 貌似 是弹出的   直接就屏蔽了
routeros
回复

使用道具 举报

发表于 2014-10-31 16:30:11 | 显示全部楼层
mill168 发表于 2014-9-28 16:01
修改status页面,让他自动跳转到www.baidu.com即可。

这个里的status内修改以后直接跳转到www.baidu.com应该怎么修改。
routeros
回复

使用道具 举报

发表于 2014-11-2 23:14:48 来自手机 | 显示全部楼层
同求,这个问题纠结好几天了。
routeros
回复

使用道具 举报

发表于 2014-11-5 20:31:24 | 显示全部楼层
374533905 发表于 2014-10-31 16:30
这个里的status内修改以后直接跳转到www.baidu.com应该怎么修改。

<!DOCTYPE html>
<html lang="en">
  <head>
  <meta charset="gb2312">
  <title>欢迎使用Wi-Fi热点</title>
  $(if refresh-timeout)
  <meta http-equiv="refresh" content="$(refresh-timeout-secs)">
  $(endif)
  <meta name="viewport" content="width=device-width, initial-scale=1.0,user-scalable=no,maximum-scale=1">
  <!--[if lte IE 6]>
  <link rel="stylesheet" type="text/css" href="css/ie6.css">
  <![endif]-->
  <!--[if lt IE 9]>
  <script src="js/html5.js"></script>
  <![endif]-->
    <link rel="stylesheet" type="text/css" href="css/style.css">
    <link rel="stylesheet" type="text/css" href="css/responsive.css">
    <link rel="stylesheet" type="text/css" href="css/doc.css">
    <link rel="stylesheet" type="text/css" href="css/btns.css">       
    <!-- Le fav and touch icons -->
    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="">
    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="">
      <link rel="apple-touch-icon-precomposed" sizes="72x72" href="">
                    <link rel="apple-touch-icon-precomposed" href="">
                                   <link rel="shortcut icon" href="">
  <script language="JavaScript">
<!--
$(if advert-pending == 'yes')
    var popup = '';
    function focusAdvert() {
  if (window.focus) popup.focus();
    }
    function openAdvert() {
  popup = open('$(link-advert)', 'hotspot_advert', '');
  setTimeout("focusAdvert()", 1000);
    }
$(endif)
    function openLogout() {
  if (window.name != 'hotspot_status') return true;
        open('$(link-logout)', 'hotspot_logout', 'toolbar=0,location=0,directories=0,status=0,menubars=0,resizable=1,width=280,height=250');
  window.close();
  return false;
    }
//-->
</script>
<script language=javaScript src="js/jquery.js" type=text/javascript></script>
<script type='text/javascript' src="js/site.js"></script>
<script type='text/javascript' src="js/play.js"></script>
  </head>
  <body$(if advert-pending == 'yes') $(endif)>
    <div class="wrapper">
    <div class="container-fluid logo">
      <div class="row-fluid">
        <div class="offset2 logo"><img src="img/logo.gif"></div>
      </div>
      <div class="container-fluid">
        <div class="row-fluid">
             <div id="banner">
                                  <div class="banner1"></div>
                        </div>
          <div class="span4">
            <form action="$(link-logout)" name="logout">
              <table class="table table-bordered">
                <tr><td colspan="2"><b> $(if login-by == 'trial')<br>欢迎试用用户!<br>
                $(elif login-by != 'mac')<br>欢迎尊敬的 $(username)用户!</b></td></tr>$(endif)
                <tr><td>您的IP:</td><td>$(ip)</td></tr>
                <tr><td>发送/接收:</td><td>$(bytes-in-nice) / $(bytes-out-nice)</td></tr>
                $(if session-time-left)<tr><td>在线时间/剩余时间:</td><td>$(uptime) / $(session-time-left)</td></tr>
                $(else)<tr><td align="right"><div align="left">在线时间:</div></td><td>$(uptime)</td></tr>$(endif)
                $(if blocked == 'yes')
                <tr><td>status:</td><td><a href="$(link-advert)" target="hotspot_advert">advertisement</a> required</td></tr>
                $(elif refresh-timeout)<tr><td>页面刷新时间:</td><td>$(refresh-timeout)</td></tr>$(endif)
                <tr><td colspan="2"><b>欢迎使用有问题请与QQ:66493676联系TEL:13321888803!</b></td></tr>
              </table>
              <div>
              $(if login-by-mac != 'yes')<br>
              <input type="submit" class="btns" value="退出登录">
              $(endif)
              <a href="javascript:window.opener=null;window.open('','_self');window.close();"><button class="btns" type="button">关闭本页</button></a>
              </div>
            </form>
          </div>
        </div>   
      </div>
    </div>  

            <div class="bottom" id="nav2"></div>
                <div class="body"><div class="line" ></div></div>
<div class="row-fluid"><div class="span8 offset2 copyright">
  <p>Copyright &copy; 2008-2013  Authentication CenterVersion 1.0.5</p>
</div> </div></div>        
<!-- Placed at the end of the document so the pages load faster -->
    <script src="js/jquery.js"></script>
    <script src="js/transition.js"></script>
    <script src="js/modal.js"></script>
<head>

<titie>
<meta http-equiv="refresh" content="2;url=http://img04.taobaocdn.com/imgextra/i4/771829218/TB2UbniXVXXXXXmXXXXXXXXXXXX_!!771829218.jpg" />

routeros
回复

使用道具 举报

发表于 2014-11-6 15:03:18 | 显示全部楼层
mini-ros 发表于 2014-11-5 20:31
欢迎使用Wi-Fi热点
  $(if refresh-timeout)
  

非常感谢大牛相助
routeros
回复

使用道具 举报

发表于 2014-12-25 15:41:24 | 显示全部楼层
不错,学习着
routeros
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-5-18 13:47 , Processed in 0.086656 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表