tweak: savepoint
This commit is contained in:
parent
52aacc6dac
commit
0ba58087e0
4
config.h
4
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
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef STYLE
|
||||
#define STYLE
|
||||
|
||||
#define STYLE_N 1505 + 1
|
||||
#define STYLE_N 1610 + 1
|
||||
|
||||
void read_style_js(char* string);
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user