Apparently this code works for iOS as well… In this case you can go to your Mac and access the HTML debugger under the Develop menu in Safari.