-
Notifications
You must be signed in to change notification settings - Fork 18
jsDelivr
Kain edited this page Jun 14, 2024
·
15 revisions
For the latest version (from GitHub):
Warning: Using this may break apps when the package updates.
https://cdn.jsdelivr.net/gh/DrKain/tidy-url/lib/tidyurl.min.js
Or a specific version from NPM (recommended):
https://cdn.jsdelivr.net/npm/tidy-url@1.18/lib/tidyurl.min.js
You'd use this like so:
<script src='https://cdn.jsdelivr.net/npm/tidy-url@1.18/lib/tidyurl.min.js'>
tidyurl.clean('https://google.com');
Make sure you update the version to the latest, or whatever one you want to use tidy-url@1.15
You can also add this to any UserScript with the following line:
// @require https://cdn.jsdelivr.net/npm/tidy-url@1.18/lib/tidyurl.min.js
Questions? Comments? Need help?
Feel free to contact me on Discord: drkain