2018-11-15 01:01:37 +00:00
// ==UserScript==
2019-09-21 21:41:28 +00:00
// @name Discord Simple Clear
2018-11-15 01:01:37 +00:00
// @namespace http://userstyles.org
2019-09-21 21:41:28 +00:00
// @description Simple CSS for customizable background and bg opacity. Popular discord styles usually don't work/get abandoned for some reason ??? so I made this one which should be easy to update.
// @author birb-naise
// @homepage https://userstyles.org/styles/175085
2018-11-15 01:01:37 +00:00
// @include http://discordapp.com/*
// @include https://discordapp.com/*
// @include http://*.discordapp.com/*
// @include https://*.discordapp.com/*
// @run-at document-start
2020-02-05 01:43:29 +00:00
// @version 0.20200125081942
2018-11-15 01:01:37 +00:00
// ==/UserScript==
( function ( ) { var css = [
2019-09-21 21:41:28 +00:00
"/* ------BACKGROUND------ */" ,
"body {" ,
2020-02-05 01:43:29 +00:00
" background: url(\"https://cdn.discordapp.com/attachments/610991459323084801/625107142092783616/moon3.png\");" ,
2019-09-21 21:41:28 +00:00
" background-size: cover;" ,
"}" ,
".appMount-3lHmkl {" ,
" background: rgba(0, 0, 0, .6);" ,
"}" ,
"" ,
"/* ------REMOVE GREY/WHITE BG COLORS------ */" ,
".theme-dark," ,
".theme-light {" ,
" --header-primary: #fff;" ,
" --header-secondary: #b9bbbe;" ,
" --text-normal: #dcddde;" ,
" --text-muted: #9d9d9d;" ,
" --channels-default: #8e9297;" ,
" --interactive-normal: #b9bbbe;" ,
" --interactive-hover: #dcddde;" ,
" --interactive-active: #fff;" ,
" --interactive-muted: #4f545c;" ,
" --background-primary: transparent;" ,
" --background-secondary: transparent;" ,
" --background-tertiary: transparent;" ,
" --background-floating: rgba(0, 0, 0, .8);" ,
" --channeltextarea-background: transparent;" ,
" --deprecated-panel-background: transparent;" ,
2020-02-05 01:43:29 +00:00
" --background-modifier-hover: rgba(0, 0, 0, .42);" ,
" --background-modifier-selected: rgba(0, 0, 0, .45);" ,
2019-09-21 21:41:28 +00:00
"}" ,
"" ,
2020-02-05 01:43:29 +00:00
"/* ------POP-UP------ */" ,
".modal-yWgWj-," ,
".footer-3rDWdC {" ,
" background: rgba(0, 0, 0, .5) !important;" ,
"}" ,
"" ,
"" ,
2019-09-21 21:41:28 +00:00
"/*remove borders*/" ,
".header-2o-2hj," ,
2020-02-05 01:43:29 +00:00
".searchBar-6Kv8R2," ,
".content-yTz4x3::before {" ,
2019-09-21 21:41:28 +00:00
" box-shadow: none !important;" ,
"}" ,
"" ,
"/*misc*/" ,
2020-02-05 01:43:29 +00:00
".container-1D34oG, /*friends list*/" ,
2019-09-21 21:41:28 +00:00
".scrollbar-2rkZSL, /*scrollbar*/" ,
".pad-29zQak," ,
".track-1JN30G {" ,
" background: transparent !important;" ,
"}" ,
"" ,
"/* ------SCROLLBAR------ */" ,
".scrollbar-2rkZSL {" ,
" width: 8px;" ,
"}" ,
".thumb-2JwNFC {" ,
" background: rgba(0, 0, 0, .5) !important;" ,
"}" ,
".track-1JN30G," ,
".thumb-2JwNFC {" ,
" border: none !important;" ,
"}" ,
"" ,
"/* ------EMBEDDED TEXT------ */" ,
".embedProvider-3k5pfl," ,
".embedDescription-1Cuq9a," ,
".embedFields-2IPs5Z," ,
".embedAuthorName-3mnTWj," ,
".embedFooterText-28V_Wb {" ,
" color: #f2f2f2 !important;" ,
"}"
2018-11-15 01:01:37 +00:00
] . join ( "\n" ) ;
if ( typeof GM _addStyle != "undefined" ) {
GM _addStyle ( css ) ;
} else if ( typeof PRO _addStyle != "undefined" ) {
PRO _addStyle ( css ) ;
} else if ( typeof addStyle != "undefined" ) {
addStyle ( css ) ;
} else {
var node = document . createElement ( "style" ) ;
node . type = "text/css" ;
node . appendChild ( document . createTextNode ( css ) ) ;
var heads = document . getElementsByTagName ( "head" ) ;
if ( heads . length > 0 ) {
heads [ 0 ] . appendChild ( node ) ;
} else {
// no head yet, stick it whereever
document . documentElement . appendChild ( node ) ;
}
}
} ) ( ) ;