diff --git a/logger.js b/logger.js
index d70a422..8e88555 100644
--- a/logger.js
+++ b/logger.js
@@ -12,27 +12,25 @@ chrome.runtime.sendMessage('getPassword', (password) => {
$(document).ready(function () {
var url = window.location.href;
- if (url == 'https://lms.iiitkottayam.ac.in/')
+ if (url == 'https://lms.iiitkottayam.ac.in/' || url == 'https://lmsone.iiitkottayam.ac.in/')
document.getElementsByClassName('btn-login')[0].click();
-
- if (url == 'https://lms.iiitkottayam.ac.in/login/index.php' || url == 'https://lms.iiitkottayam.ac.in/login/index.php/#') {
+ if (url == 'https://lms.iiitkottayam.ac.in/login/index.php' || url == 'https://lms.iiitkottayam.ac.in/login/index.php/#' || url == 'https://lmsone.iiitkottayam.ac.in/login/index.php' || url == 'https://lmsone.iiitkottayam.ac.in/login/index.php/#') {
document.getElementById('username').value = replaceusername;
document.getElementById('password').value = replacepassword;
document.getElementsByClassName('btn btn-primary btn-block mt-3')[0].click();
}
- if (url.includes('?reason=AutoJoomer')){
+ if (url.includes('?reason=AutoJoomer')) {
var btn = document.getElementById("join_button_input");
-
- var timerId = setInterval(function(){
- if(btn){
- btn.click();
- clearInterval(timerId);
- }
- else{
- btn = document.getElementById("join_button_input");
- }
+
+ var timerId = setInterval(function () {
+ if (btn) {
+ btn.click();
+ clearInterval(timerId);
+ } else {
+ btn = document.getElementById("join_button_input");
+ }
}, 1000);
}
})
\ No newline at end of file
diff --git a/manifest.json b/manifest.json
index ca5ab4b..ec9cc53 100644
--- a/manifest.json
+++ b/manifest.json
@@ -23,8 +23,9 @@
"matches": [
"https://lms.iiitkottayam.ac.in/",
"https://lms.iiitkottayam.ac.in/login/index.php",
- "https://lms.iiitkottayam.ac.in/login/index.php/#",
- "https://lms.iiitkottayam.ac.in/mod/bigbluebuttonbn/*"
+ "https://lms.iiitkottayam.ac.in/login/index.php/*",
+ "https://lms.iiitkottayam.ac.in/mod/bigbluebuttonbn/*",
+ "https://lmsone.iiitkottayam.ac.in/*"
],
"js": [
"jquery.js",
diff --git a/popup.html b/popup.html
index ad5989f..8b77bd1 100644
--- a/popup.html
+++ b/popup.html
@@ -42,6 +42,7 @@
color: white;
background: none;
border: 0;
+ width: fit-content;
}
select:focus {
@@ -55,7 +56,7 @@
label {
color: white;
- font-size: 110%;
+ font-size: 100%;
}
.switch {
@@ -130,11 +131,21 @@