aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNunoSempere <nuno.sempere@protonmail.com>2023-04-29 18:33:09 -0400
committerNunoSempere <nuno.sempere@protonmail.com>2023-04-29 18:33:09 -0400
commit0ba58087e05dc16b1b163de5818bc2e6ef14ecef (patch)
treea3a9bfca8c71efbe765f4f5a71480e29733a080c
parent52aacc6dac6fa2b7876f65b3bafa22d01bec99f8 (diff)
tweak: savepoint
-rw-r--r--config.h4
-rw-r--r--plugins/style/style.c2
-rw-r--r--plugins/style/style.h2
-rw-r--r--plugins/style/style.js8
4 files changed, 11 insertions, 5 deletions
diff --git a/config.h b/config.h
index 5dae72c..d8aaca9 100644
--- a/config.h
+++ b/config.h
@@ -8,9 +8,9 @@
"enable-smooth-scrolling", false
#define GTK "gtk-application-prefer-dark-theme", false, "gtk-enable-animations", false
-#define ROSE_HOMEPAGE true
-#define HOME ROSE_HOMEPAGE ? "file:///home/loki/Documents/core/software/fresh/C/rose-browser/rosenrot/user-scripts/ubuntu-20.04/rose-images/rose-homepage.png" : "https://lite.duckduckgo.com/html"
+#define ROSE_HOMEPAGE false
#define SEARCH "https://search.nunosempere.com/search?q=%s" // "https://lite.duckduckgo.com/html/?q=%s"
+#define HOME ROSE_HOMEPAGE ? "file:///home/loki/Documents/core/software/fresh/C/rose-browser/rosenrot/user-scripts/ubuntu-20.04/rose-images/rose-homepage.png" : "https://search.nunosempere.com/"
#define CACHE_DIR "/home/loki/.cache/rose"
#define WIDTH 1920
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 <stdio.h>
#include <stdlib.h>
#include <string.h>
-#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