Stoyan Stefanov has done some testing on so called implied globals in browsers. One of the interesting finds was that the meta description is accessible in JavaScript using object property notation on IE and other browsers.
HTML:
-
<meta name=“description” content=“test me” />
JAVASCRIPT:
-
alert(description.content); // "test me"
-
Furthermore, you can use document.getElementById('description') will give you that DOM node although it has no ID!
Stoyan has a test page up to see what browser behaves that way and there’s an interesting comparison table in the blog post. Also be sure to check the comments for more baffling findings.