From 646f5fc9c2f2afc4a97586775bd4bfd1cea86a1f Mon Sep 17 00:00:00 2001 From: diegocr Date: Wed, 23 Oct 2013 00:28:23 +0000 Subject: [PATCH] Fixed for non-logged users... --- bootstrap.js | 3 ++- install.rdf | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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