Here’s the first draft, if any of you brainiacs are up for a code review :
Still working on the feature test part (that’s a bonus) and making it a site-wide implementation.
Freakin’ Android 2.3 never wants to play nice. Seems you can’t reuse a
window. global variable for some reason so I had to create another for feature testing…
Edit – left that out, easier and better for overview to make it a separate file.