diff --git a/bootstrap.js b/bootstrap.js index 926e8c0..6c534b7 100644 --- a/bootstrap.js +++ b/bootstrap.js @@ -147,8 +147,9 @@ function loadIntoWindow(window) { (n) => 'install.rdf' === n.textContent.trim())) { let n = doc.querySelector('a.minibutton:nth-child(6)'); + if(!n)n=doc.querySelector('a.minibutton:nth-child(5)'); - if(n.textContent.trim() === 'Download ZIP') { + if(n && n.textContent.trim() === 'Download ZIP') { let p = n.parentNode; n = n.cloneNode(!0); diff --git a/install.rdf b/install.rdf index 6538313..cd88017 100644 --- a/install.rdf +++ b/install.rdf @@ -4,7 +4,7 @@ {86054B0A-BD85-42F9-8E58-8794EC6F6EA1} 2 GitHub Extension Installer - 1.1.0 + 1.2.0 Diego Casorran <dcasorran@gmail.com> Install Browser Extensions straight from GitHub Repositories true