-
Notifications
You must be signed in to change notification settings - Fork 196
Access free jqGrid from different CDNs
Content delivery network (CDNs) can improve the loading time of JavaScript files and to increase the probability that the client already have the files in the web browser cache. Free jqGrid are already placed on public CDNs. We recommend to use the described below origins in all cases if the clients have access to Internet.
To access free jqGrid 4.15.4 (or the old versions from 4.8 till 4.15.3) from cdnjs one can use the following URLs
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/free-jqgrid/4.15.4/css/ui.jqgrid.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/free-jqgrid/4.15.4/i18n/min/grid.locale-de.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/free-jqgrid/4.15.4/jquery.jqgrid.min.js"></script>
free jqGrid 4.15.4 (or the old versions from 4.8 till 4.15.3) is available from jsDelivr CDN.
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/ui.jqgrid.min.css">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/js/i18n/min/grid.locale-de.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/js/jquery.jqgrid.min.js"></script>
jsDelivr CDN provides some advanced features like the usage of version aliasing:
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/free-jqgrid@latest/css/ui.jqgrid.min.css">
<script src="https://cdn.jsdelivr.net/npm/free-jqgrid@latest/js/i18n/min/grid.locale-de.js"></script>
<script src="https://cdn.jsdelivr.net/npm/free-jqgrid@latest/js/jquery.jqgrid.min.js"></script>
or loading of multiple files at once:
<script src="https://cdn.jsdelivr.net/combine/npm/[email protected]/js/i18n/min/grid.locale-de.js,npm/[email protected]/js/jquery.jqgrid.min.js"></script>
See here additional information about combining multiple files.
Subresource Integrity (SRI) is W3C specification that allows to ensure that resources hosted on third-party servers have not been modified server-side by an attacker to include malicious content. The usage of SRI is recommended as a best-practice, whenever libraries are loaded from a third-party source. One can read more about SRI for example here and here. Below are the URLs to ui.jqgrid.min.css
, ui.jqgrid.css
, jquery.jqgrid.min.js
and jquery.jqgrid.src.js
with sha256
integrity attribute:
<link rel="stylesheet" crossorigin="anonymous"
href="https://cdnjs.cloudflare.com/ajax/libs/free-jqgrid/4.15.4/css/ui.jqgrid.min.css"
integrity="sha256-gY7w+ZzYjTPCx5Gx1YexizMJigg1YYwcQ3fAnWgAUTE=">
<script crossorigin="anonymous"
src="https://cdnjs.cloudflare.com/ajax/libs/free-jqgrid/4.15.4/jquery.jqgrid.min.js"
integrity="sha256-GN28v8v0UEhIeH35OHeGh9LoP5liiKMRbiIFVQ5flTo="></script>
Non-minimizes files:
<link rel="stylesheet" crossorigin="anonymous"
href="https://cdnjs.cloudflare.com/ajax/libs/free-jqgrid/4.15.4/css/ui.jqgrid.css"
integrity="sha256-BgoFkymLKugwvVs2E5/xzcsvtliyq4Buke1rI77w0j4=">
<script crossorigin="anonymous"
src="https://cdnjs.cloudflare.com/ajax/libs/free-jqgrid/4.15.4/jquery.jqgrid.src.js"
integrity="sha256-DLcD/rU/TD6lOZ5wGJzOmbHCDV8LQSwyICV87i83wJc="></script>
Some other files from plugins folder:
<script crossorigin="anonymous"
src="https://cdnjs.cloudflare.com/ajax/libs/free-jqgrid/4.15.4/plugins/min/grid.odata.js"
integrity="sha256-cmRgMaJNnR/fQvmcRZsFImdrWgJHpysdJkFPXy+A2xo="></script>
<script crossorigin="anonymous"
src="https://cdnjs.cloudflare.com/ajax/libs/free-jqgrid/4.15.4/plugins/min/jquery.contextmenu.js"
integrity="sha256-tJWuoAGiZ5pmysS3PFWUDKrcHjM3s4R5C5rweGKmC9U="></script>
<script crossorigin="anonymous"
src="https://cdnjs.cloudflare.com/ajax/libs/free-jqgrid/4.15.4/plugins/min/jquery.contextmenu-ui.js"
integrity="sha256-SeG2j3b0F/oRk5LHlqoQJzogQX7JlgdaA1Jy+EEKLRE="></script>
<script crossorigin="anonymous"
src="https://cdnjs.cloudflare.com/ajax/libs/free-jqgrid/4.15.4/plugins/min/jquery.createcontexmenufromnavigatorbuttons.js"
integrity="sha256-e9dKh5ljDF+WZI0AeHNJqnfjNZZgq2hXRlKCflALloQ="></script>
<script crossorigin="anonymous"
src="https://cdnjs.cloudflare.com/ajax/libs/free-jqgrid/4.15.4/plugins/min/jquery.jqgrid.showhidecolumnmenu.js"
integrity="sha256-F2reauNgSEG282suvNTt/XCLzYh49wQa1iFGcJ1XFqg="></script>
<link rel="stylesheet" crossorigin="anonymous"
href="https://cdnjs.cloudflare.com/ajax/libs/free-jqgrid/4.15.4/plugins/css/ui.multiselect.min.css"
integrity="sha256-ehtgeZicOMZ6DKqD2HDy5102ahCE2wylin0bHVcolbI=">
<script crossorigin="anonymous"
src="https://cdnjs.cloudflare.com/ajax/libs/free-jqgrid/4.15.4/plugins/min/ui.multiselect.js"
integrity="sha256-B0qRDeXSp8Rjn2nIyHwsvYhSApuYxFSAQ8mUvUqbfro="></script>
You can use https://www.srihash.org/ to calculate sha384
values and the corresponding <link>
or <script>
for any other free jqGrid file.
It somebody wants to test the latest version of free jqGrid one can load it directly from GitHib using RawGit service:
<link rel="stylesheet" href="https://rawgit.com/free-jqgrid/jqGrid/master/css/ui.jqgrid.css"/>
<script src="https://rawgit.com/free-jqgrid/jqGrid/master/js/i18n/grid.locale-de.js"></script>
<script src="https://rawgit.com/free-jqgrid/jqGrid/master/js/jquery.jqgrid.src.js"></script>