Script tags' type attribute hash prepended

Script tags on my page are getting changed from this:

<script type="text/javascript">...</script>

to something like this:

<script type="da287355047146cc0c4bb110-text/javascript">...</script>

When I load the page directly from the server IP, they come out normal, so it seems that this is something CloudFlare is doing. Does anyone know why?

Ok I figured it out. It was rocket loader.

But why is rocket loader doing that? It causes some scripts not to work on my page.

1 Like

Rocket Loader just isn’t compatible with everything. You can certainly let Support know if it’s incompatible with something and they can take a look at it.

I believe the Rocket Loader can do a sidetrack test of your site that includes Rocket Loader for just them if you have it disabled for your site.

Login to Cloudflare and then contact Cloudflare Support by clicking on the Get More Help button.

This topic was automatically closed after 31 days. New replies are no longer allowed.