Skip to content

Instantly share code, notes, and snippets.

@sebcunin
Last active December 25, 2015 12:19
Show Gist options
  • Save sebcunin/6975658 to your computer and use it in GitHub Desktop.
Save sebcunin/6975658 to your computer and use it in GitHub Desktop.
Lire les métas du page
jQuery('meta[name=author]').attr("content");
// Lire le méta Generator
jQuery('meta[name=Generator]').attr("content");
// Lien à utiliser pour visualiser les Open Graph vue par Facebook
// https://developers.facebook.com/tools/debug/
// Visualier le contenu de la OG Description
jQuery('meta[property="og:description"]').attr("content");
@sebby
Copy link

sebby commented Dec 2, 2013

// Pour avoir l'og-image sur la page en cours.
jQuery('meta[property="og:image"]').attr("content");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment