Hide Download Desktop app button
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import "./hideGarbage.css";
|
||||
|
||||
// Make clicking Notifications focus the window
|
||||
const originalSetOnClick = Object.getOwnPropertyDescriptor(Notification.prototype, "onclick")!.set!;
|
||||
Object.defineProperty(Notification.prototype, "onclick", {
|
||||
|
||||
5
src/renderer/hideGarbage.css
Normal file
5
src/renderer/hideGarbage.css
Normal file
@@ -0,0 +1,5 @@
|
||||
/* Download Desktop button in guilds list */
|
||||
[class|=listItem]:has([data-list-item-id=guildsnav___app-download-button]),
|
||||
[class|=listItem]:has(+ [class|=listItem] [data-list-item-id=guildsnav___app-download-button]) {
|
||||
display: none;
|
||||
}
|
||||
Reference in New Issue
Block a user