Bookmarklet to download latest Chromium nightly build


/ Published in: JavaScript
Save to your folder(s)

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


Copy this code and paste it in your HTML
  1. 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);
  2.  
  3. // formatted
  4. javascript:
  5. var c=new XMLHttpRequest();
  6. c.onreadystatechange=function(){
  7. if(this.readyState==4&&this.status==200){
  8. document.location.assign('http://build.chromium.org/buildbot/snapshots/chromium-rel-xp/'+this.responseText+'/chrome-win32.zip');
  9. }
  10. }
  11. ;
  12. c.open('GET','http://build.chromium.org/buildbot/snapshots/chromium-rel-xp/LATEST',true);
  13. c.send(null);

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.