I am trying to run a JavaScript file I hosted on GitHub.
Its a snow falling script from This Site
This code is not working.
<html>
<head>
<title>DHTML SnowStorm: Basic Example</title>
<script type="text/javascript" src="https://raw.githubusercontent.com/GH0STH4CKER/PROJECTS/master/snowfall.js"></script>
</head>
<body style="background:#6699cc;font:100 1.75em helvetica neue, helvetica,arial,verdana,sans-serif;color:#fff">
<h1 style="font-size:2em;margin:0px;font-weight:100">Example SnowStorm page</h1>
<p>
A single Javascript reference in the <head> tag is required for SnowStorm to work.
</p>
<p>
View the source of this page for reference.
</p>
</body>
</html>
Output : No Snow Falling Expected : Snow falling
How can I run this .js file in my website ?
Update - Got this error in console :
Cross-Origin Read Blocking (CORB) blocked cross-origin response https://raw.githubusercontent.com/GH0STH4CKER/PROJECTS/master/snowfall.js with MIME type text/plain.