don't show brave download button
This commit is contained in:
parent
5e3cab2a63
commit
82584d6a59
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user