From 812ebd8012c6d606ab50e2db4707e5a77fc94670 Mon Sep 17 00:00:00 2001 From: Ben Scholer Date: Tue, 22 Jan 2019 10:33:18 -0500 Subject: [PATCH] Fixed issue with Purdue account login not being clicked. --- content.js | 2 +- manifest.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content.js b/content.js index c68cade..b71e4e2 100644 --- a/content.js +++ b/content.js @@ -6,7 +6,7 @@ */ //Click on the "Purdue Account Login" button -if (window.location.href.startsWith("https://mycourses.purdue.edu/webapps/login/") === true +if (window.location.href.startsWith("https://mycourses.purdue.edu/") === true && document.getElementsByClassName("purdue-btn-bottom-row")[0] !== null) { document.getElementsByClassName("purdue-btn-bottom-row")[0].click(); } diff --git a/manifest.json b/manifest.json index 572efd8..15304ce 100644 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,7 @@ "name": "BoilerKey Helper", "description": "An extension that alleviates Purdue's BoilerKey two-factor authentication.", "author": "Ben Scholer", - "version": "1.7.1", + "version": "1.7.2", "icons": { "16": "icons/icon16.png", "48": "icons/icon48.png",