mirror of
https://github.com/Phantop/dotfiles
synced 2024-10-31 20:04:18 +00:00
qute: dark mode with whitelist!
This commit is contained in:
parent
be4bda5326
commit
69b6673a91
|
@ -10,12 +10,14 @@ c.url.searchengines['y'] = "vid.puffyan.us/search?q={}"
|
|||
|
||||
c.url.open_base_url = True
|
||||
c.content.fullscreen.window = True
|
||||
c.colors.webpage.darkmode.enabled = True
|
||||
|
||||
c.tabs.show = "multiple"
|
||||
c.confirm_quit = ["downloads"]
|
||||
c.qt.force_platformtheme = "gtk2"
|
||||
c.content.cookies.accept = "no-3rdparty"
|
||||
c.colors.webpage.preferred_color_scheme = 'dark'
|
||||
c.colors.webpage.darkmode.policy.images = 'never'
|
||||
|
||||
c.aliases['re'] = 'restart'
|
||||
c.aliases['mpv'] = 'spawn -mdv mpv --ytdl-raw-options=sub-lang=en'
|
||||
|
|
|
@ -12,6 +12,5 @@ document.querySelectorAll('li.blurb').forEach(b=>{
|
|||
b=document.createElement('a')
|
||||
c=document.getElementsByTagName('option')
|
||||
i=document.getElementsByClassName('chapter')[2]
|
||||
b.innerText = 'Latest Chapter →'
|
||||
b.href = c[c.length-1].value
|
||||
i.parentElement.insertBefore(b, i)
|
||||
i.parentElement.insertBefore(b, i).innerText = 'Latest Chapter →'
|
||||
|
|
|
@ -3,9 +3,8 @@
|
|||
// @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 {
|
||||
document.head.appendChild(document.createElement('style')).innerHTML=`
|
||||
.theme-dark, .theme-light {
|
||||
--background-primary: transparent;
|
||||
--background-secondary: transparent;
|
||||
--background-secondary-alt: transparent;
|
||||
|
|
|
@ -2,6 +2,5 @@
|
|||
// @name BetterTTV
|
||||
// @include https://www.twitch.tv/*
|
||||
// ==/UserScript==
|
||||
s = document.createElement("script")
|
||||
s.src = "https://cdn.betterttv.net/betterttv.js"
|
||||
document.head.appendChild(s)
|
||||
document.head.appendChild(document.createElement("script")).src=
|
||||
"https://cdn.betterttv.net/betterttv.js"
|
||||
|
|
12
config/qutebrowser/greasemonkey/white.js
Normal file
12
config/qutebrowser/greasemonkey/white.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
// ==UserScript==
|
||||
// @match
|
||||
// @match https://*.discord.com/*
|
||||
// @match https://mail.tutanota.com/*
|
||||
// @match https://teddit.net/*
|
||||
// @match https://archiveofourown.org/*
|
||||
// @match https://drop.lol/*
|
||||
// ==/UserScript==
|
||||
const meta = document.createElement('meta');
|
||||
meta.name = "color-scheme";
|
||||
meta.content = "dark light";
|
||||
document.head.appendChild(meta);
|
Loading…
Reference in a new issue