How Do I Turn Off Anonymous JavaScript Function?
-
The anonymous JavaScript function “(function() {
var s = document.createElement(‘SCRIPT’), s1 = document.getElementsByTagName(‘SCRIPT’)[0];
s.type = ‘text/javascript’;
s.async = true;
s.src = ‘http://widgets.digg.com/buttons.js’;
s1.parentNode.insertBefore(s, s1);
})();” is causing an error because it’s executing before the page is finished loading.How do I move this to the body or footer?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How Do I Turn Off Anonymous JavaScript Function?’ is closed to new replies.