🤑 Indie game store🙌 Free games😂 Fun games😨 Horror games
👷 Game development🎨 Assets📚 Comics
🎉 Sales🎁 Bundles

How to fix: HTML5 Game javascript doesnt load

A topic by Artsicle created 254 days ago Views: 99 Replies: 3
Viewing posts 1 to 2
(Edited 1 time)

I had some troubles with this, but after looking at the console I saw what was wrong

If you looked at this, you might see nothing wrong

<script src="http://raw.githubusercontent.com/wilq32/jqueryrotate/master/jQueryRotate.js"></script>

It works normally, right? Yes. Itch.io, doesnt want this though

It does not allow HTTP links. But this site, is actually an https but the person advertising it that I found, accidentally left it http. It worked fine, but not for itchio. Here is the fixed version

<sciprt src="<a href=" https:="" raw.githubusercontent.com="" wilq32="" jqueryrotate="" master="" jqueryrotate.js"=""></sciprt><script src="https://raw.githubusercontent.com/wilq32/jqueryrotate/master/jQueryRotate.js"></script>

Also you might need to use a file entirely for itchio! Hope this helped!


I don't understand what the problem is, but pretty sure "<sciprt>" is not the same thing as "<script>". Programming languages don't correct your spelling by themselves. Could that be the cause of whatever problem you're having?


No, I actually rewrote this for this post. My IDE would tell me the error if I did it there. fixing the error! :)


raw.githubusercontent.com will happily serve content over https btw, you could just change the "http" to "https" and it'd work just fine!