don't show brave download button

This commit is contained in:
NunoSempere 2024-09-19 15:40:27 +02:00
parent 5e3cab2a63
commit 82584d6a59
3 changed files with 4 additions and 3 deletions

View File

@ -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 8675 + 1000 #define STYLE_N 8692 + 1000
void read_style_js(char* string) void read_style_js(char* string)
{ {

View File

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

View File

@ -59,7 +59,8 @@ switch (document.domain) {
case "search.brave.com": case "search.brave.com":
styles = ` styles = `
.download-button, .download-button,
a[href^="https://brave.com/download/"] { a[href^="https://brave.com/download/"], .download-cta
{
display: none !important; display: none !important;
} }
`; `;