6

I use CloudFlare, i check other website who use CF, but they don't have i this javascript code :

<script type="text/javascript">
//<![CDATA[
try{if (!window.CloudFlare) {var CloudFlare=[{verbose:0,p:0,byc:0,owlid:"cf",bag2:1,mirage2:{profile:false},oracle:0,paths:{cloudflare:"/cdn-cgi/nexp/dok9v=/"},atok:"**",petok:"**-**-**",zone:"**.com",rocket:"0",apps:{}}];var a=document.createElement("script"),b=document.getElementsByTagName("script")[0];a.async=!0;a.src="//ajax.cloudflare.com/cdn-cgi/nexp/dok9v=b064e16429/cloudflare.min.js";b.parentNode.insertBefore(a,b);}}catch(e){};
//]]>
</script>

Anyone can say me, how to disable this ?

thanks

8
  • If you dont want it you get rid of the script. Just erase it.... Commented Apr 1, 2014 at 1:16
  • he's not in my file ^^ Commented Apr 1, 2014 at 1:18
  • 1
    It's CloudFlare who inject this code, but i want to disable it ^^ Commented Apr 1, 2014 at 1:21
  • Any why are you trying to disable it? It's there for a reason Commented Apr 1, 2014 at 1:22
  • 1
    i just want to know why i have this code ^^ Commented Apr 1, 2014 at 2:01

2 Answers 2

5

By default CloudFlare has Smart Errors turned on domains. This app causes the javascript to be injected. To disable the application, click on Apps for the domain, and then scroll down to Smart Errors and click the toggle to change it to 'Off'.

Sign up to request clarification or add additional context in comments.

1 Comment

can't find it there now.
1

Turning on certain optional apps and performance issues will inject JavaScript because that's how they work.

1 Comment

Work :) (but i don't what apps i have turning off xD)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.