Check data on other page with http request

It is true there is little doc about this implementation.
Here is what you need to do:

How to CDN a JavaScript file:

  1. create a free GitHub account
  2. create a repository (which can be seen as a folder containing all your files for a specific project)
  3. create or upload your javascript file inside that repository
  4. setup your jsDeliver url link as such if you don’t want to minify on fly your JavaScript: https://cdn.jsdelivr.net/gh/yourusername/yourrepository/yourfilename.js
  5. setup your jsDeliver url link as such if you want to minify on the fly your file: https://cdn.jsdelivr.net/gh/yourusername/yourrepository/yourfilename.min.js
  6. wrapp your url within its script tags as such and add it to your webflow project: <script src="https://cdn.jsdelivr.net/gh/yourusername/yourrepository/yourfilename.min.js"></script>

Note:

/yourusername = your GitHub username
/yourrepository = the name of your Github repository
/yourefilename = you’ve guessed it
simply add min at the end of your file, before the .js if you want jsDeliver to minify your file onthe fly.

Hope that helps !

1 Like