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
Raw Normal View History

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