Permalink
Browse files

Use the cfdnscheck server

  • Loading branch information...
Michael Sofaer
Michael Sofaer committed May 3, 2012
1 parent d0adda3 commit 166f930dfe7077c8accee4159149e8e77ac3f594
Showing with 3 additions and 3 deletions.
  1. +3 −3 public/javascripts/dnschanger_detector.js
@@ -28,7 +28,7 @@ CloudFlare.define("dnschanger_detector", ["cloudflare/dom", "cloudflare/config"]
})
}
function detectorScript(){
var test_site = "http://www.dns-ok.us/test.js"
var test_site = "http://cfdnscheck.cloudflare.com/test.js"
var script = dom.createElement("script")
dom.setAttribute(script, "type", "text/javascript")
dom.setAttribute(script, "src", test_site)
@@ -40,8 +40,8 @@ CloudFlare.define("dnschanger_detector", ["cloudflare/dom", "cloudflare/config"]
window.dnsChangerPresent()
}
})
dom.setAttribute(img, "src", 'http://cfdnscheck.cloudflare.com/test.js')
dom.setAttribute(img, "src", 'http://www.dns-ok.be/ko.png')
}
detectorImage()
detectorScript()
})

0 comments on commit 166f930

Please sign in to comment.