add(bookmarklet) search alternatives to current service
This commit is contained in:
parent
86a0661336
commit
abc4060907
3
bookmarklets/alternative.js
Normal file
3
bookmarklets/alternative.js
Normal file
@ -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];}})();
|
Loading…
Reference in New Issue
Block a user