don't show brave donwload button

master
NunoSempere 2 months ago
parent 136ad04678
commit 70849e74d6

@ -1,7 +1,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#define STYLE_N 7653 + 1000 #define STYLE_N 7827 + 1000
void read_style_js(char* string) void read_style_js(char* string)
{ {

@ -1,5 +1,5 @@
#pragma once #pragma once
#define STYLE_N 7653 + 1000 #define STYLE_N 7827 + 1000
void read_style_js(char* string); void read_style_js(char* string);

@ -54,6 +54,14 @@ switch (document.domain) {
} }
`; `;
break; break;
case "search.brave.com":
styles = `
.download-button,
a[href^="https://brave.com/download/"] {
display: none !important;
}
`;
break;
case "search.nunosempere.com": case "search.nunosempere.com":
styles = ` styles = `
/* /*

Loading…
Cancel
Save