-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
94 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// Get all elements with the "display:none" property | ||
const hiddenElements = document.querySelectorAll("[style*='display:none']"); | ||
|
||
// Loop through each hidden element and remove its "display:none" property | ||
hiddenElements.forEach(function(element) { | ||
element.style.display = ""; | ||
}); | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"name": "NIET Attendance Viewer", | ||
"version": "1.1", | ||
"manifest_version": 2, | ||
"description": "A Chrome extension that helps to display Attendance which is hidden by default.", | ||
"content_scripts": [ | ||
{ | ||
"matches": ["https://niet.instituteoncloud.com/AttendanceReport/StudentAcademicAttendance"], | ||
"js": ["content.js"] | ||
} | ||
], | ||
"browser_action": { | ||
"default_icon": "icons.png", | ||
"default_title": "NIET Attendance Viewer", | ||
"default_popup": "popup.html" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
.popup-container { | ||
width: 256px; | ||
height: 256px; | ||
padding: 16px; | ||
background-color: #FDF4F5; | ||
animation: mymove 3s infinite; | ||
border-radius: 8px; | ||
} | ||
@keyframes mymove { | ||
50% {box-shadow: 8px 8px 8px rgba(207, 122, 177, 0.50);} | ||
} | ||
|
||
.popup-header { | ||
display: flex; | ||
align-items: center; | ||
margin-bottom: 16px; | ||
} | ||
|
||
.popup-header img { | ||
width: 48px; | ||
height: 48px; | ||
margin-right: 16px; | ||
} | ||
|
||
.popup-header h1 { | ||
font-size: 28px; | ||
font-weight: bold; | ||
margin: 0; | ||
} | ||
|
||
.popup-content { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
|
||
.popup-content p { | ||
font-size: 15px; | ||
margin-bottom: 15px; | ||
} | ||
|
||
.popup-content a { | ||
color: #0d9eab; | ||
font-size: 20px; | ||
text-decoration: none; | ||
margin-bottom: 3px; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>NIET Attendance Viewer</title> | ||
<link rel="stylesheet" href="popup.css"> | ||
</head> | ||
<body> | ||
<div class="popup-container"> | ||
<div class="popup-header"> | ||
<h1>Attendance Viewer</h1> | ||
</div> | ||
<p align="center"><img src="icons.png" alt="Extension Icon" width = "50%"> </p> | ||
<p align ="center" style="color:rgb(0, 0, 0);font-size:18px;">Have a Good Day!</p> | ||
<div class="popup-content"></div> | ||
<p align = "right"><a href="https://github.com/krsatyam7" target="_blank"><img src="github.png" width = "06%"> krsatyam7</a></p> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |