Many themes out there still do not contain this simple (and required) line:
<?php wp_footer(); ?>
From a plugin developing standpoint I'm looking to code in a workaround for this. So two questions:
What would be a decent way to detect the lack of wp_footer?
Would there be a way to still output code before the </body> tag?