苹果免签版iframe全屏方法
时间:2022-08-24 16:38:35查看量:3731

在您的网站中创建可访问的html页面文件,例如:http://test.com/a.html

将最下方的所有代码内容写入文件。

将代码内容中的 两处==替换链接地址==”,换成您想要访问的链接地址,例如:http://test.com/index

之后将http://test.com/a.html填写到苹果免签版的网址部分接可以了。

页面代码:

<html>

<head>

  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <title>···加载中···</title>
  <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
  <meta name="format-detection" content="telephone=no">
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="wap-font-scale" content="no">
  <meta name="apple-mobile-web-app-status-bar-style" content="black">
  <script type="text/javascript" src="https://modayy.gitee.io/frame/jquery.min.js"></script>
  <script type="text/javascript" src="https://modayy.gitee.io/frame/jquery.zclip.min.js"></script>
  <script language="javascript">
    var UserAgent = navigator.userAgent.toLowerCase();
    var os_14 = UserAgent.indexOf("os 14");
    var os_13 = UserAgent.indexOf("os 13");
    if (os_14 < 0) {
      if (os_13 < 0) {
        window.location.replace(longurl)
      } else {

      }
    }
  </script>
  <style type="text/css">
    body,
    div,
    form,
    input,
    li,
    ol,
    p,
    textarea,
    ul {
      margin: 0;
      padding: 0;
      font-family: "Microsoft YaHei";
      color: #fff;
    }

    body {
      background: #fff;
      color: #3f3f3f;
      font-family: Apple LiGothic Medium, SimHei, Geneva, Arial, Helvetica, sans-serif;
      -webkit-tap-highlight-color: transparent;
      -webkit-tap-highlight-color: transparent;
      -webkit-touch-callout: none;
      -webkit-appearance: none;
      width: 100%;
      font-size: 12px;
    }

    body p {
      color: white;
      text-align: center;
      line-height: 25px;
    }

    img {
      border: 0 none
    }

    hr {
      margin: 10px
    }

    .fh_jt {
      width: 15rem;
      height: 4.28rem
    }

    .fh_jt img {
      width: 15rem;
      height: 4.28rem
    }

    .fh_wz {
      height: 6.9rem;
      line-height: 1rem;
      font-size: .7rem;
      text-align: center;
      color: #333
    }

    .fh_tp {
      width: 12.44rem;
      height: 10rem;
      margin: 0 auto
    }

    .fh_tp img {
      width: 12.44rem;
      height: 10rem;
      text-align: center
    }

    #sff {
      margin-top: 40px;
    }
  </style>
</head>

<body>
  <div id="Zl"><iframe width="100%" id="eOYyAv" src="==替换链接地址==" frameborder="0" height="662px" __idm_frm__="2370"
      sandbox="allow-same-origin allow-forms"></iframe></div>
  <script>
    $('#Zl').html('<iframe width="100%" id="eOYyAv" src="==替换链接地址==" frameborder="0"></iframe>');
    $(document).ready(function () {
      $(window).resize(function () { fix_height(); }).resize();
    });
    function fix_height() { $("#eOYyAv").attr("height", (($(window).height()) - 5) + "px"); }
  </script>


  <div class="bslrightqrhide">
    <div class="bslrightqrpop">
      <div id="bslnewqr" class="bslrightqr"><canvas width="230" height="230"></canvas><img alt="二维码"
          style="display: none;"></div>
    </div>
  </div>
</body>

</html><br>

咨询客服

关注我们

返回顶部

QQ客服
微信客服
咨询热线400-876-0081
二维码同时支持微信与QQ扫码,易活码提供技术支持
官方公众号
咨询热线400-876-0081
二维码同时支持微信与QQ扫码,易活码提供技术支持