From a6e941153725d02f78c680c25945b62d2f1286e7 Mon Sep 17 00:00:00 2001 From: Phantop Date: Thu, 7 May 2020 12:24:04 -0400 Subject: [PATCH] Qute: new discord, timer, dotepub --- .config/qutebrowser/autoconfig.yml | 4 ++++ .config/qutebrowser/quickmarks | 2 +- .local/share/qutebrowser/greasemonkey/discord.js | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.config/qutebrowser/autoconfig.yml b/.config/qutebrowser/autoconfig.yml index a03fee8..d51f7de 100755 --- a/.config/qutebrowser/autoconfig.yml +++ b/.config/qutebrowser/autoconfig.yml @@ -28,6 +28,7 @@ settings: sca: spawn -u switchadapta scd: spawn -u switchdark sd: spawn -u open_download + se: open javascript:(function()%7Btry%7Bvar%20d=document,w=window;if(!d.body%7C%7Cd.body.innerHTML=='')throw(0);var%20s=d.createElement('link'),h=d.getElementsByTagName('head')[0],i=d.createElement('div'),j=d.createElement('script');s.rel='stylesheet';s.href='//dotepub.com/s/dotEPUB-favlet.css';s.type='text/css';s.media='screen';h.appendChild(s);i.setAttribute('id','dotepub');i.innerHTML='%3Cdiv%20id=%22status%22%3E%3Cp%3EConversion%20in%20progress...%3C/p%3E%3C/div%3E';d.body.appendChild(i);j.type='text/javascript';j.charset='utf-8';j.src='//dotepub.com/j/dotepub.js?v=1.2&s=0&t=epub&g=en';h.appendChild(j);%7Dcatch(e)%7Bw.alert('The%20page%20has%20no%20content%20or%20it%20is%20not%20fully%20loaded.%20Please,%20wait%20till%20the%20page%20is%20loaded.');%7D%7D)(); sq: open qr {url} st: spawn -u switchtor sw: open https://webrecorder.io/record/{url} @@ -149,6 +150,7 @@ settings: content.cookies.accept: global: no-3rdparty content.desktop_capture: + https://discord.com: true https://discordapp.com: true content.dns_prefetch: global: true @@ -183,6 +185,7 @@ settings: content.javascript.modal_dialog: global: true content.media_capture: + https://discord.com: true https://discordapp.com: true content.notifications: https://play.pokemonshowdown.com: true @@ -322,6 +325,7 @@ settings: - https://mangadex.org/follows - https://classroom.google.com/u/1/h - https://piazza.com/class/k03sfh8l68a4hw + - https://duckduckgo.com/?q=20%20min%20timer url.yank_ignored_parameters: global: - ref diff --git a/.config/qutebrowser/quickmarks b/.config/qutebrowser/quickmarks index 38950c5..5ef444f 100755 --- a/.config/qutebrowser/quickmarks +++ b/.config/qutebrowser/quickmarks @@ -1,7 +1,7 @@ -discord https://discordapp.com/channels/@me docs https://docs.google.com/document/u/1/ class https://classroom.google.com/u/1/ drive https://drive.google.com/drive/u/1/ tuta https://mail.tutanota.com/ book http://localhost:2020/.disk/mnt/LocalDiskD/Source/site/epub/ turnips https://elxris.github.io/Turnip-Calculator/ +discord https://discord.com/channels/@me diff --git a/.local/share/qutebrowser/greasemonkey/discord.js b/.local/share/qutebrowser/greasemonkey/discord.js index 96e31cb..1d90d98 100644 --- a/.local/share/qutebrowser/greasemonkey/discord.js +++ b/.local/share/qutebrowser/greasemonkey/discord.js @@ -8,6 +8,10 @@ // @include https://discordapp.com/* // @include http://*.discordapp.com/* // @include https://*.discordapp.com/* +// @include http://discord.com/* +// @include https://discord.com/* +// @include http://*.discord.com/* +// @include https://*.discord.com/* // @run-at document-start // @version 0.20200206055911 // ==/UserScript==