1
0
mirror of https://github.com/Pathduck/pathduck.github.io.git synced 2025-12-29 11:45:20 -05:00
This commit is contained in:
Stian Lund
2024-08-17 16:49:23 +02:00
parent 9b01ec51aa
commit 73c1f928f8
33 changed files with 339 additions and 278 deletions

View File

@@ -29,12 +29,13 @@
<body>
<h1>adblock</h1><p>
<a class="NORM" href="..">..</a><br>
[&nbsp;468&nbsp;Apr&nbsp;25&nbsp;22:32]&nbsp;&nbsp;<a class="EXEC" href="./myfilters.txt">myfilters.txt</a><br>
[&nbsp;594&nbsp;Jul&nbsp;&nbsp;8&nbsp;17:42]&nbsp;&nbsp;<a class="EXEC" href="./myfilters.txt">myfilters.txt</a><br>
[1.5K&nbsp;Jun&nbsp;&nbsp;6&nbsp;15:08]&nbsp;&nbsp;<a class="EXEC" href="./myfilters-new.txt">myfilters-new.txt</a><br>
<br><br>
</p>
<p>
0 directories, 1 file
0 directories, 2 files
<br><br>
</p>
</html>

View File

@@ -0,0 +1,54 @@
! Title: Adblock Filters NEW (personal)
! Block all Service Worker requests, with exceptions
||$csp=worker-src 'none'
@@||$csp=worker-src 'none',domain=docs.google.com
@@||$csp=worker-src 'none',domain=spotify.com
@@||$csp=worker-src 'none',domain=w3schools.com
@@||$csp=worker-src 'none',domain=mega.nz
@@||$csp=worker-src 'none',domain=sdf.org
@@||$csp=worker-src 'none',domain=1337x.to
! Block all WebSocket requests
!$websocket
! Block all WebSocket requests to localhost
127.0.0.1^$websocket
localhost^$websocket
! V Forum
forum.vivaldi.net###post-tooltip.card
forum.vivaldi.net##.selection-tooltip-container
! Hide Google search "Scroll to Text Fragment"
google.*##div.xpdopen
! Google Sign-in popup
||accounts.google.com^$third-party
! 2021-12-06 https://www.reddit.com
||reddit.com/account/sso/one_tap/$subdocument
! 2021-12-22 https://store.steampowered.com
@@||paypal.com^$domain=store.steampowered.com
! 2021-11-28 https://www.discogs.com
discogs.com##.ad_container
discogs.com##.ads-here
! 2022-03-20 https://www.wired.com
wired.com##.paywall-bar--expanded,.paywall-bar__expanded
! 2022-03-26 https://www.washingtonpost.com
washingtonpost.com###leaderboard-wrapper
! 2022-04-01 https://www.nrk.no
nrk.no##.nrk-masthead__info-banner--cookie
! 2022-10-15 https://www.rockpapershotgun.com
rockpapershotgun.com##.advert_container
! Loading track modal https://musify.club/
musify.club###__adv_audioad_container
! 2024-04-03 https://1337x.to
1337x.to###freevpn

View File

@@ -1,5 +1,5 @@
! Title: Adblock Filters (personal)
!! EXCEPTIONS
! EXCEPTIONS
@@||log.medietall.no^$domain=nrk.no
@@||apibay.org^$domain=thepiratebay.org
@@||exdynsrv.com^$domain=thepiratebay.org
@@ -14,8 +14,12 @@
!127.0.0.1^$websocket
!localhost^$websocket
!! DOMAIN BLOCKS
! DOMAIN BLOCKS
!||facebook.com^$document
||example.com##h1
||washingtonpost.com^$1p,script
||nytimes.com^$3p,script
nytimes.com * 3p-script block
washingtonpost.com * 1p-script block

View File

@@ -29,15 +29,15 @@
<body>
<h1>vivaldi</h1><p>
<a class="NORM" href="..">..</a><br>
[&nbsp;&nbsp;&nbsp;0&nbsp;May&nbsp;10&nbsp;15:08]&nbsp;&nbsp;<a class="DIR" href="./adblock/">adblock</a><br>
[&nbsp;&nbsp;&nbsp;0&nbsp;Aug&nbsp;17&nbsp;16:47]&nbsp;&nbsp;<a class="DIR" href="./adblock/">adblock</a><br>
[&nbsp;&nbsp;&nbsp;0&nbsp;May&nbsp;10&nbsp;15:08]&nbsp;&nbsp;<a class="DIR" href="./mods/">mods</a><br>
[&nbsp;&nbsp;&nbsp;0&nbsp;May&nbsp;24&nbsp;17:10]&nbsp;&nbsp;<a class="DIR" href="./panels/">panels</a><br>
[&nbsp;&nbsp;&nbsp;0&nbsp;Aug&nbsp;17&nbsp;16:47]&nbsp;&nbsp;<a class="DIR" href="./panels/">panels</a><br>
[&nbsp;&nbsp;&nbsp;0&nbsp;May&nbsp;10&nbsp;15:08]&nbsp;&nbsp;<a class="DIR" href="./sdthumbs/">sdthumbs</a><br>
[&nbsp;&nbsp;&nbsp;0&nbsp;May&nbsp;10&nbsp;15:08]&nbsp;&nbsp;<a class="DIR" href="./tools/">tools</a><br>
[&nbsp;&nbsp;&nbsp;0&nbsp;Dec&nbsp;14&nbsp;&nbsp;2023]&nbsp;&nbsp;<a class="DIR" href="./user_files/">user_files</a><br>
[&nbsp;&nbsp;&nbsp;0&nbsp;Dec&nbsp;14&nbsp;&nbsp;2023]&nbsp;&nbsp;<a class="DIR" href="./userscript/">userscript</a><br>
[&nbsp;&nbsp;&nbsp;0&nbsp;Aug&nbsp;17&nbsp;16:47]&nbsp;&nbsp;<a class="DIR" href="./userscript/">userscript</a><br>
[&nbsp;29K&nbsp;May&nbsp;27&nbsp;18:29]&nbsp;&nbsp;<a class="EXEC" href="./keyboard.html">keyboard.html</a><br>
[9.9K&nbsp;May&nbsp;27&nbsp;18:26]&nbsp;&nbsp;<a class="EXEC" href="./keyboard.md">keyboard.md</a><br>
[9.9K&nbsp;Aug&nbsp;&nbsp;8&nbsp;12:44]&nbsp;&nbsp;<a class="EXEC" href="./keyboard.md">keyboard.md</a><br>
[2.0K&nbsp;Mar&nbsp;21&nbsp;&nbsp;2021]&nbsp;&nbsp;<a class="EXEC" href="./Vivaldi-logo-red.svg">Vivaldi-logo-red.svg</a><br>
[320K&nbsp;Dec&nbsp;&nbsp;2&nbsp;&nbsp;2021]&nbsp;&nbsp;<a class="EXEC" href="./Vivaldi-stars.jpg">Vivaldi-stars.jpg</a><br>
<br><br>

View File

@@ -9,7 +9,7 @@
<tr><td>New Window</td><td>Ctrl+N</td></tr>
<tr><td>New Private Window</td><td>Ctrl+Shift+N</td></tr>
<tr><td>Close Window</td><td>Ctrl+Shift+Q</td></tr>
<tr><td>Quick Commands</td><td>F2</td></tr>
<tr><td>Quick Commands</td><td>Ctrl+E<br>F2</td></tr>
<tr><td>Task Manager</td><td>Shift+Esc</td></tr>
<tr><td>Settings</td><td>Alt+F2<br>Ctrl+F12</td></tr>
<tr><td>Extensions</td><td>Ctrl+Shift+E</td></tr>

View File

