Can anyone suggest a Javascript one-liner to get the description meta tag from a page's DOM?
Doesn't need to work in anything but Safari...
The best I've managed so far is as follows, but it seems to be case sensitive (in other words, doesn't work if the meta tag is named "Description", or "DESCRIPTION"):
Doesn't need to work in anything but Safari...
The best I've managed so far is as follows, but it seems to be case sensitive (in other words, doesn't work if the meta tag is named "Description", or "DESCRIPTION"):
Code:
document.getElementsByName('description')[0].content