aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorNunoSempere <nuno.sempere@protonmail.com>2023-06-17 00:40:05 -0600
committerNunoSempere <nuno.sempere@protonmail.com>2023-06-17 00:40:05 -0600
commit5b1aab5e0c6239547b02bbfcde9107e0885299fa (patch)
tree879fff988a3489519919d1aa94ee88c88357812b /plugins
parent98f6d5630f6be4f955e308a5c1a91749f8cf7300 (diff)
time how long it takes to add the alert (negligible) + readme
Diffstat (limited to 'plugins')
-rw-r--r--plugins/style/style.c2
-rw-r--r--plugins/style/style.h2
-rw-r--r--plugins/style/style.js4
3 files changed, 4 insertions, 4 deletions
diff --git a/plugins/style/style.c b/plugins/style/style.c
index 7f0d3e4..97e5bf9 100644
--- a/plugins/style/style.c
+++ b/plugins/style/style.c
@@ -1,7 +1,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#define STYLE_N 3858 + 1
+#define STYLE_N 3943 + 1
void read_style_js(char* string)
{
diff --git a/plugins/style/style.h b/plugins/style/style.h
index 3a2cdc9..5238b47 100644
--- a/plugins/style/style.h
+++ b/plugins/style/style.h
@@ -1,7 +1,7 @@
#ifndef STYLE
#define STYLE
-#define STYLE_N 3858 + 1
+#define STYLE_N 3943 + 1
void read_style_js(char* string);
diff --git a/plugins/style/style.js b/plugins/style/style.js
index 4f917ad..876c345 100644
--- a/plugins/style/style.js
+++ b/plugins/style/style.js
@@ -127,7 +127,7 @@ window.alert = (message) => {
document.getElementById('alertMessage').textContent = message;
alertDiv.classList.add('visible');
}
+// ^ takes 0.014ms to run, so performance is not the concern here.
+// timed with console.time, console.timeEnd
-
-// alert("Hello world!")
document.body.style.visibility = "visible"