Created
August 27, 2013 09:03
-
-
Save danielmatthew/6351319 to your computer and use it in GitHub Desktop.
JavaScript snippet to add in appropriate meta tag after page has loaded
This file contains hidden or 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
var meta; | |
if (document.createElement && (meta = document.createElement('meta'))) { | |
meta.name = 'format-detection'; | |
meta.content = 'telephone=no'; | |
document.getElementsByTagName('head')[0].appendChild(meta); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment