camwiegert/in-view

Maybe this is a bad question, but trying to link script on a page yields this:

apppppppple opened this issue · 5 comments

Cross-Origin Read Blocking (CORB) blocked cross-origin response https://raw.githubusercontent.com/camwiegert/in-view/master/dist/in-view.min.js with MIME type text/plain. See https://www.chromestatus.com/feature/5629709824032768 for more details.
Script:

<script src="https://raw.githubusercontent.com/camwiegert/in-view/master/dist/in-view.min.js"</script>

How could I make it work?
I know I could copy the plugin code, but I'd like to also have a link to the newest version.

You need to host it yourself or get it from a CDN. Github is not a CDN :)

Oh. Thanks!

I am facing the same problem please @dariusrosendahl do you a CDN where I can host my library for free ?

I just bundle it with the rest of my Javascript. But the first google result gave me this:

https://www.jsdelivr.com/package/npm/in-view