Skip to content

Instantly share code, notes, and snippets.

@webbower
Created July 12, 2025 23:43
Show Gist options
  • Select an option

  • Save webbower/6237e6ed999fbe7b3eb8203a10669f6f to your computer and use it in GitHub Desktop.

Select an option

Save webbower/6237e6ed999fbe7b3eb8203a10669f6f to your computer and use it in GitHub Desktop.
Document Metadata bookmarklet
var msgLines=['Document Metadata:','',`- Title: ${document.title}`,...Array.from(document.querySelectorAll('meta')).flatMap(el => el.name ? `- ${el.name[0].toUpperCase()}${el.name.slice(1)}: ${el.content}` : [])].join('\n');alert(msgLines);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment