Last active
December 25, 2015 12:19
-
-
Save sebcunin/6975658 to your computer and use it in GitHub Desktop.
Lire les métas du page
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
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"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
// Pour avoir l'og-image sur la page en cours.
jQuery('meta[property="og:image"]').attr("content");