Hei there!
I've made a simple bookmarklet and is pretty self-explanatory.
if you are viewing https://example.com/some-url the bookmarklet will open the current page with your service as https://farside.link/https://example.com/some-url
on a blank/new tab it will open a prompt where the user can paste the link it want to redirect or just press enter and navigate to farside website.
Pretty print:
javascript: (function ()
{
if (location.href.indexOf('http') != 0)
{
mex = 'Insert URL or press enter to open https://farside.link/'
input = prompt('URL:', mex);
if (input == mex || input == null)
{
location.href = 'https://farside.link/';
}
else
{
location.href = 'https://farside.link/' + input
}
}
else
{
location.href = 'https://farside.link/' + location.href;
}
})();
Minified:
javascript:(function(){if(location.href.indexOf('http')!=0){mex='Insert URL or press enter to open https://farside.link/';input=prompt('URL:',mex);if(input==mex||input==null){location.href='https://farside.link/'}else{location.href='https://farside.link/'+input}}else{location.href='https://farside.link/'+location.href}})();
If you think it's useful use it as you see fit, maybe in the readme, in the wiki or on your website as a draggable link tool.
Thank you this is a very slick little web service indeed! 🎩👌
Hei there! I've made a simple bookmarklet and is pretty self-explanatory.
https://example.com/some-url
the bookmarklet will open the current page with your service ashttps://farside.link/https://example.com/some-url
Pretty print:
Minified:
If you think it's useful use it as you see fit, maybe in the readme, in the wiki or on your website as a draggable link tool.
Thank you this is a very slick little web service indeed! 🎩👌