Skip to content

Commit

Permalink
Fixed issue with Purdue account login not being clicked.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Scholer committed Jan 22, 2019
1 parent 4671b77 commit 812ebd8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion content.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 812ebd8

Please sign in to comment.