@@ -103,8 +103,9 @@
}
/* Extensions buttons background */
.ExtensionDropdownIcon, .ExtensionIcon {
background-color: transparent !important;
.ExtensionDropdownIcon, .ExtensionIcon,
.ExtensionToggleIcon.ExtensionToggleIcon--extensionsExpanded {
background-color: transparent !important
}
/* Toolbar buttons keyboard focus */

View File

@@ -29,8 +29,8 @@
<body>
<h1>CSS</h1><p>
<a class="NORM" href="..">..</a><br>
[4.8K&nbsp;Jul&nbsp;31&nbsp;19:30]&nbsp;&nbsp;<a class="EXEC" href="./custom.css">custom.css</a><br>
[&nbsp;923&nbsp;Aug&nbsp;&nbsp;7&nbsp;16:15]&nbsp;&nbsp;<a class="EXEC" href="./find-in-page.css">find-in-page.css</a><br>
[4.9K&nbsp;Aug&nbsp;17&nbsp;16:37]&nbsp;&nbsp;<a class="EXEC" href="./custom.css">custom.css</a><br>
[&nbsp;923&nbsp;Aug&nbsp;&nbsp;6&nbsp;18:05]&nbsp;&nbsp;<a class="EXEC" href="./find-in-page.css">find-in-page.css</a><br>
[2.3K&nbsp;Aug&nbsp;&nbsp;7&nbsp;16:23]&nbsp;&nbsp;<a class="EXEC" href="./header.css">header.css</a><br>
[&nbsp;922&nbsp;Jun&nbsp;&nbsp;8&nbsp;&nbsp;2023]&nbsp;&nbsp;<a class="EXEC" href="./quick-command-tweaks.css">quick-command-tweaks.css</a><br>
[&nbsp;979&nbsp;Jul&nbsp;&nbsp;2&nbsp;10:25]&nbsp;&nbsp;<a class="EXEC" href="./speed-dials.css">speed-dials.css</a><br>

View File

@@ -1,177 +1,28 @@
// Backup Search Engines
// version 2022.3.3
// https://forum.vivaldi.net/post/277594
// Adds functionality to backup and restore search engines in
// vivaldi://settings/search.
// Backup Keyboard Cheat Sheet
// version 2024.4.5
// https://forum.vivaldi.net/post/745999
// Writes the contents of the keyboard cheat sheet to your clipboard in markdown
// format. Open keyboard cheat sheet popup, open user interface console, paste
// code and hit Enter to execute.
(function () {
function msg(print) {
clearTimeout(msgTimeout);
if (print === "backup") {
info.innerText = "Backup copied to clipboard";
} else if (print === "restore") {
info.innerText = "Search engines restored";
} else {
info.innerText = "Code error, aborted";
}
msgTimeout = setTimeout(() => (info.innerText = ""), 5000);
}
function lookup(n) {
const defaults = [n.defaultSearch, n.defaultPrivate, n.defaultImage];
return defaults;
}
function bringingItAllBackHome(remains) {
vivaldi.searchEngines.getTemplateUrls((engines) => {
for (i = 0; i < defaultsArray.length; i++) {
const getName = engines.templateUrls.map((e) => e.name);
const index = getName.lastIndexOf(defaultsArray[i][0]);
const id = engines.templateUrls[index].id.toString();
const search = defaultsArray[i][1];
if (search === 0) {
vivaldi.searchEngines.setDefault(
vivaldi.searchEngines.DefaultType.DEFAULT_SEARCH,
id,
);
} else if (search === 1) {
vivaldi.searchEngines.setDefault(
vivaldi.searchEngines.DefaultType.DEFAULT_PRIVATE,
id,
);
} else {
vivaldi.searchEngines.setDefault(
vivaldi.searchEngines.DefaultType.DEFAULT_IMAGE,
id,
);
}
}
remains.forEach((remove) => {
vivaldi.searchEngines.removeTemplateUrl(remove);
});
defaultsArray = [];
msg("restore");
const sheet = document.querySelector(".keyboardShortcutsWrapper");
const heading = sheet.querySelector("h1").innerText;
const pb1 = "<style>\n tr{page-break-inside:avoid}\n</style>\n\n";
const pb2 = `<div style="page-break-after:avoid"></div>`;
let output = `${pb1}# ${heading}\n\n<table>\n`;
sheet.querySelectorAll(".category").forEach((category, key, arr) => {
const caps = category.firstChild.innerText.toUpperCase();
output += ` <tr><td><b>${caps}</b></td><td>${pb2}</td></tr>\n`;
category.querySelectorAll(".keycombo").forEach((command) => {
output += ` <tr><td>${command.innerText}</td><td>`;
command.querySelectorAll("input").forEach((combo, key, arr) => {
output += combo.value;
if (Object.is(arr.length - 1, key)) output += "</td></tr>\n";
else output += "<br>";
});
}
function exec(collection) {
vivaldi.searchEngines.getTemplateUrls((engines) => {
const oldDefaults = lookup(engines);
const newDefaults = lookup(collection);
engines.templateUrls.forEach((engine) => {
if (oldDefaults.indexOf(engine.id) === -1) {
vivaldi.searchEngines.removeTemplateUrl(engine.id);
}
});
collection.templateUrls.forEach((collect) => {
vivaldi.searchEngines.addTemplateUrl(collect, () => {
if (newDefaults.indexOf(collect.id) > -1) {
const indeces = newDefaults
.map((e, i) => (e === collect.id ? i : ""))
.filter(String);
indeces.forEach((index) => {
const tunnel = [collect.name, index];
defaultsArray.push(tunnel);
});
}
});
});
const remains = [...new Set(oldDefaults)];
bringingItAllBackHome(remains);
});
}
function restore(e) {
e.preventDefault();
e.stopPropagation();
let backupCode;
let collection;
if (e.type === "paste") {
const clipboardData = e.clipboardData;
backupCode = clipboardData.getData("text");
} else {
backupCode = e.dataTransfer.getData("text");
}
try {
collection = JSON.parse(backupCode);
} catch (err) {
msg("error");
return;
}
if (
"defaultImage" in collection &&
"defaultPrivate" in collection &&
"defaultSearch" in collection
) {
exec(collection);
} else {
msg("error");
}
}
function backup() {
vivaldi.searchEngines.getTemplateUrls((engines) => {
const backupCode = JSON.stringify(engines);
navigator.clipboard.writeText(backupCode);
msg("backup");
});
}
function ui() {
const check = document.getElementById("vm-backup");
if (!check) {
const place = document.querySelector(
".setting-section > div > .setting-group.unlimited > .setting-single"
);
const btn = document.createElement("input");
btn.setAttribute("type", "button");
btn.setAttribute("value", "Backup");
btn.id = "vm-backup";
place.insertBefore(btn, place.lastChild);
btn.addEventListener("click", backup);
const input = document.createElement("input");
input.setAttribute("type", "text");
input.setAttribute("placeholder", "Restore Backup");
input.id = "vm-restore";
place.insertBefore(input, place.lastChild);
input.addEventListener("paste", restore);
input.addEventListener("drop", restore);
info = document.createElement("span");
info.id = "vm-msg";
place.insertBefore(info, place.lastChild);
}
}
const css = `
#vm-restore {
width: 130px;
margin-left: 6px;
margin-top: 6px;
}
#vm-restore::-webkit-input-placeholder {
opacity: 1;
color: var(--colorHighlightBg);
text-align: center;
}
#vm-msg {
margin-left: 12px;
}
`;
let msgTimeout;
let defaultsArray = [];
const settingsUrl =
"chrome-extension://mpognobbkildjkofajifpdfhcoklimli/components/settings/settings.html?path=";
chrome.tabs.onUpdated.addListener(function (tabId, changeInfo, tab) {
if (changeInfo.url === `${settingsUrl}search`) {
setTimeout(ui, 100);
const check = document.getElementById("vm-engines");
if (!check) {
const style = document.createElement("style");
style.id = "vm-engines";
style.innerHTML = css;
document.getElementsByTagName("head")[0].appendChild(style);
}
}
});
})();
if (Object.is(arr.length - 1, key)) output += "</table>";
else output += " <tr><td>&nbsp;</td><td>&nbsp;</td></tr>\n";
});
copy(output);
console.info(output);

View File

@@ -29,7 +29,7 @@
<body>
<h1>JS</h1><p>
<a class="NORM" href="..">..</a><br>
[5.4K&nbsp;Mar&nbsp;30&nbsp;&nbsp;2022]&nbsp;&nbsp;<a class="EXEC" href="./backup-keyboard-cheat-sheet.js">backup-keyboard-cheat-sheet.js</a><br>
[1.3K&nbsp;Aug&nbsp;&nbsp;8&nbsp;12:39]&nbsp;&nbsp;<a class="EXEC" href="./backup-keyboard-cheat-sheet.js">backup-keyboard-cheat-sheet.js</a><br>
[6.2K&nbsp;Jul&nbsp;22&nbsp;13:07]&nbsp;&nbsp;<a class="EXEC" href="./backup-search-engines.js">backup-search-engines.js</a><br>
<br><br>
</p>

View File

@@ -103,8 +103,9 @@
}
/* Extensions buttons background */
.ExtensionDropdownIcon, .ExtensionIcon {
background-color: transparent !important;
.ExtensionDropdownIcon, .ExtensionIcon,
.ExtensionToggleIcon.ExtensionToggleIcon--extensionsExpanded {
background-color: transparent !important
}
/* Toolbar buttons keyboard focus */

View File

@@ -31,7 +31,7 @@
<a class="NORM" href="..">..</a><br>
[&nbsp;&nbsp;&nbsp;0&nbsp;May&nbsp;17&nbsp;13:50]&nbsp;&nbsp;<a class="DIR" href="./CSS/">CSS</a><br>
[&nbsp;&nbsp;&nbsp;0&nbsp;May&nbsp;27&nbsp;18:23]&nbsp;&nbsp;<a class="DIR" href="./JS/">JS</a><br>
[4.8K&nbsp;Aug&nbsp;&nbsp;7&nbsp;13:01]&nbsp;&nbsp;<a class="EXEC" href="./custom.css">custom.css</a><br>
[4.9K&nbsp;Aug&nbsp;17&nbsp;16:37]&nbsp;&nbsp;<a class="EXEC" href="./custom.css">custom.css</a><br>
[1.5K&nbsp;Mar&nbsp;23&nbsp;15:03]&nbsp;&nbsp;<a class="EXEC" href="./custom.unused.css">custom.unused.css</a><br>
[&nbsp;485&nbsp;Apr&nbsp;21&nbsp;&nbsp;1:20]&nbsp;&nbsp;<a class="EXEC" href="./page-confirm-info-bar.css">page-confirm-info-bar.css</a><br>
[&nbsp;854&nbsp;Jun&nbsp;&nbsp;7&nbsp;&nbsp;2023]&nbsp;&nbsp;<a class="EXEC" href="./window-panel-tweaks.css">window-panel-tweaks.css</a><br>

View File

@@ -38,7 +38,8 @@
[&nbsp;421&nbsp;Aug&nbsp;15&nbsp;&nbsp;2023]&nbsp;&nbsp;<a class="EXEC" href="./html-chars.css">html-chars.css</a><br>
[&nbsp;30K&nbsp;Apr&nbsp;&nbsp;7&nbsp;&nbsp;2023]&nbsp;&nbsp;<a class="EXEC" href="./html-chars.html">html-chars.html</a><br>
[4.2K&nbsp;Nov&nbsp;25&nbsp;&nbsp;2022]&nbsp;&nbsp;<a class="EXEC" href="./html-chars.ico">html-chars.ico</a><br>
[1.4K&nbsp;Apr&nbsp;&nbsp;7&nbsp;&nbsp;2023]&nbsp;&nbsp;<a class="EXEC" href="./multisearch.html">multisearch.html</a><br>
[1.4K&nbsp;Aug&nbsp;&nbsp;8&nbsp;10:57]&nbsp;&nbsp;<a class="EXEC" href="./multisearch.html">multisearch.html</a><br>
[3.2K&nbsp;Aug&nbsp;&nbsp;8&nbsp;10:45]&nbsp;&nbsp;<a class="EXEC" href="./multisearch.ico">multisearch.ico</a><br>
[1.3K&nbsp;Mar&nbsp;21&nbsp;&nbsp;2021]&nbsp;&nbsp;<a class="EXEC" href="./multisearch.png">multisearch.png</a><br>
[1.2K&nbsp;Apr&nbsp;&nbsp;7&nbsp;&nbsp;2023]&nbsp;&nbsp;<a class="EXEC" href="./multisearch2.html">multisearch2.html</a><br>
[&nbsp;32K&nbsp;Jun&nbsp;&nbsp;4&nbsp;&nbsp;2022]&nbsp;&nbsp;<a class="EXEC" href="./triplecolors.html">triplecolors.html</a><br>
@@ -49,7 +50,7 @@
</p>
<p>
6 directories, 10 files
6 directories, 11 files
<br><br>
</p>
</html>

View File

@@ -2,7 +2,7 @@
<html>
<head>
<title>MultiSearch!</title>
<link rel="icon" href="multisearch.png"/>
<link rel="icon" href="multisearch.ico"/>
</head>
<body style="color:#ececec;background-color:#26272a">

BIN
vivaldi/panels/multisearch.ico Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@@ -1 +1 @@
{"options":{"check_for_updates":false,"comment":"","compat_foreach":false,"compat_metadata":false,"compat_powerful_this":null,"compat_wrappedjsobject":false,"compatopts_for_requires":true,"noframes":null,"override":{"merge_connects":true,"merge_excludes":true,"merge_includes":false,"merge_matches":true,"orig_connects":[],"orig_excludes":[],"orig_includes":["*://*"],"orig_matches":[],"orig_noframes":null,"orig_run_at":"document-idle","use_blockers":[],"use_connects":[],"use_excludes":[],"use_includes":[],"use_matches":["*://connect.garmin.com/*","*://*.ovps.de/*","*://*.vaberlin.de/*","*://*.discord.com/*"]},"run_at":null,"sandbox":null,"tab_types":null,"unwrap":null},"settings":{"enabled":true,"position":3},"meta":{"name":"Absolute Enable Right Click & Copy","uuid":"3ded8744-62b8-45b2-afdc-2daa3f6313af","modified":1672099402357,"file_url":"https://greasyfork.org/scripts/23772-absolute-enable-right-click-copy/code/Absolute%20Enable%20Right%20Click%20%20Copy.user.js"}}
{"options":{"check_for_updates":false,"comment":"","compat_foreach":false,"compat_metadata":false,"compat_powerful_this":null,"compat_wrappedjsobject":false,"compatopts_for_requires":true,"noframes":null,"override":{"merge_connects":true,"merge_excludes":true,"merge_includes":false,"merge_matches":false,"orig_connects":[],"orig_excludes":[],"orig_includes":[],"orig_matches":["*://*/*"],"orig_noframes":null,"orig_run_at":"document-idle","use_blockers":[],"use_connects":[],"use_excludes":[],"use_includes":[],"use_matches":["*://*.discord.com/*","*://*.spotify.com/*","*://*.discogs.com/*"]},"run_at":null,"sandbox":null,"tab_types":null,"unwrap":null,"user_modified":null},"settings":{"enabled":true,"position":2},"meta":{"name":"Absolute Enable Right Click & Copy","uuid":"3ded8744-62b8-45b2-afdc-2daa3f6313af","modified":1713629150494,"file_url":"https://greasyfork.org/scripts/23772-absolute-enable-right-click-copy/code/Absolute%20Enable%20Right%20Click%20%20Copy.user.js"}}

View File

@@ -5,7 +5,7 @@
// @shortcutKeys [Ctrl + `] Activate Absolute Right Click Mode To Force Remove Any Type Of Protection
// @author Absolute
// @version 1.8.9
// @include *://*
// @match *://*/*
// @icon https://i.imgur.com/AC7SyUr.png
// @compatible Chrome Google Chrome + Tampermonkey
// @grant GM_registerMenuCommand
@@ -64,7 +64,7 @@
}
function keyPress(event) {
if (event.ctrlKey && event.keyCode == 220) {
if (event.ctrlKey && event.keyCode == 190) {
return confirm('Activate Absolute Right Click Mode!') == true ? absoluteMode() : null;
}
}

View File

@@ -1 +1 @@
{"options":{"check_for_updates":true,"comment":null,"compat_foreach":false,"compat_metadata":false,"compat_powerful_this":null,"compat_prototypes":false,"compat_wrappedjsobject":false,"compatopts_for_requires":true,"noframes":null,"override":{"merge_connects":true,"merge_excludes":true,"merge_includes":true,"merge_matches":false,"orig_connects":[],"orig_excludes":[],"orig_includes":[],"orig_matches":["*://*/*"],"orig_noframes":null,"orig_run_at":"document-start","use_blockers":[],"use_connects":[],"use_excludes":[],"use_includes":[],"use_matches":["*://music.youtube.com/*"]},"run_at":null,"tab_types":null},"settings":{"enabled":true,"position":2},"meta":{"name":"Disable page close confirmation","uuid":"29b5aaa7-8ef4-41a9-b589-583bc41a5779","modified":1642196588804,"file_url":"https://greasyfork.org/scripts/4279-disable-page-close-confirmation/code/Disable%20page%20close%20confirmation.user.js"}}
{"options":{"check_for_updates":true,"comment":null,"compat_foreach":false,"compat_metadata":false,"compat_powerful_this":null,"compat_prototypes":false,"compat_wrappedjsobject":false,"compatopts_for_requires":true,"noframes":null,"override":{"merge_connects":true,"merge_excludes":true,"merge_includes":true,"merge_matches":false,"orig_connects":[],"orig_excludes":[],"orig_includes":[],"orig_matches":["*://*/*"],"orig_noframes":null,"orig_run_at":"document-start","use_blockers":[],"use_connects":[],"use_excludes":[],"use_includes":[],"use_matches":["*://music.youtube.com/*"]},"run_at":null,"tab_types":null,"user_modified":null},"settings":{"enabled":true,"position":4},"meta":{"name":"Disable page close confirmation","uuid":"29b5aaa7-8ef4-41a9-b589-583bc41a5779","modified":1642196588804,"file_url":"https://greasyfork.org/scripts/4279-disable-page-close-confirmation/code/Disable%20page%20close%20confirmation.user.js"}}

View File

@@ -1 +1 @@
{"options":{"check_for_updates":false,"comment":null,"compatopts_for_requires":true,"compat_wrappedjsobject":false,"compat_metadata":false,"compat_foreach":false,"compat_powerful_this":null,"sandbox":null,"noframes":null,"unwrap":null,"run_at":null,"tab_types":null,"override":{"merge_connects":true,"merge_excludes":true,"merge_includes":true,"merge_matches":true,"orig_connects":[],"orig_excludes":[],"orig_includes":["https://www.google.com/url?*q=*"],"orig_matches":[],"orig_noframes":null,"orig_run_at":"document-start","use_blockers":[],"use_connects":[],"use_excludes":[],"use_includes":[],"use_matches":[]}},"settings":{"enabled":true,"position":4},"meta":{"name":"Google I'm Feeling Lucky Redirect","uuid":"e8841671-f77e-4ce0-a44b-9d78f8618a39","modified":1672495936618,"file_url":"https://greasyfork.org/scripts/422086-google-i-m-feeling-lucky-redirect/code/Google%20I'm%20Feeling%20Lucky%20Redirect.user.js"}}
{"options":{"check_for_updates":false,"comment":null,"compat_foreach":false,"compat_metadata":false,"compat_powerful_this":null,"compat_wrappedjsobject":false,"compatopts_for_requires":true,"noframes":null,"override":{"merge_connects":true,"merge_excludes":true,"merge_includes":true,"merge_matches":true,"orig_connects":[],"orig_excludes":[],"orig_includes":["https://www.google.com/url?*q=*"],"orig_matches":[],"orig_noframes":null,"orig_run_at":"document-start","use_blockers":[],"use_connects":[],"use_excludes":[],"use_includes":[],"use_matches":[]},"run_at":null,"sandbox":null,"tab_types":null,"unwrap":null,"user_modified":null},"settings":{"enabled":true,"position":5},"meta":{"name":"Google I'm Feeling Lucky Redirect","uuid":"e8841671-f77e-4ce0-a44b-9d78f8618a39","modified":1672495936618,"file_url":"https://greasyfork.org/scripts/422086-google-i-m-feeling-lucky-redirect/code/Google%20I'm%20Feeling%20Lucky%20Redirect.user.js"}}

View File

@@ -0,0 +1 @@
{"options":{"check_for_updates":true,"comment":null,"compat_foreach":false,"compat_metadata":false,"compat_powerful_this":null,"compat_wrappedjsobject":false,"compatopts_for_requires":true,"noframes":null,"override":{"merge_connects":true,"merge_excludes":true,"merge_includes":true,"merge_matches":true,"orig_connects":[],"orig_excludes":["https://bugs.vivaldi.com/secure/attachment/*"],"orig_includes":[],"orig_matches":["https://bugs.vivaldi.com/*"],"orig_noframes":null,"orig_run_at":"document-start","use_blockers":[],"use_connects":[],"use_excludes":[],"use_includes":[],"use_matches":[]},"run_at":null,"sandbox":null,"tab_types":null,"unwrap":null,"user_modified":null},"settings":{"enabled":false,"position":7},"meta":{"name":"Jira Night","uuid":"543f6de3-f114-4b10-b22a-3b35ffd18a72","modified":1686258920618}}

View File

@@ -0,0 +1 @@
{"ts":1686258920625,"data":{}}

View File

@@ -0,0 +1,76 @@
// ==UserScript==
// @name Jira Night
// @namespace https://gist.github.com/luetage/e73c132e079fb3d62675de3f4a6c29e4
// @updateURL https://gist.github.com/luetage/e73c132e079fb3d62675de3f4a6c29e4/raw
// @description Dark color scheme for Jira.
// @version 2022.9.0
// @author luetage
// @match https://bugs.vivaldi.com/*
// @exclude https://bugs.vivaldi.com/secure/attachment/*
// @run-at document-start
// ==/UserScript==
(function () {
"use strict";
const css = `
html {
filter: invert(86%) hue-rotate(180deg) brightness(105%) contrast(105%);
}
img, span[role="img"], svg, #cp-header {
filter: invert(114%) hue-rotate(180deg) brightness(105%) contrast(105%);
}
#header>.aui-header.aui-dropdown2-trigger-group {
--aui-button-primary-bg-color: hsl(168, 76%, 42%);
--aui-button-primary-hover-bg-color: hsl(168, 76%, 37%);
border-bottom: 1px solid hsla(229, 35%, 75%, 0.4);
}
#header>.aui-header.aui-dropdown2-trigger-group .aui-nav>li>a {
--aui-appheader-item-focus-bg-color: hsl(168, 76%, 42%);
--aui-appheader-item-active-bg-color: hsl(168, 76%, 42%);
}
.aui-dropdown2 .aui-dropdown2-checkbox:not(.aui-dropdown2-disabled):hover,
.aui-dropdown2 .aui-dropdown2-radio:not(.aui-dropdown2-disabled):hover,
.aui-dropdown2 a:not(.aui-dropdown2-disabled):hover,
.aui-dropdown2 button:not(.aui-dropdown2-disabled):hover,
form#issue-filter .check-list-item.active,
form.aui .check-list-item.active,
.check-list-item.active,
.check-list-group-footer.active
.aui-list a.active,
.aui-list .aui-list-item.active>a {
background: hsl(168, 76%, 42%) !important;
color: hsl(229, 35%, 100%) !important;
}
.aui-header .aui-quicksearch input,
.aui-header .aui-quicksearch input:focus,
.aui-header .aui-quicksearch:focus-within:before {
background: hsla(229, 35%, 75%, 0.5);
color: hsl(235, 19%, 26%);
}
#header>.aui-header.aui-dropdown2-trigger-group .aui-dropdown2-in-header,
.aui-dropdown2.aui-layer,
.aui-dropdown-content {
border: 1px solid hsla(235, 19%, 13%, 0.3);
}
`;
function _async() {
return new Promise((resolve) => {
requestAnimationFrame(resolve);
});
}
async function _wait() {
while (!document.body) {
await _async();
}
return true;
}
function inject() {
_wait().then(() => {
const style = document.createElement("style");
style.id = "usrjs-jira-night";
style.innerHTML = css;
document.getElementsByTagName("head")[0].appendChild(style);
});
}
inject();
})();

View File

@@ -1 +1 @@
{"options":{"check_for_updates":true,"comment":null,"compatopts_for_requires":true,"compat_wrappedjsobject":false,"compat_metadata":false,"compat_foreach":false,"compat_powerful_this":null,"sandbox":null,"noframes":null,"unwrap":null,"run_at":null,"tab_types":null,"override":{"use_includes":[],"orig_includes":[],"merge_includes":true,"use_matches":[],"orig_matches":["*://*.rockpapershotgun.com/*"],"merge_matches":true,"use_excludes":[],"orig_excludes":["*://forum.rockpapershotgun.com/*"],"merge_excludes":true,"use_connects":[],"orig_connects":[],"merge_connects":true,"use_blockers":[],"orig_run_at":"document-start","orig_noframes":null}},"settings":{"enabled":true,"position":5},"meta":{"name":"RPS Night Mode","uuid":"0eb7141b-a77c-4f7d-b774-2599bfee0027","modified":1672497784464,"file_url":"https://greasyfork.org/scripts/370482-rps-night-mode/code/RPS%20Night%20Mode.user.js"}}
{"options":{"check_for_updates":false,"comment":null,"compat_foreach":false,"compat_metadata":false,"compat_powerful_this":null,"compat_wrappedjsobject":false,"compatopts_for_requires":true,"noframes":null,"override":{"merge_connects":true,"merge_excludes":true,"merge_includes":true,"merge_matches":true,"orig_connects":[],"orig_excludes":[],"orig_includes":[],"orig_matches":["*://*.rockpapershotgun.com/*"],"orig_noframes":null,"orig_run_at":"document-start","use_blockers":[],"use_connects":[],"use_excludes":[],"use_includes":[],"use_matches":[]},"run_at":null,"sandbox":null,"tab_types":null,"unwrap":null,"user_modified":null},"settings":{"enabled":true,"position":6},"meta":{"name":"RPS Night Mode","uuid":"0eb7141b-a77c-4f7d-b774-2599bfee0027","modified":1711216570122,"file_url":"https://greasyfork.org/scripts/370482-rps-night-mode/code/RPS%20Night%20Mode.user.js"}}

View File

@@ -2,19 +2,20 @@
// @name RPS Night Mode
// @namespace https://greasyfork.org/en/users/197428-pathduck
// @license MIT
// @version 0.40
// @version 0.54
// @description Night mode for site "Rock, Paper, Shotgun"
// @author Pathduck
// @supportURL https://greasyfork.org/en/scripts/370482-rps-night-mode
// @updateURL https://greasyfork.org/scripts/370482-rps-night-mode/code/RPS%20Night%20Mode.user.js
// @downloadURL https://greasyfork.org/scripts/370482-rps-night-mode/code/RPS%20Night%20Mode.user.js
// @match *://*.rockpapershotgun.com/*
// @exclude *://forum.rockpapershotgun.com/*
// @icon https://icons.duckduckgo.com/ip2/rockpapershotgun.com.ico
// @grant GM_addStyle
// @run-at document-start
// ==/UserScript==
GM_addStyle(`
body {color: #eee !important; background: black !important;}
body {color: #eee !important; background: black!important;}
figcaption {color: #00b893 !important;}
input {color: #eee !important;}
#content {background: #393939 !important; border-radius: 16px;}
@@ -22,16 +23,21 @@ input {color: #eee !important;}
.article[data-article-type], .summary[data-article-type] {--color: #ee77a7;--strap-color: #ee77a7;}
.article[data-premium=true], .summary[data-premium=true] {--color: #9763ff !important; --strap-color: #9763ff !important;}
.article_body_content blockquote {background: #222 !important;}
.app_header, .app_footer {background: black !important; border: none;}
.app_header, .app_footer {background: black !important; border: none !important;}
.app_footer a, .app_footer button {color: #eee !important;}
.article p a, .article_header a {color: #00b893 !important;}
.archive_by_date a {color: #00b893 !important;}
.jumplinks_group {background-image: unset !important;}
.nav_primary a, .nav_secondary a {color: #eee !important;}
.profile-comments a {color: #00b893 !important;}
.poll_wrapper .poll_container * {color: #cbcbcb !important;}
.section_title, .page_title, .label {color: #00b893 !important;}
.supporters_shelf .section_title {color: #9763ff !important;}
.strapline, .disclaimer, .alert {color: #eee !important;}
.tabbed_nav {background: #393939 !important; background-image: unset !important;}
.tabbed_nav .tabbed_buttons .tabbed_button {color: #eee !important;}
.title, .title a, .summary a {color: #00b893 !important;}
.thumbnail:after {content: unset !important;}
.video_player .playlist_item {background: #222 !important;}
.username .name {color: white !important;}
`);

View File

@@ -1 +0,0 @@
{"action_menu_columns":"1","action_menu_scripts_hide_disabled":false,"action_menu_scripts_sort":"auto","appearance_badge_color":"#ee3131","appearance_badges":"running","configMode":100,"connect_mode":"off","editor_autoLint":true,"editor_autoLintMaxLen":"1000000","editor_autoSave":true,"editor_easySave":true,"editor_electricChars":true,"editor_enabled":true,"editor_fontSize":"100","editor_highlightSelectionMatches":"cursor","editor_highlightTrailingWhitespace":true,"editor_indentUnit":"2","editor_indentWithTabs":"spaces","editor_keyMap":"windows","editor_lineWrapping":false,"editor_linter_config":null,"editor_tabMode":"classic","editor_tabSize":"2","editor_theme":"default","editor_trimTrailingSpacesFromModifiedLines":true,"enabled":true,"external_connect":"all","favicon_service":"duckduckgo","forbiddenPages":["*example.org/*","*paypal.tld/*","*stripe.com/*","/^.*:\\/\\/apis\\.google\\.com\\/((?!render)([^\\/]+)\\/)+([^\\/]+)?$/","*://www.facebook.com/plugins/*","*://platform.twitter.com/widgets/*"],"incognito_mode":"temporary","layout":"default","layout_user_css":"","notification_showUpdate":"changelog","page_filter_mode":"black","page_whitelist":["/https?:\\/\\/greasyfork\\.org\\/.*/"],"require_sri_mode":"supported","runtime_inject_mode":"default","script_blacklist_server":[{"rules":["/https?:\\/\\/userscripts\\.org\\/scripts\\/(source|version)/(102614).*\\.user\\.js/"],"severity":2},{"name":"SaveFrom.net helper","reason":"Shows advertisements","rules":["/https?:\\/\\/sf-addon\\.com\\/.*\\/.*\\.user\\.js/","/https?:\\/\\/.*\\.sf-helper\\.com\\/.*\\.user\\.js/"],"severity":3},{"reasons":{"en":"Used for a phishing compain to compromise users of baon-nutrition.com"},"rules":["/https?:\\/\\/files\\.ulysse\\.travel\\/.*\\.user\\.js/"],"severity":8},{"name":"Local YouTube Downloader","reasons":{"en":"Shows a disturbing alert message at every page with a youtube frame or iframe"},"rules":["/https?:\\/\\/greasyfork\\.org\\/scripts\\/369400-.*\\.user\\.js.*/"],"severity":8}],"webrequest_fixCSP":"no","webrequest_modHeaders":"no"}

View File

@@ -0,0 +1 @@
{"options":{"check_for_updates":false,"comment":null,"compat_foreach":false,"compat_metadata":false,"compat_powerful_this":null,"compat_wrappedjsobject":false,"compatopts_for_requires":true,"noframes":null,"override":{"merge_connects":true,"merge_excludes":true,"merge_includes":true,"merge_matches":true,"orig_connects":[],"orig_excludes":[],"orig_includes":[],"orig_matches":["*://*/*"],"orig_noframes":true,"orig_run_at":"document-start","use_blockers":[],"use_connects":[],"use_excludes":[],"use_includes":[],"use_matches":[]},"run_at":null,"sandbox":null,"tab_types":null,"unwrap":null,"user_modified":null},"settings":{"enabled":false,"position":1},"meta":{"name":"Unobtrusive Scrollbar","uuid":"7fd505c6-316b-45a3-a7ed-45f9d0306982","modified":1721211753789}}

View File

@@ -0,0 +1 @@
{"ts":1687465723517,"data":{}}

View File

@@ -0,0 +1,19 @@
// ==UserScript==
// @name Unobtrusive Scrollbar
// @namespace http://tampermonkey.net/
// @version 0.1
// @description A better scrollbar
// @author You
// @match *://*/*
// @grant GM_addStyle
// @run-at document-start
// @noframes
// ==/UserScript==
GM_addStyle(`
::-webkit-scrollbar{width:7px;height:7px}
::-webkit-scrollbar-track-piece,::-webkit-scrollbar-corner{background-color:rgba(0,0,0,0)}
::-webkit-scrollbar-thumb{height:50px;background-color:#888;border-radius:5px;--outline:1px solid rgba(0,0,0,0);--outline-offset:-1px}
::-webkit-scrollbar-thumb:hover{background-color:#666}
`);

View File

@@ -1 +1 @@
{"options":{"check_for_updates":true,"comment":null,"compatopts_for_requires":true,"compat_wrappedjsobject":false,"compat_metadata":false,"compat_foreach":false,"compat_powerful_this":null,"sandbox":null,"noframes":null,"unwrap":null,"run_at":null,"tab_types":null,"override":{"use_includes":[],"orig_includes":[],"merge_includes":true,"use_matches":[],"orig_matches":["https://forum.vivaldi.net/*"],"merge_matches":true,"use_excludes":[],"orig_excludes":["https://forum.vivaldi.net/assets/*"],"merge_excludes":true,"use_connects":[],"orig_connects":[],"merge_connects":true,"use_blockers":[],"orig_run_at":"document-start","orig_noframes":null}},"settings":{"enabled":true,"position":6},"meta":{"name":"Vivaldi Forum Tweaks","uuid":"a59b229e-cfbc-4cfd-b626-57015e249641","modified":1672497628562,"file_url":"https://greasyfork.org/scripts/457399-vivaldi-forum-tweaks/code/Vivaldi%20Forum%20Tweaks.user.js"}}
{"options":{"check_for_updates":false,"comment":null,"compat_foreach":false,"compat_metadata":false,"compat_powerful_this":null,"compat_wrappedjsobject":false,"compatopts_for_requires":true,"noframes":null,"override":{"merge_connects":true,"merge_excludes":true,"merge_includes":true,"merge_matches":true,"orig_connects":[],"orig_excludes":["https://forum.vivaldi.net/assets/*"],"orig_includes":[],"orig_matches":["https://forum.vivaldi.net/*"],"orig_noframes":null,"orig_run_at":"document-start","use_blockers":[],"use_connects":[],"use_excludes":[],"use_includes":[],"use_matches":[]},"run_at":null,"sandbox":null,"tab_types":null,"unwrap":null,"user_modified":1718819867420},"settings":{"enabled":true,"position":8},"meta":{"name":"Vivaldi Forum Tweaks","uuid":"dc2c3f6f-cd4f-45f7-99c9-e941105651a6","modified":1718819867419,"file_url":"https://greasyfork.org/scripts/457399-vivaldi-forum-tweaks/code/Vivaldi%20Forum%20Tweaks.user.js"}}

View File

@@ -1 +1 @@
{"ts":1672497325995,"data":{}}
{"ts":1692186589338,"data":{}}

View File

@@ -2,7 +2,7 @@
// @name Vivaldi Forum Tweaks
// @namespace https://greasyfork.org/en/users/197428-pathduck
// @license MIT
// @version 0.8
// @version 1.9
// @description CSS tweaks for Vivaldi Forums
// @author Pathduck
// @supportURL https://greasyfork.org/en/scripts/457399-vivaldi-forum-tweaks
@@ -14,59 +14,84 @@
// ==/UserScript==
GM_addStyle(`
@media (min-width: 960px) {body {padding-top: 95px;}}
body {font-size: 15px;}
@media (min-width: 960px) {body {padding-top: 60px;}}
hr {margin: 5px;}
pre, pre code {padding: 5px !important;}
ul#vivaldimenu {margin-bottom: 0;};
small.pull-right {padding: 0; margin: 0px;}
#communitysubmenu { min-height: unset; top: 40px; padding: 0px;}
#content, main#panel {padding-top: 0px !important;}
#menucontent, #vivaldi-header, .navbar {min-height: unset; padding: 0; height: 40px;}
#menucontent>.row {padding: 5px 5px 0; height: 40px;}
#menucontent #search-form .form-control {margin: 5px;}
#menucontent #search-form input.form-control {max-width: unset !important; width: 320px;}
#newtopicbar {padding: 5px; margin-bottom: 5px;}
#submenu {top: 65px !important;}
#submenu.isfixed {top: 40px !important;}
#submenu, #submenu li, #submenu ul {line-height: 30px; height: 30px;}
#vivaldi-header .sublinks a {padding: 0;}
.account .cover {margin-top: 50px !important;}
.breadcrumb {padding: 0; margin-bottom: 0px;}
.btn {line-height: 1;}
.btn-toolbar {padding-top: 5px;}
.categories-title {margin: 5px 0 5px;}
.categories>li, .category>ul>li {margin-bottom: 0px; padding-bottom: 0px;}
.composer .preview, .composer .write {font-size: 15px;}
.dropdown-menu {font-size: 13px;}
.form-control:focus, .dropdown-toggle:focus {outline: solid !important;}
.header .notification-list, .header .chat-list {max-height: 60vh;}
.navbar-nav>li>a {padding: 10px 15px; margin-top: 2px;}
.navbar-nav>li>a#user_dropdown {padding: 5px 15px;margin-top: 2px;}
.posts-list-item.deleted {opacity: .5 !important;}
.search .bootstrap-tagsinput:has(input:focus) {outline: solid;}
.small.pull-right {margin-top: 0px;}
.topic-list-header {top: 30px;}
.topic h1 {line-height: 25px; font-weight: bold;}
.topic .topic-info, .topic .topic-info>* {margin-bottom: 0px; padding-bottom: 2px; padding-top: 0px;}
.topic .posts .content .img-responsive, .message-body img {max-width: 50vw; max-height: 30vh;}
pre code {padding: 5px !important;}
#communitysubmenu { padding: 0 0 0; min-height: 24px;}
#content .breadcrumb {padding-top: 0; margin-bottom: 0;}
#content .posts p {margin-top: 0; margin-bottom: .5rem;}
#content .posts>li {padding-top: 5px;}
#content.pt-3 {margin-top: 0; padding-top: 0 !important;}
#logged-in-menu {margin-top: 3px;}
#menucontent>.row { padding: 5px 12px; height: 35px;}
#search-button {display: none;}
#search-form #search-fields.hidden {max-width: unset; width: 350px;}
#search-form .btn-outline-secondary {border: none;}
#search-fields, #search-form {margin-top: 0px;}
#vivaldi-header .sublinks a {padding: 0 10px;}
#vivaldi-header { height: 40px;}
#vivaldinav li, #vivaldinav ul {margin-top: 0; margin-bottom: 0;}
.account .profile .profile-meta {font-size: 15px; margin-top: 10px;}
.button:focus, .form-control:focus, .dropdown-toggle:focus, .btn:focus-visible {outline: solid !important;}
.categories .description {padding: 0;}
.categories h2.title {margin-bottom: 0;}
.categories>li .content, .category>ul>li .content {padding: 0;}
.categories>li, .category>ul>li {padding-bottom: 5px;}
.chat-content .message-body p {line-height: initial !important;}
.chat-modal .modal-content.ui-resizable {width: 50vw; height: 80vh; right: 75%;}
.float-end.small,small.float-end {padding-bottom: 0;padding-top: 0;}
.header .chat-list .main-avatar {margin-top: 0;}
.header .chat-list>li {height: 80px;}
.header .chats.dropdown .dropdown-menu {width: 500px !important;}
.header .notification-list li { display: flex !important; padding: 5px 5px;}
.header .notification-list, .header .chat-list {max-height: 85vh;}
.navbar-vivaldi {min-height: unset; padding: 0; height: 35px;}
.topic .content {min-height: 45px;}
.topic .post-footer hr {margin: revert;}
.topic .post-signature {margin-top: 5px;}
.topic .post-tools>a, .topic .moderator-tools>a {padding: 0 10px;}
.topic .posts .content .img-fluid {max-width: 50vw; max-height: 40vh;}
.topic .posts .content blockquote {font-style: unset; font-size: 14px; margin: 5px; padding: 10px;}
.topic .posts .content pre.markdown-highlight {max-height: unset;}
.topic .topic-info>* {padding-top: 0;}
.topic [component="post/downvote"], .topic [component="post/upvote"], .topic [component="post/vote-count"] {padding: 5px 0.5rem;}
.topic h1 {line-height: 25px;}
.topic h1>span {margin-top: 0 !important;}
.topic-list-header {padding: 5px !important;}
.topic-list-header.sticky-top {top: unset !important;}
.vivaldi-nav-link {line-height: 33px;}
/* Dark skin fixes */
.skin-dark blockquote {background-color: #333; border-left: 5px solid #4c70f0;}
.skin-dark code, .skin-dark pre {color: #fff; background-color: #333;}
.skin-dark .account .profile .profile-meta strong {color: #fff;}
.skin-dark .btn-group button, .skin-dark .btn-primary, .topic-main-buttons button {background: linear-gradient(0deg,#2a3f87 0,#4c70f0 100%);}
.skin-dark .category>ul>li:not(.unread) .lastpost {border-color: #26282f !important;}
.skin-dark .category>ul>li .lastpost {border-color: #bbb !important;}
.skin-dark .category>ul>li {border-top: unset;}
.skin-dark code, .skin-dark pre {color: white; background-color: #333;}
.skin-dark .alert-warning {background-color: darkred;}
.skin-dark .alert-window .alert {background-color: #333;}
.skin-dark .alert-window .alert.alert-info {color: limegreen;}
.skin-dark .alert-warning {background-color: darkred;}
.skin-dark .btn-primary, .pagination>.active>a {background-color: #3652b0;}
.skin-dark .composer .preview a {color: #809cff !important}
.skin-dark .label-success {background-color: green;}
.skin-dark .navbar-vivaldi {background: linear-gradient(0deg,#2a3f87 0,#4c70f0 100%);}
.skin-dark .pagination>.active>a {background-color: #3652b0;}
.skin-dark .persona-usercard {background-color: black;}
.skin-dark .post-header a.text-uppercase.badge {color: white !important;}
.skin-dark .search .bootstrap-tagsinput input {border: 0; color: white; background-color: #272727;}
.skin-dark .search .bootstrap-tagsinput,
.skin-dark .search .bootstrap-tagsinput input {border: 0; background-color: #272727; color: #fff;}
.skin-dark .topic .posts a {color: #809cff !important}
.skin-dark .topic .posts .dropdown-menu a {color: #fff !important}
.skin-dark .status.offline {color: #333;}
.skin-dark .status.online {color: forestgreen;}
.skin-dark .text-muted {color: #BBB !important;}
.skin-dark .textcomplete-dropdown .textcomplete-item.active,
.skin-dark .textcomplete-dropdown .textcomplete-item:hover {outline: solid;}
.skin-dark .textcomplete-dropdown {color: white !important; background-color: #333;}
.skin-dark .tooltip {--bs-tooltip-color: lightgray;}
.skin-dark .topic .posts .dropdown-menu a {color: white !important}
.skin-dark .topic .posts a {color: #809cff !important;}
.skin-dark .userinfo button.btn {background: unset;}
.skin-dark .userinfo .nav-item:hover {background-color: #303030 !important;}
/* External link warning */
a[rel^="nofollow"]::after{font-size:12px; content:"⚠️";}
a[href*="vivaldi"]::after{content: unset;}
a[rel^="nofollow"]::after {content:"⚠️";}
a[href*="vivaldi." i]::after {content: unset !important;}
`);

View File

@@ -1 +1 @@
{"options":{"check_for_updates":true,"comment":null,"compat_foreach":false,"compat_metadata":false,"compat_powerful_this":null,"compat_prototypes":false,"compat_wrappedjsobject":false,"compatopts_for_requires":true,"noframes":null,"override":{"merge_connects":true,"merge_excludes":true,"merge_includes":true,"merge_matches":true,"orig_connects":[],"orig_excludes":[],"orig_includes":[],"orig_matches":["https://www.youtube.com/*"],"orig_noframes":true,"orig_run_at":"document-idle","use_blockers":[],"use_connects":[],"use_excludes":[],"use_includes":[],"use_matches":[]},"run_at":null,"tab_types":null},"settings":{"enabled":true,"position":1},"meta":{"name":"YouTube fast fullscreen toggle","uuid":"7cbfb171-b070-4682-a3e4-07918a9e9632","modified":1632432693263,"file_url":"https://raw.githubusercontent.com/ZimbiX/youtube-fast-fullscreen-toggle/master/extension/contentScript.js"}}
{"options":{"check_for_updates":true,"comment":null,"compat_foreach":false,"compat_metadata":false,"compat_powerful_this":null,"compat_wrappedjsobject":false,"compatopts_for_requires":true,"noframes":null,"override":{"merge_connects":true,"merge_excludes":true,"merge_includes":true,"merge_matches":true,"orig_connects":[],"orig_excludes":[],"orig_includes":[],"orig_matches":["https://www.youtube.com/*"],"orig_noframes":true,"orig_run_at":"document-idle","use_blockers":[],"use_connects":[],"use_excludes":[],"use_includes":[],"use_matches":[]},"run_at":null,"sandbox":null,"tab_types":null,"unwrap":null,"user_modified":null},"settings":{"enabled":true,"position":3},"meta":{"name":"YouTube fast fullscreen toggle","uuid":"7cbfb171-b070-4682-a3e4-07918a9e9632","modified":1713561429705,"file_url":"https://raw.githubusercontent.com/ZimbiX/youtube-fast-fullscreen-toggle/master/extension/contentScript.js"}}

View File

@@ -1,7 +1,7 @@
// ==UserScript==
// @name YouTube fast fullscreen toggle
// @namespace http://tampermonkey.net/
// @version 2.7.0
// @version 2.10.0
// @description Avoids the ~3 second lag when entering/exiting fullscreen on a YouTube video - by hiding the heavy fluff while transitioning
// @author Brendan Weibrecht
// @match https://www.youtube.com/*
@@ -16,7 +16,18 @@
const isWatchVideoPage = () => window.location.pathname == "/watch"
const fluff = ['#secondary-inner', '#info', '#meta', '#comments', '#masthead-container', '#speedyg']
const fluff = [
// Header
'#masthead-container',
// Right column contents
'#secondary-inner',
'#fixed-secondary',
// Below video
'#below',
'#speedyg',
]
const setFluffDisplay = (value) => {
fluff.forEach(selector => {
@@ -88,10 +99,13 @@
}, 10)
}
const isWritingText = (e) => (
e.path[0].tagName == 'INPUT' ||
e.path[0].id == 'contenteditable-root'
)
const isWritingText = (e) => {
const path = e.composedPath()
return (
path[0].tagName == 'INPUT' ||
path[0].id == 'contenteditable-root'
)
}
const delegateEvent = (eventName, elementSelector, handler) => {
document.addEventListener(eventName, (e) => {
@@ -119,7 +133,7 @@
})
document.addEventListener("keydown", e => {
if (isWatchVideoPage() && e.code == 'KeyF' && !isWritingText(e)) {
if (isWatchVideoPage() && !e.ctrlKey && e.code == 'KeyF' && !isWritingText(e)) {
console.log(e)
fastToggleFullScreen()
}

View File

@@ -29,30 +29,35 @@
<body>
<h1>userscript</h1><p>
<a class="NORM" href="..">..</a><br>
[&nbsp;981&nbsp;Dec&nbsp;31&nbsp;&nbsp;2022]&nbsp;&nbsp;<a class="EXEC" href="./Absolute Enable Right Click & Copy.options.json">Absolute Enable Right Click & Copy.options.json</a><br>
[&nbsp;&nbsp;30&nbsp;Dec&nbsp;31&nbsp;&nbsp;2022]&nbsp;&nbsp;<a class="EXEC" href="./Absolute Enable Right Click & Copy.storage.json">Absolute Enable Right Click & Copy.storage.json</a><br>
[6.3K&nbsp;Dec&nbsp;27&nbsp;&nbsp;2022]&nbsp;&nbsp;<a class="EXEC" href="./Absolute Enable Right Click & Copy.user.js">Absolute Enable Right Click & Copy.user.js</a><br>
[&nbsp;908&nbsp;Dec&nbsp;31&nbsp;&nbsp;2022]&nbsp;&nbsp;<a class="EXEC" href="./Disable page close confirmation.options.json">Disable page close confirmation.options.json</a><br>
[&nbsp;&nbsp;30&nbsp;Dec&nbsp;31&nbsp;&nbsp;2022]&nbsp;&nbsp;<a class="EXEC" href="./Disable page close confirmation.storage.json">Disable page close confirmation.storage.json</a><br>
[&nbsp;982&nbsp;Aug&nbsp;17&nbsp;14:15]&nbsp;&nbsp;<a class="EXEC" href="./Absolute Enable Right Click & Copy.options.json">Absolute Enable Right Click & Copy.options.json</a><br>
[&nbsp;&nbsp;30&nbsp;Aug&nbsp;17&nbsp;14:15]&nbsp;&nbsp;<a class="EXEC" href="./Absolute Enable Right Click & Copy.storage.json">Absolute Enable Right Click & Copy.storage.json</a><br>
[6.3K&nbsp;Apr&nbsp;20&nbsp;16:05]&nbsp;&nbsp;<a class="EXEC" href="./Absolute Enable Right Click & Copy.user.js">Absolute Enable Right Click & Copy.user.js</a><br>
[&nbsp;929&nbsp;Aug&nbsp;17&nbsp;14:15]&nbsp;&nbsp;<a class="EXEC" href="./Disable page close confirmation.options.json">Disable page close confirmation.options.json</a><br>
[&nbsp;&nbsp;30&nbsp;Aug&nbsp;17&nbsp;14:15]&nbsp;&nbsp;<a class="EXEC" href="./Disable page close confirmation.storage.json">Disable page close confirmation.storage.json</a><br>
[&nbsp;834&nbsp;Jan&nbsp;14&nbsp;&nbsp;2022]&nbsp;&nbsp;<a class="EXEC" href="./Disable page close confirmation.user.js">Disable page close confirmation.user.js</a><br>
[&nbsp;920&nbsp;Dec&nbsp;31&nbsp;&nbsp;2022]&nbsp;&nbsp;<a class="EXEC" href="./Google I'm Feeling Lucky Redirect.options.json">Google I'm Feeling Lucky Redirect.options.json</a><br>
[&nbsp;&nbsp;30&nbsp;Dec&nbsp;31&nbsp;&nbsp;2022]&nbsp;&nbsp;<a class="EXEC" href="./Google I'm Feeling Lucky Redirect.storage.json">Google I'm Feeling Lucky Redirect.storage.json</a><br>
[&nbsp;941&nbsp;Aug&nbsp;17&nbsp;14:15]&nbsp;&nbsp;<a class="EXEC" href="./Google I'm Feeling Lucky Redirect.options.json">Google I'm Feeling Lucky Redirect.options.json</a><br>
[&nbsp;&nbsp;30&nbsp;Aug&nbsp;17&nbsp;14:15]&nbsp;&nbsp;<a class="EXEC" href="./Google I'm Feeling Lucky Redirect.storage.json">Google I'm Feeling Lucky Redirect.storage.json</a><br>
[&nbsp;899&nbsp;Dec&nbsp;31&nbsp;&nbsp;2022]&nbsp;&nbsp;<a class="EXEC" href="./Google I'm Feeling Lucky Redirect.user.js">Google I'm Feeling Lucky Redirect.user.js</a><br>
[&nbsp;889&nbsp;Dec&nbsp;31&nbsp;&nbsp;2022]&nbsp;&nbsp;<a class="EXEC" href="./RPS Night Mode.options.json">RPS Night Mode.options.json</a><br>
[&nbsp;&nbsp;30&nbsp;Dec&nbsp;31&nbsp;&nbsp;2022]&nbsp;&nbsp;<a class="EXEC" href="./RPS Night Mode.storage.json">RPS Night Mode.storage.json</a><br>
[1.8K&nbsp;Dec&nbsp;31&nbsp;&nbsp;2022]&nbsp;&nbsp;<a class="EXEC" href="./RPS Night Mode.user.js">RPS Night Mode.user.js</a><br>
[2.0K&nbsp;Dec&nbsp;31&nbsp;&nbsp;2022]&nbsp;&nbsp;<a class="EXEC" href="./Tampermonkey.global.json">Tampermonkey.global.json</a><br>
[&nbsp;908&nbsp;Dec&nbsp;31&nbsp;&nbsp;2022]&nbsp;&nbsp;<a class="EXEC" href="./Vivaldi Forum Tweaks.options.json">Vivaldi Forum Tweaks.options.json</a><br>
[&nbsp;&nbsp;30&nbsp;Dec&nbsp;31&nbsp;&nbsp;2022]&nbsp;&nbsp;<a class="EXEC" href="./Vivaldi Forum Tweaks.storage.json">Vivaldi Forum Tweaks.storage.json</a><br>
[3.4K&nbsp;Dec&nbsp;31&nbsp;&nbsp;2022]&nbsp;&nbsp;<a class="EXEC" href="./Vivaldi Forum Tweaks.user.js">Vivaldi Forum Tweaks.user.js</a><br>
[&nbsp;885&nbsp;Dec&nbsp;31&nbsp;&nbsp;2022]&nbsp;&nbsp;<a class="EXEC" href="./YouTube fast fullscreen toggle.options.json">YouTube fast fullscreen toggle.options.json</a><br>
[&nbsp;&nbsp;30&nbsp;Dec&nbsp;31&nbsp;&nbsp;2022]&nbsp;&nbsp;<a class="EXEC" href="./YouTube fast fullscreen toggle.storage.json">YouTube fast fullscreen toggle.storage.json</a><br>
[5.2K&nbsp;Sep&nbsp;23&nbsp;&nbsp;2021]&nbsp;&nbsp;<a class="EXEC" href="./YouTube fast fullscreen toggle.user.js">YouTube fast fullscreen toggle.user.js</a><br>
[&nbsp;819&nbsp;Aug&nbsp;17&nbsp;14:15]&nbsp;&nbsp;<a class="EXEC" href="./Jira Night.options.json">Jira Night.options.json</a><br>
[&nbsp;&nbsp;30&nbsp;Aug&nbsp;17&nbsp;14:15]&nbsp;&nbsp;<a class="EXEC" href="./Jira Night.storage.json">Jira Night.storage.json</a><br>
[2.6K&nbsp;Jun&nbsp;&nbsp;8&nbsp;&nbsp;2023]&nbsp;&nbsp;<a class="EXEC" href="./Jira Night.user.js">Jira Night.user.js</a><br>
[&nbsp;877&nbsp;Aug&nbsp;17&nbsp;14:15]&nbsp;&nbsp;<a class="EXEC" href="./RPS Night Mode.options.json">RPS Night Mode.options.json</a><br>
[&nbsp;&nbsp;30&nbsp;Aug&nbsp;17&nbsp;14:15]&nbsp;&nbsp;<a class="EXEC" href="./RPS Night Mode.storage.json">RPS Night Mode.storage.json</a><br>
[2.2K&nbsp;Mar&nbsp;23&nbsp;16:56]&nbsp;&nbsp;<a class="EXEC" href="./RPS Night Mode.user.js">RPS Night Mode.user.js</a><br>
[&nbsp;766&nbsp;Aug&nbsp;17&nbsp;14:15]&nbsp;&nbsp;<a class="EXEC" href="./Unobtrusive Scrollbar.options.json">Unobtrusive Scrollbar.options.json</a><br>
[&nbsp;&nbsp;30&nbsp;Aug&nbsp;17&nbsp;14:15]&nbsp;&nbsp;<a class="EXEC" href="./Unobtrusive Scrollbar.storage.json">Unobtrusive Scrollbar.storage.json</a><br>
[&nbsp;638&nbsp;Jul&nbsp;17&nbsp;10:22]&nbsp;&nbsp;<a class="EXEC" href="./Unobtrusive Scrollbar.user.js">Unobtrusive Scrollbar.user.js</a><br>
[&nbsp;939&nbsp;Aug&nbsp;17&nbsp;14:15]&nbsp;&nbsp;<a class="EXEC" href="./Vivaldi Forum Tweaks.options.json">Vivaldi Forum Tweaks.options.json</a><br>
[&nbsp;&nbsp;30&nbsp;Aug&nbsp;17&nbsp;14:15]&nbsp;&nbsp;<a class="EXEC" href="./Vivaldi Forum Tweaks.storage.json">Vivaldi Forum Tweaks.storage.json</a><br>
[5.1K&nbsp;Jun&nbsp;19&nbsp;17:57]&nbsp;&nbsp;<a class="EXEC" href="./Vivaldi Forum Tweaks.user.js">Vivaldi Forum Tweaks.user.js</a><br>
[&nbsp;909&nbsp;Aug&nbsp;17&nbsp;14:15]&nbsp;&nbsp;<a class="EXEC" href="./YouTube fast fullscreen toggle.options.json">YouTube fast fullscreen toggle.options.json</a><br>
[&nbsp;&nbsp;30&nbsp;Aug&nbsp;17&nbsp;14:15]&nbsp;&nbsp;<a class="EXEC" href="./YouTube fast fullscreen toggle.storage.json">YouTube fast fullscreen toggle.storage.json</a><br>
[5.4K&nbsp;Apr&nbsp;19&nbsp;21:17]&nbsp;&nbsp;<a class="EXEC" href="./YouTube fast fullscreen toggle.user.js">YouTube fast fullscreen toggle.user.js</a><br>
<br><br>
</p>
<p>
0 directories, 19 files
0 directories, 24 files
<br><br>
</p>
</html>