init mostly

This commit is contained in:
2026-03-24 13:38:04 +01:00
parent 5a854f0398
commit bbb0830229
3 changed files with 51 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 225 B

+28
View File
@@ -0,0 +1,28 @@
{
"manifest_version": 2,
"name": "Sexy Neptun",
"version": "1.0",
"description": "Re-adds the theme selection to the NEPTUN system",
"icons": {
"48": "icons/border-48.png"
},
"browser_specific_settings": {
"gecko": {
"id": "beastify@mozilla.org",
"data_collection_permissions": {
"required": ["none"]
}
}
},
"content_scripts": [
{
"matches": ["*://neptun.bme.hu/*"],
"js": ["pink.js"]
}
]
}
+23
View File
@@ -0,0 +1,23 @@
function sleep(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
async function waiting()
{
while (!document.body.contains(document.getElementById("mat-expansion-panel-header-3"))) {
sleep(100);
}
}
//waiting();
console.log('megva');
footer = document.getElementsByClassName('footer');
console.log(footer.length);
for (let i = 0; i < footer.length; i++) {
footer[i].style.backgroundColor = '#e4007c';
}