Instantly share code, notes, and snippets.
Created
June 2, 2016 13:16
-
Star
(0)
0
You must be signed in to star a gist -
Fork
(0)
0
You must be signed in to fork a gist
-
Save fitodac/c254758de5e0f1302140e5948e1f89c2 to your computer and use it in GitHub Desktop.
Browser / Platform head tags
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- APPLE IOs --> | |
<!-- Smart App Banner --> | |
<meta name="apple-itunes-app" content="app-id=APP_ID,affiliate-data=AFFILIATE_ID,app-argument=SOME_TEXT"> | |
<!-- Disable automatic detection and formatting of possible phone numbers --> | |
<meta name="format-detection" content="telephone=no"> | |
<!-- Add to Home Screen --> | |
<meta name="apple-mobile-web-app-capable" content="yes"> | |
<meta name="apple-mobile-web-app-status-bar-style" content="black"> | |
<meta name="apple-mobile-web-app-title" content="App Title"> | |
<!-- Touch Icons --> | |
<link rel="apple-touch-icon" href="path/to/apple-touch-icon.png"> | |
<link rel="apple-touch-icon-precomposed" href="path/to/apple-touch-icon-precomposed.png"> | |
<!-- In most cases, one 180×180px touch icon in the head is enough --> | |
<!-- If you use art-direction and/or want to have different content for each device, you can add more touch icons --> | |
<!-- Startup Image --> | |
<link rel="apple-touch-startup-image" href="path/to/startup.png"> | |
<!-- More info: https://developer.apple.com/safari/library/documentation/appleapplications/reference/safarihtmlref/articles/metatags.html --> | |
<!-- APPLE SAFARI --> | |
<!-- Pinned Site --> | |
<link rel="mask-icon" href="path/to/icon.svg" color="red"> | |
<!-- GOOGLE ANDROID --> | |
<meta name="theme-color" content="#E64545"> | |
<!-- Add to homescreen --> | |
<meta name="mobile-web-app-capable" content="yes"> | |
<!-- More info: https://developer.chrome.com/multidevice/android/installtohomescreen --> | |
<!-- GOOGLE CHROME --> | |
<link rel="chrome-webstore-item" href="https://chrome.google.com/webstore/detail/APP_ID"> | |
<!-- Disable translation prompt --> | |
<meta name="google" value="notranslate"> | |
<!-- MICROSOFT INTERNET EXPLORER --> | |
<meta http-equiv="x-ua-compatible" content="ie=edge"> | |
<meta http-equiv="cleartype" content="on"> | |
<meta name="skype_toolbar" content="skype_toolbar_parser_compatible"> | |
<!-- Disable link highlighting on IE 10 on Windows Phone (https://blogs.windows.com/buildingapps/2012/11/15/adapting-your-webkit-optimized-site-for-internet-explorer-10/) --> | |
<meta name="msapplication-tap-highlight" content="no"> | |
<!-- Pinned sites (https://msdn.microsoft.com/en-us/library/dn255024(v=vs.85).aspx) --> | |
<meta name="application-name" content="Contoso Pinned Site Caption"> | |
<meta name="msapplication-tooltip" content="Example Tooltip Text"> | |
<meta name="msapplication-starturl" content="/"> | |
<meta name="msapplication-config" content="http://example.com/browserconfig.xml"> | |
<meta name="msapplication-allowDomainApiCalls" content="true"> | |
<meta name="msapplication-allowDomainMetaTags" content="true"> | |
<meta name="msapplication-badge" content="frequency=30; polling-uri=http://example.com/id45453245/polling.xml"> | |
<meta name="msapplication-navbutton-color" content="#FF3300"> | |
<meta name="msapplication-notification" content="frequency=60;polling-uri=http://example.com/livetile"> | |
<meta name="msapplication-square150x150logo" content="path/to/logo.png"> | |
<meta name="msapplication-square310x310logo" content="path/to/largelogo.png"> | |
<meta name="msapplication-square70x70logo" content="path/to/tinylogo.png"> | |
<meta name="msapplication-wide310x150logo" content="path/to/widelogo.png"> | |
<meta name="msapplication-task" content="name=Check Order Status;action-uri=./orderStatus.aspx?src=IE9;icon-uri=./favicon.ico"> | |
<meta name="msapplication-task-seperator" content="1"> | |
<meta name="msapplication-TileColor" content="#FF3300"> | |
<meta name="msapplication-TileImage" content="path/to/tileimage.jpg"> | |
<meta name="msapplication-window" content="width=1024;height=768"> | |
<!-- MICROSOFT INTERNET EXPLORER: Legacy, Do Not Use! --> | |
<!-- Disable the image toolbar when you mouse over images in IE 6 (https://msdn.microsoft.com/en-us/library/ms532986(v=vs.85).aspx) --> | |
<meta http-equiv="imagetoolbar" content="no"> | |
<!-- Disable Windows theming to form inputs/buttons (https://support.microsoft.com/en-us/kb/322240) --> | |
<meta name="MSThemeCompatible" content="no"> | |
<!-- Disable a feature that only appeared on IE 6 beta (https://stackoverflow.com/q/2167301) --> | |
<meta name="MSSmartTagsPreventParsing" content="true"> | |
<!-- Interpage Transitions (https://msdn.microsoft.com/en-us/library/ms532847(v=vs.85).aspx) --> | |
<meta http-equiv="Page-Enter" content="revealtrans(duration=2,transition=2)"> | |
<meta http-equiv="Page-Exit" content="revealtrans(duration=3,transition=12)"> | |
<meta http-equiv="Site-Enter" content="revealtrans(duration=2,transition=2)"> | |
<meta http-equiv="Site-Exit" content="revealtrans(duration=3,transition=12)"> | |
<!-- 360 BROWSER --> | |
<!-- select rendering engine in order --> | |
<meta name="renderer" content="webkit|ie-comp|ie-stand"> | |
<!-- UC MOBILE BROWSER --> | |
<!-- Locks the screen into the specified orientation --> | |
<meta name="screen-orientation" content="landscape/portrait"> | |
<!-- Display this page in fullscreen --> | |
<meta name="full-screen" content="yes"> | |
<!-- UC browser will display images even if in "text mode" --> | |
<meta name="imagemode" content="force"> | |
<!-- Page will be displayed in "application mode"(fullscreen,forbiding gesture, etc.) --> | |
<meta name="browsermode" content="application"> | |
<!-- Disabled the UC browser's "night mode" in this page --> | |
<meta name="nightmode" content="disable"> | |
<!-- Simplify the page to reduce data transfer --> | |
<meta name="layoutmode" content="fitscreen"> | |
<!-- Disable the UC browser's feature of "scaling font up when there are many words in this page" --> | |
<meta name="wap-font-scale" content="no"> | |
<!-- QQ MOBILE BROWSER --> | |
<!-- Locks the screen into the specified orientation --> | |
<meta name="x5-orientation" content="landscape/portrait"> | |
<!-- Display this page in fullscreen --> | |
<meta name="x5-fullscreen" content="true"> | |
<!-- Page will be displayed in "application mode"(fullscreen,etc.) --> | |
<meta name="x5-page-mode" content="app"> | |
<!-- APP LINKS --> | |
<!-- iOS --> | |
<meta property="al:ios:url" content="applinks://docs"> | |
<meta property="al:ios:app_store_id" content="12345"> | |
<meta property="al:ios:app_name" content="App Links"> | |
<!-- Android --> | |
<meta property="al:android:url" content="applinks://docs"> | |
<meta property="al:android:app_name" content="App Links"> | |
<meta property="al:android:package" content="org.applinks"> | |
<!-- Web Fallback --> | |
<meta property="al:web:url" content="http://applinks.org/documentation"> | |
<!-- More info: http://applinks.org/documentation/ --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment