Return to Snippet

Revision: 13202
at April 14, 2009 06:36 by angusdev


Initial Code
javascript:var c=new XMLHttpRequest();c.onreadystatechange=function(){if(this.readyState==4&&this.status==200){document.location.assign('http://build.chromium.org/buildbot/snapshots/chromium-rel-xp/'+this.responseText+'/chrome-win32.zip');}};c.open('GET','http://build.chromium.org/buildbot/snapshots/chromium-rel-xp/LATEST',true);c.send(null);

// formatted
javascript:
var c=new XMLHttpRequest();
c.onreadystatechange=function(){
  if(this.readyState==4&&this.status==200){
    document.location.assign('http://build.chromium.org/buildbot/snapshots/chromium-rel-xp/'+this.responseText+'/chrome-win32.zip');
  }
}
;
c.open('GET','http://build.chromium.org/buildbot/snapshots/chromium-rel-xp/LATEST',true);
c.send(null);

Initial URL

                                

Initial Description
Only works in new tab, because of limitation of cross-domain AJAX

Initial Title
Bookmarklet to download latest Chromium nightly build

Initial Tags
javascript

Initial Language
JavaScript