Z
Z
zeni1agent2020-04-24 15:07:41
GitHub
zeni1agent, 2020-04-24 15:07:41

How to connect a script from github to an external page?

I tried to connect the script from my repository in many ways

<script type="text/javascript" src="https://github.com/acount/test_1/blob/master/jquery.min.js"</script>
<script type="text/javascript" src="https://rawgit.com/acount/test_1/blob/master/jquery.min.js"</script>
<script type="text/javascript" src="https://cdn.rawgit.com/acount/test_1/blob/master/jquery.min.js"</script>
<script type="text/javascript" src="https://raw.githubusercontent.com/acount/test_1/master/jquery.min.js"</script>

But none of the methods gave the effect of

jquery.min.js, I just took it as an example.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel Kuzyakin, 2020-04-24
@zeni1agent

https://raw.githack.com/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question