diff --git a/bookmarklets/alternative.js b/bookmarklets/alternative.js new file mode 100644 index 0000000..98a7859 --- /dev/null +++ b/bookmarklets/alternative.js @@ -0,0 +1,3 @@ +//Is there an alternative to current service (website) ? + +javascript:(function(){if(location.href.indexOf('http')!=0){input=prompt('URL:','http://');if(input!=null){location.href='http://web.archive.org/web/*/'+input}}else{location.href='https://alternativeto.net/browse/search/?q=%27+window.location.hostname.replace("www.","").split(".")[0];}})(); \ No newline at end of file