This commit is contained in:
Stian Lund
2024-08-17 16:49:23 +02:00
parent f57e05b4cf
commit 6bf6da728f
33 changed files with 339 additions and 278 deletions
@@ -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"}}
@@ -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;
}
}
@@ -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"}}
@@ -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"}}
+1
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}}
+1
View File
@@ -0,0 +1 @@
{"ts":1686258920625,"data":{}}
+76
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();
})();
@@ -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"}}
+10 -4
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;}
`);
@@ -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"}
+1
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}}
+1
View File
@@ -0,0 +1 @@
{"ts":1687465723517,"data":{}}
+19
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}
`);
@@ -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"}}
@@ -1 +1 @@
{"ts":1672497325995,"data":{}}
{"ts":1692186589338,"data":{}}
+70 -45
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;}
`);
@@ -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"}}
@@ -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()
}
+23 -18
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>