fixing the qutebrowser things
This commit is contained in:
parent
17cf1ad077
commit
bc650b26fb
|
@ -2503,13 +2503,13 @@ config.bind(
|
||||||
)
|
)
|
||||||
|
|
||||||
config.bind(
|
config.bind(
|
||||||
"<Ctrl-Shift-=>",
|
"<Ctrl-=>",
|
||||||
"jseval document.querySelector('video, audio').playbackRate = document.querySelector('video, audio').playbackRate + 0.5"
|
"clear-messages ;; jseval document.querySelector('video, audio').playbackRate = document.querySelector('video, audio').playbackRate + 0.5"
|
||||||
)
|
)
|
||||||
|
|
||||||
config.bind(
|
config.bind(
|
||||||
"<Ctrl-Shift-+>",
|
"<Ctrl-Shift-+>",
|
||||||
"jseval document.querySelector('video, audio').playbackRate = document.querySelector('video, audio').playbackRate - 0.5"
|
"clear-messages ;; jseval document.querySelector('video, audio').playbackRate = document.querySelector('video, audio').playbackRate - 0.5"
|
||||||
)
|
)
|
||||||
|
|
||||||
config.bind("gt", 'hint links spawn --detach transadd "{hint-url}"')
|
config.bind("gt", 'hint links spawn --detach transadd "{hint-url}"')
|
||||||
|
|
|
@ -97,7 +97,7 @@ let tumblr = [true, false];
|
||||||
let twitch = [true, true];
|
let twitch = [true, true];
|
||||||
let twitter = [true, true];
|
let twitter = [true, true];
|
||||||
let wikipedia = [true, false];
|
let wikipedia = [true, false];
|
||||||
let youtube = [true, false];
|
let youtube = [true, true];
|
||||||
|
|
||||||
// PREFERRED FRONTEND
|
// PREFERRED FRONTEND
|
||||||
let youtubeFrontend = "invidious"; // accepts "invidious", "piped", "tubo", "freetube"
|
let youtubeFrontend = "invidious"; // accepts "invidious", "piped", "tubo", "freetube"
|
||||||
|
@ -203,27 +203,27 @@ const Instances = {
|
||||||
invidious: [
|
invidious: [
|
||||||
"inv.cochrun.xyz",
|
"inv.cochrun.xyz",
|
||||||
"yewtu.be",
|
"yewtu.be",
|
||||||
"vid.puffyan.us",
|
// "vid.puffyan.us",
|
||||||
"yt.artemislena.eu",
|
// "yt.artemislena.eu",
|
||||||
"invidious.flokinet.to",
|
// "invidious.flokinet.to",
|
||||||
"invidious.projectsegfau.lt",
|
// "invidious.projectsegfau.lt",
|
||||||
"invidious.privacydev.net",
|
// "invidious.privacydev.net",
|
||||||
"iv.ggtyler.dev",
|
// "iv.ggtyler.dev",
|
||||||
"invidious.lunar.icu",
|
// "invidious.lunar.icu",
|
||||||
"inv.tux.pizza",
|
// "inv.tux.pizza",
|
||||||
"invidious.protokolla.fi",
|
// "invidious.protokolla.fi",
|
||||||
"proxied.invidious.fi",
|
// "proxied.invidious.fi",
|
||||||
"onion.tube",
|
// "onion.tube",
|
||||||
"invidious.no-logs.com",
|
// "invidious.no-logs.com",
|
||||||
"invidious.io.lol",
|
// "invidious.io.lol",
|
||||||
"iv.nboeck.de",
|
// "iv.nboeck.de",
|
||||||
"invidious.private.coffee",
|
// "invidious.private.coffee",
|
||||||
"invidious.asir.dev",
|
// "invidious.asir.dev",
|
||||||
"iv.datura.network",
|
// "iv.datura.network",
|
||||||
"invidious.perennialte.ch",
|
// "invidious.perennialte.ch",
|
||||||
"yt.cdaut.de",
|
// "yt.cdaut.de",
|
||||||
"invidious.einfachzocken.eu",
|
// "invidious.einfachzocken.eu",
|
||||||
"yt.drgnz.club",
|
// "yt.drgnz.club",
|
||||||
],
|
],
|
||||||
piped: [
|
piped: [
|
||||||
"piped.video",
|
"piped.video",
|
||||||
|
@ -252,25 +252,25 @@ const Instances = {
|
||||||
"libmedium.ducks.party",
|
"libmedium.ducks.party",
|
||||||
],
|
],
|
||||||
libreddit: [
|
libreddit: [
|
||||||
"redditor.fly.dev",
|
// "redditor.fly.dev",
|
||||||
"libreddit.kavin.rocks",
|
"libreddit.kavin.rocks",
|
||||||
"libreddit.northboot.xyz",
|
// "libreddit.northboot.xyz",
|
||||||
"libreddit.kylrth.com",
|
// "libreddit.kylrth.com",
|
||||||
"libreddit.tiekoetter.com",
|
// "libreddit.tiekoetter.com",
|
||||||
"l.opnxng.com",
|
// "l.opnxng.com",
|
||||||
"libreddit.projectsegfau.lt",
|
// "libreddit.projectsegfau.lt",
|
||||||
"libreddit.privacydev.net",
|
"libreddit.privacydev.net",
|
||||||
"libreddit.freedit.eu",
|
// "libreddit.freedit.eu",
|
||||||
"libreddit.mha.fi",
|
// "libreddit.mha.fi",
|
||||||
"lr.artemislena.eu",
|
// "lr.artemislena.eu",
|
||||||
"libreddit.nohost.network",
|
// "libreddit.nohost.network",
|
||||||
"libreddit.lunar.icu",
|
// "libreddit.lunar.icu",
|
||||||
"snoo.habedieeh.re",
|
// "snoo.habedieeh.re",
|
||||||
"libreddit.tux.pizza",
|
// "libreddit.tux.pizza",
|
||||||
"libreddit.perennialte.ch",
|
// "libreddit.perennialte.ch",
|
||||||
"libreddit.private.coffee",
|
// "libreddit.private.coffee",
|
||||||
"lr.seitan-ayoub.lol",
|
// "lr.seitan-ayoub.lol",
|
||||||
"l.bloat.cat",
|
// "l.bloat.cat",
|
||||||
],
|
],
|
||||||
libremdb: [
|
libremdb: [
|
||||||
"libremdb.iket.me",
|
"libremdb.iket.me",
|
||||||
|
@ -425,25 +425,25 @@ const Instances = {
|
||||||
],
|
],
|
||||||
searxng: [
|
searxng: [
|
||||||
"search.tfcconnection.org",
|
"search.tfcconnection.org",
|
||||||
"search.sapti.me",
|
// "search.sapti.me",
|
||||||
"priv.au",
|
// "priv.au",
|
||||||
"search.demoniak.ch",
|
// "search.demoniak.ch",
|
||||||
"www.gruble.de",
|
// "www.gruble.de",
|
||||||
"searx.divided-by-zero.eu",
|
// "searx.divided-by-zero.eu",
|
||||||
"xo.wtf",
|
// "xo.wtf",
|
||||||
"freesearch.club",
|
// "freesearch.club",
|
||||||
"baresearch.org",
|
// "baresearch.org",
|
||||||
"searx.perennialte.ch",
|
// "searx.perennialte.ch",
|
||||||
"searx.techsaviours.org",
|
// "searx.techsaviours.org",
|
||||||
"search.mdosch.de",
|
// "search.mdosch.de",
|
||||||
"searx.si",
|
// "searx.si",
|
||||||
"searx.namejeff.xyz",
|
// "searx.namejeff.xyz",
|
||||||
"search.ononoki.org",
|
// "search.ononoki.org",
|
||||||
"etsi.me",
|
// "etsi.me",
|
||||||
"searx.work",
|
// "searx.work",
|
||||||
"search.smnz.de",
|
// "search.smnz.de",
|
||||||
"searx.prvcy.eu",
|
// "searx.prvcy.eu",
|
||||||
"searx.headpat.exchange",
|
// "searx.headpat.exchange",
|
||||||
],
|
],
|
||||||
hackernews: {
|
hackernews: {
|
||||||
better: "better-hackernews.vercel.app",
|
better: "better-hackernews.vercel.app",
|
||||||
|
@ -592,16 +592,16 @@ async function redirectYoutube(frontend) {
|
||||||
window.stop();
|
window.stop();
|
||||||
let searchpath = `${window.location.pathname}${window.location.search}`;
|
let searchpath = `${window.location.pathname}${window.location.search}`;
|
||||||
if (window.location.pathname.startsWith("/embed")) {
|
if (window.location.pathname.startsWith("/embed")) {
|
||||||
selectedInstance = youtube[1]
|
// selectedInstance = youtube[1]
|
||||||
? `${farsideInstance}/invidious`
|
// ? `${farsideInstance}/invidious`
|
||||||
: await getrandom(Instances["invidious"]);
|
// : await getrandom(Instances["invidious"]);
|
||||||
newURL = `${scheme}${selectedInstance}${window.location.pathname}${
|
newURL = `${scheme}inv.cochrun.xyz${window.location.pathname}${
|
||||||
window.location.search
|
window.location.search
|
||||||
}${hash}`;
|
}${hash}`;
|
||||||
window.location.replace(newURL);
|
window.location.replace(newURL);
|
||||||
} else {
|
} else {
|
||||||
if (frontend === "tubo") {
|
if (frontend === "tubo") {
|
||||||
selectedInstance = await getrandom(Instances.tubo);
|
// selectedInstance = await getrandom(Instances.tubo);
|
||||||
|
|
||||||
searchpath = `/stream?url=${window.location.href}`;
|
searchpath = `/stream?url=${window.location.href}`;
|
||||||
if (
|
if (
|
||||||
|
@ -614,13 +614,13 @@ async function redirectYoutube(frontend) {
|
||||||
window.location.replace(`freetube://${youtube_link}`);
|
window.location.replace(`freetube://${youtube_link}`);
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
selectedInstance =
|
// selectedInstance =
|
||||||
youtube[1] && frontend !== "hyperpipe"
|
// youtube[1] && frontend !== "hyperpipe"
|
||||||
? `${farsideInstance}/${frontend}`
|
// ? `${farsideInstance}/${frontend}`
|
||||||
: await getrandom(Instances[frontend]);
|
// : await getrandom(Instances[frontend]);
|
||||||
}
|
}
|
||||||
|
|
||||||
newURL = `${scheme}${selectedInstance}${searchpath}${hash}`;
|
newURL = `${scheme}inv.cochrun.xyz${searchpath}${hash}`;
|
||||||
window.location.replace(newURL);
|
window.location.replace(newURL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue