I have removed some malware from a website but my googleads is not approved. I asked them they said there is an issue with javascript tag.

I want to know is that correct or not.

Our default script tag like this,

<script type="text/javascript">

In my site, it's like this,

<script type="97cff6b6a96fb71b51b40788-text/javascript"> 

That random value is appending in the front and it's dynamically changing whenever site refreshed. Can you please tell what is the difference between these two script tag values? Is this causing of a googleads block?

2 Answers 2


This is an old question, but I wanted to share what fixed it for us.

It turns out that the random prefix does not come from Magento, but rather is part of Cloudflare's Rocket Loader service.

To solve the problem, the workaround was to add data-cfasync="false" to the script tag.

<script type="text/javascript">

needs to be

<script data-cfasync="false" type="text/javascript">
  • It works, I am adding JS in admin area, but on live server script changing like type="dsafdsafdsa-text/javascipt" after adding cfasync tag it stoped to converting. Can you let me know in backend have any option to stop this because in local it not converting but on live server it converting.
    – Puneet
    May 26, 2022 at 10:55

Magento never adds this type of string in java script tag. There might be some malicious code. You need to debug and check, from where it's being happened.

Have you implemented SUPEE-11086 patch? if not then don't wait and just implement it.


  • Yes, I have added all the patches upto date Apr 23, 2019 at 11:49

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.