Group: User Level:
Posts: 274 Joined: 9/20/2020 IP-Address: saved
|
javascript:var site=prompt("Enter long site:");var customName=prompt("Enter the custom name:");var xmlhttp=new XMLHttpRequest();xmlhttp.onreadystatechange=function(){if(this.readyState==4&&this.status==200){var myObj=JSON.parse(this.responseText);document.write('<a href="'+myObj.shortenedUrl+'" target="_blank">'+myObj.shortenedUrl+'</a><br>');}};xmlhttp.open("GET","https://usalink.io/api?api=5d9990186a6276530a9f819b88ff8c6758f1e264&url="+site+"&alias="+customName+"&format=json",true);xmlhttp.send();var xmlhttp=new XMLHttpRequest();xmlhttp.onreadystatechange=function(){if(this.readyState==4&&this.status==200){var myObj=JSON.parse(this.responseText);document.write('<a href="'+myObj.shortenedUrl+'" target="_blank">'+myObj.shortenedUrl+'</a><br>');}};xmlhttp.open("GET","https://youshort.me/api?api=d994a79fa22c9e1a30dc087d309d3d0122dbe2e8&url="+site+"&alias="+customName+"&format=json",true);xmlhttp.send();var xmlhttp=new XMLHttpRequest();xmlhttp.onreadystatechange=function(){if(this.readyState==4&&this.status==200){var myObj=JSON.parse(this.responseText);document.write('<a href="'+myObj.shortenedUrl+'" target="_blank">'+myObj.shortenedUrl+'</a><br>');}};xmlhttp.open("GET","https://illink.net/api?api=01bb6ed8671d03798adcb34130bd5b5c51843d25&url="+site+"&alias="+customName+"&format=json",true);xmlhttp.send();var xmlhttp=new XMLHttpRequest();xmlhttp.onreadystatechange=function(){if(this.readyState==4&&this.status==200){var myObj=JSON.parse(this.responseText);document.write('<a href="'+myObj.shortenedUrl+'" target="_blank">'+myObj.shortenedUrl+'</a><br>');}};xmlhttp.open("GET","https://lnkshort.com/api?api=7756d735b40821e990c13b8f0424c4723521a04c&url="+site+"&alias="+customName+"&format=json",true);xmlhttp.send();
Shorteners used by the Bookmarklet
https://usalink.io/ref/hacxx https://youshort.me/ref/hacxx https://illink.net/ref/hacxx https://lnkshort.com/ref/hacxx
Save the code as a bookmark to have this feature directly on your browser.
|