snippets/bookmarklets/archive.js

3 lines
268 B
JavaScript
Raw Normal View History

//Is the current website archived ?
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='http://web.archive.org/web/*/'+location.href;}})();