Site logo

Archived topic

Random String in Script tag

7 replies · Started by Sumit on October 16, 2019

Viewing posts 1–8 of 8

I am facing a weird situation. A random string is getting added right before text into my script tags

for example
<script type="text/javascript"> will become <script type="d32f2440150fb29781d1c7ff-text/javascript">

And "d32f2440150fb29781d1c7ff" is a unique number for every page load. I wonder what is this as this sounds very fishy to me.

I am sorry if this is not well suited for generate press support, but I am not sure how to deal with this situation.

Hi there,

how and where are you adding these scripts? Can you point me to one?

Can you try clearing and disabling your cache.

are you not seeing this at your end?

Only if I view the source not in the actual DOM - so the first thing to check is if the cache/optimization plugin is doing anything funky with the source.

turned out it was being added because of rocket loader from cloudflare. What a fail at my end.

Thanks for your help Dave. Really appreciate it.

Happy to be of help !

This archived topic is closed to new replies.