init mostly
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 225 B |
@@ -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"]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -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';
|
||||
}
|
||||
Reference in New Issue
Block a user