From abc40609071b72bc0b8eb434bb644e0fdcc0559c Mon Sep 17 00:00:00 2001 From: SansGuidon Date: Thu, 12 Dec 2024 12:09:28 +0000 Subject: [PATCH] add(bookmarklet) search alternatives to current service --- bookmarklets/alternative.js | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 bookmarklets/alternative.js 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