Posted By

angusdev on 04/14/09


Tagged

javascript chrome chromium


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

umang_nine


Bookmarklet to download latest Chromium nightly build


 / Published in: JavaScript
 

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

  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  

You need to login to post a comment.