zoukankan      html  css  js  c++  java
  • Safari浏览器 Html 引用 meta扩展标记

    Safari浏览器中,Html页面<head></head>标记内,可以通过meta标记对浏览器对一些默认设置进行修改。

    apple-mobile-web-app-capable

        Sets whether a web application runs in full-screen mode.
    ——设置一个Web应用是否在全屏模式下运行(即是否取消显示苹果的工具栏和菜单栏)
     
    Syntax
     
      <meta name="apple-mobile-web-app-capable" content="yes">
     
    Discussion
     
        If content is set to yes, the web application runs in full-screen mode; otherwise, it does not. The default behavior is to use Safari to display web content.
     
        You can determine whether a webpage is displayed in full-screen mode using the window.navigator.standalone read-only Boolean JavaScript property.
     
    Availability
     
        Available for iOS.
     
    Support Level
     
        Apple extension.

    apple-mobile-web-app-status-bar-style

        Sets the style of the status bar for a web application.
     
    Syntax
     
      <meta name="apple-mobile-web-app-status-bar-style" content="black">
     
    Discussion
        This meta tag has no effect unless you first specify full-screen mode as described in -apple-mobile-web-app-capable.
        If content is set to default, the status bar appears normal. If set to black, the status bar has a black background. If set to black-translucent, the status bar is black and translucent. If set to default or black, the web content is displayed below the status bar. If set to black-translucent, the web content is displayed on the entire screen, partially obscured by the status bar. The default value is default.
     
    Availability
     
        Available for iOS.
     
    Support Level
     
        Apple extension.

    format-detection

        Enables or disables automatic detection of possible phone numbers in a webpage in Safari on iOS.
     
    Syntax
     
      <meta name="format-detection" content="telephone=no">
     
    Discussion
       
        By default, Safari on iOS detects any string formatted like a phone number and makes it a link that calls the number. Specifying telephone=no disables this feature.
     
    Support Level
     
        Apple extension.
  • 相关阅读:
    Blend3中创建的Silverlight程序在设计模式下无法显示图片的解决办法
    创建Silverlight Bussiness Application时报错的解决
    .NET 2.0 字符串比较
    ASP.NET 客户端缓存
    AjaxPro部署成功
    遭遇反序列化异常:"在分析完成之前就遇到流结尾"
    正则表达式
    哈哈,终于申请获得批准了!
    ClientScript.RegisterClientScriptInclude注册脚本
    今天经过一场深有体会的谈话终于决定了我2012的方向
  • 原文地址:https://www.cnblogs.com/cleverJoe/p/6811721.html
Copyright © 2011-2022 走看看