1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-01 04:14:23 +00:00
dotfiles/config/qutebrowser/greasemonkey/discord.js

25 lines
912 B
JavaScript

// ==UserScript==
// @name DisClear
// @homepage https://github.com/birb-naise/discord-simple-clear
// @include https://*.discord.com/*
// ==/UserScript==
const style = document.createElement('style')
document.head.appendChild(style)
style.innerHTML = `.theme-dark, .theme-light {
--background-primary: transparent;
--background-secondary: transparent;
--background-secondary-alt: transparent;
--background-tertiary: transparent;
--background-floating: rgba(0, 0, 0, .6);
--channeltextarea-background: transparent;
--font-primary: "Ubuntu Mono";
}
.container-2cd8Mz, .searchBar-3TnChZ, .listItemWrapper-3d87LP,
[aria-label="Help"], [aria-label="Inbox"], [aria-label="Send a gift"],
[href="/store"], [href="/channels/@me"] {display: none}
body {background: url(
"https://cdn.discordapp.com/attachments/773556458234052608/929383713932992512/0dKbZO5-16-9.webp"
)}`