Permalink
Browse files

Update public/javascripts/dnschanger_detector.js

  • Loading branch information...
dknecht committed May 3, 2012
1 parent 3b3062f commit 23ada73c7be5f120f2509355c82c8701e5777011
Showing with 1 addition and 1 deletion.
  1. +1 −1 public/javascripts/dnschanger_detector.js
@@ -30,7 +30,7 @@ CloudFlare.define("dnschanger_detector", ["cloudflare/dom", "dnschanger_detector
function detectorScript(){
var test_site = "//cfdnscheck.cloudflare.com/test.js"
var script = dom.createElement("script")
var cursor = document.getElementsByTagName('script')[0]
var cursor = document.getElementsByTagName('script', true)[0]
dom.setAttribute(script, "type", "text/javascript")
dom.setAttribute(script, "src", test_site)
cursor.parentNode.insertBefore(script, cursor);

0 comments on commit 23ada73

Please sign in to comment.