Last active
March 23, 2018 13:08
-
-
Save mattcuk/400131c08acf9074e2c5230c9344c5a2 to your computer and use it in GitHub Desktop.
FeatherTest - Output Page Metadata
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
'feathertest' | |
console.log('%cSUDO - HOMEPAGE', 'color:orange'); | |
location.href = '/site_root/' | |
60000 | |
console.log('%cSUDO - '+location.href, 'color:orange'); | |
console.log('%cSUDO - meta_title = '+$('meta[name="title"]').attr('content'), 'color:orange'); | |
console.log('%cSUDO - meta_og:title = '+$('meta[property="og:title"]').attr('content'), 'color:orange'); | |
console.log('%cSUDO - meta_description = '+$('meta[name="description"]').attr('content'), 'color:orange'); | |
console.log('%cSUDO - meta_og:description = '+$('meta[property="og:description"]').attr('content'), 'color:orange'); | |
console.log('%cSUDO - meta_og:image = '+$('meta[property="og:image"]').attr('content'), 'color:orange'); | |
console.log('%cSUDO - meta_keywords = '+$('meta[name="keywords"]').attr('content'), 'color:orange'); | |
console.log('%cSUDO - ', 'color:orange'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment