Skip to content

Instantly share code, notes, and snippets.

@danielmatthew
Created August 27, 2013 09:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danielmatthew/6351319 to your computer and use it in GitHub Desktop.
Save danielmatthew/6351319 to your computer and use it in GitHub Desktop.
JavaScript snippet to add in appropriate meta tag after page has loaded
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