Skip to content

Instantly share code, notes, and snippets.

@jpluimers
Last active November 10, 2019 00:34
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jpluimers/360ab00bd3c913c7c5ecb3767e397d44 to your computer and use it in GitHub Desktop.
Save jpluimers/360ab00bd3c913c7c5ecb3767e397d44 to your computer and use it in GitHub Desktop.
Ideas/inspiration for writing a proper WayBack archive.org bookmarklet

http://www.bookmarklets.com/tools/new.html

  • go-wayback:

    javascript:location.href='http://web.archive.org/web/*/'+location.href.replace(/res:[^#]*#/,'');void(null)
    
  • wayback-undo:

    javascript:location.href=location.href.replace(/http:\/\/web.archive.org\/web\/[^/]*\//,'http://');void(null)
    
  • wayback-analyse:

    javascript:if(location.href.indexOf('http://web.archive.org/web/*')==0){h='';x=new ActiveXObject('Microsoft.XMLHTTP');W=open('','','width=500,height=300,scrollbars,resizable,status');W.status='Looking...';L=document.links;for(i=0;i<L.length;i++){if(L[i].href.lastIndexOf('http:')>1)try{x.open('GET',L[i].href,false);x.send();r=x.responseText;h+=r.length+' - '+L[i].innerText.link(L[i].href)+'<br>';W.document.body.innerHTML=h}catch(e){}}W.status='Done'}else{alert('Go Wayback first')}void(null)
    

http://www.gyford.com/misc/wayback.html

  • WayBack:

    javascript:location.href='http://web.archive.org/web/*/'+document.location.href;
    

https://that1archive.neocities.org/tools/bookmarklets.html

  • Archive.is:

    javascript:void(open('https://archive.is/?run=1&url='+encodeURIComponent(document.location)))
    
  • FreezePage:

    javascript:void(window.open('http://www.freezepage.com/?button=1&url='+encodeURIComponent(window.location.href)+'&name='+encodeURIComponent(document.title)));
    
  • WayBack:

    javascript:(function(){location.href='http://web.archive.org/save/'+(location.href);})();
    
  • WebCite (requires e-mail address at youremail@here.com):

    javascript:void(location.href='http://www.webcitation.org/archive?url='+encodeURIComponent(document.location)+'&email=youremail@here.com')
    

https://support.mozilla.org/en-US/questions/920273

  • WayBack:

    javascript:{var%20url=location.href;void(window.open("http://wayback.archive.org/web/*/"+url));}
    

http://stackoverflow.com/questions/19778064/posting-to-wayback-machine-via-bookmarklet

  • WayBack:

    need to check this out

http://www.bitsgalore.org/2014/08/02/How-to-save-a-web-page-to-the-Internet-Archive/

  • WayBack save:

    javascript:location.href='http://web.archive.org/save/'+location.href
    

https://whyweprotest.net/threads/how-to-get-the-wayback-machine-to-instantly-archive-updates-to-your-web-page.112593/

  • WayBack liveweb:

    javascript:void(location.href='http://web.archive.org/liveweb/'+location.href);
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment