don't show brave donwload button

This commit is contained in:
NunoSempere 2024-03-24 07:44:44 -04:00
parent 136ad04678
commit 70849e74d6
3 changed files with 10 additions and 2 deletions

View File

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

View File

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

View File

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