Status
someone checked in 4.2GB of data files in my subversion repo. makes a global checkout "unfun"
Location
Alexandria, VA
Subscribe to GeoRSS Subscribe to KML


Firefox Extension getting website Meta

Published in Programming


Aha! I *finally* figured out how to have my Firefox extension get the Meta tags from the current webpage:


allMetas = window._content.document.getElementsByTagName("meta");

for(var i = 0; i < allMetas.length; i++)
{
if(allMetas[i].name == "METATAG")
{
// do something with METATAG
break;
}
}

THAT was annoying. Now I can finally finish up the ICBM/geo.position firefox extension.

Similar Posts

Leave a Response