From 0ba58087e05dc16b1b163de5818bc2e6ef14ecef Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Sat, 29 Apr 2023 18:33:09 -0400 Subject: tweak: savepoint --- plugins/style/style.c | 2 +- plugins/style/style.h | 2 +- plugins/style/style.js | 8 +++++++- 3 files changed, 9 insertions(+), 3 deletions(-) (limited to 'plugins/style') diff --git a/plugins/style/style.c b/plugins/style/style.c index 347ee3f..9398649 100644 --- a/plugins/style/style.c +++ b/plugins/style/style.c @@ -1,7 +1,7 @@ #include #include #include -#define STYLE_N 1505 + 1 +#define STYLE_N 1610 + 1 void read_style_js(char* string) { diff --git a/plugins/style/style.h b/plugins/style/style.h index ab69b64..ce2a8a1 100644 --- a/plugins/style/style.h +++ b/plugins/style/style.h @@ -1,7 +1,7 @@ #ifndef STYLE #define STYLE -#define STYLE_N 1505 + 1 +#define STYLE_N 1610 + 1 void read_style_js(char* string); diff --git a/plugins/style/style.js b/plugins/style/style.js index 23f68a6..a0cd7c0 100644 --- a/plugins/style/style.js +++ b/plugins/style/style.js @@ -45,7 +45,13 @@ if (document.domain == "forum.nunosempere.com" ){ } ` } - +if (document.domain == "search.nunosempere.com" ){ + styles = ` + footer { + display: none; + } + ` +} if(styles != null){ var styleSheet = document.createElement('style') styleSheet.innerText = styles -- cgit v1.2.3