Last active
December 18, 2023 17:26
-
-
Save Justaus3r/b6cf267fdb3432243897b93ecf6fe3f4 to your computer and use it in GitHub Desktop.
Updated: 2023-12-18 09:26:15.284291
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
My Config for Qutebrowser | |
""" | |
import os | |
import sys | |
_set = config.set | |
bind = config.bind | |
unbind = config.unbind | |
#assumes that you have set the GITHUB_SECRET_KEY env var | |
# a very bad workaround, but meh , it works | |
sync_pycode = "import os;from ceg.api import CegApi;from datetime import datetime;ceg_instance = CegApi(secret_key=os.getenv('GITHUB_SECRET_KEY'));time_now: str = str(datetime.now());gist_id :str = 'b6cf267fdb3432243897b93ecf6fe3f4';loc = os.path.join(os.getenv('APPDATA'),'qutebrowser', 'config')" | |
sync_pycode_quickmarks = str(sync_pycode + ";ceg_instance.patch(f'{loc}\\\\quickmarks', gist_id = gist_id, gist_description=f'Updated: {time_now}')") | |
sync_pycode_configs = str(sync_pycode + ";ceg_instance.patch(f'{loc}\\\\config.py', gist_id = gist_id, gist_description=f'Updated: {time_now}')") | |
config.load_autoconfig() | |
c.url.searchengines['DEFAULT'] = "https://duckduckgo.com/?q={}" | |
#qute_conf_dir: str = "{}/.config/qutebrowser".format(os.getenv('HOME')) | |
c.aliases = {'q': 'quit', 'w': 'session-save', 'wq': 'quit --save', "yt": "open -t https://www.youtube.com/search?q=", "anilist": "open -t https://www.anilist.co/home", "manga": "open -t https://www.mangafire.to", "github": "open -t https://github.com", "discord": "open -t https://www.discord.com/app", "sync_quickmarks": f'spawn py -c "{sync_pycode_quickmarks}"', "sync_config": f'spawn py -c "{sync_pycode_configs}"', "router": "open -t 192.168.1.1", "cms": "open -t https://cms.bahria.edu.pk"} | |
unbind("co") | |
bind("r", "fake-key f", mode = "normal") | |
_set("content.autoplay", False) | |
_set("url.start_pages", "http://duckduckgo.com") | |
_set("auto_save.session", True) | |
_set("content.pdfjs", True) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OsDev-Hardware-and-Interrupts https://ethv.net/workshops/osdev/notes/notes-3.html | |
x86-interrupt-list https://www.cs.cmu.edu/~ralf/files.html | |
OsDev-wiki https://wiki.osdev.org/Main_Page | |
OsDev-wiki2 https://osdev.wiki/ | |
Nim-lang-booooook https://ssalewski.de/nimprogramming.html | |
Qemu-Usage https://www.cloudsavvyit.com/6719/how-to-use-qemu-to-boot-another-os/ | |
Abc https://docs.python.org/3/library/abc.html | |
Qemu-startup https://drewdevault.com/2018/09/10/Getting-started-with-qemu.html | |
True Random No Generator https://qrng.anu.edu.au/ | |
CPP/C cheetsheet https://www.cppcheatsheet.com/ | |
PyCheetSheet https://github.com/crazyguitar/pysheeet | |
PyLexer https://github.com/crazyguitar/pysheeet/blob/master/docs/notes/python-rexp.rst#Lexer | |
Git CheetSheet https://training.github.com/downloads/github-git-cheat-sheet/ | |
Python Execution model https://docs.python.org/3/reference/executionmodel.html | |
Stacks and heaps https://stackoverflow.com/questions/79923/what-and-where-are-the-stack-and-heap/80113#80113 | |
Call stack https://en.wikipedia.org/wiki/Call_stack | |
x86 assembly guide https://www.cs.virginia.edu/~evans/cs216/guides/x86.html | |
Writing a compiler. https://norasandler.com/2017/11/29/Write-a-Compiler.html | |
Calls and the stack https://sites.cs.ucsb.edu/~pconrad/cs8/topics.beta/theStack/01/ | |
Dotfiles http://dotfiles.github.io/ | |
free manga https://www.viz.com/shonenjump | |
CraftingInterpreters https://craftinginterpreters.com/ | |
OOPPY https://python-course.eu/oop/properties-vs-getters-and-setters.php | |
Block Printscr https://unix.stackexchange.com/questions/74151/fully-disable-prntscr-key | |
GoFile https://gofile.io/ | |
Programmable SearchEngine for Linux Shizz https://www.die.net/ | |
Malware analysis Tcm Security Course https://academy.tcm-sec.com/courses/enrolled/1547503 | |
Resolve Python Relative Import https://stackoverflow.com/questions/14132789/relative-imports-for-the-billionth-time?rq=1 | |
Diff bw terminal,shell,tty,console https://unix.stackexchange.com/questions/4126/what-is-the-exact-difference-between-a-terminal-a-shell-a-tty-and-a-con | |
Usage of __slots__ https://stackoverflow.com/questions/472000/usage-of-slots | |
Single Unix Specification(SUS) https://en.wikipedia.org/wiki/Single_UNIX_Specification | |
Awesome programming langs list https://github.com/ChessMax/awesome-programming-languages | |
Falsehoods programmers beliebe about time https://infiniteundo.com/post/25326999628/falsehoods-programmers-believe-about-time | |
Wallpapers https://metafates.one/Wallery/ | |
Welp smth bytecode related http://gameprogrammingpatterns.com/bytecode.html | |
Vim reference guide https://learnbyexample.github.io/vim_reference/ | |
how does assembly gets interpreted to basic level https://stackoverflow.com/questions/49489376/how-does-assembly-code-actually-get-interpreted-at-the-basic-level | |
Access Specifiers https://en.cppreference.com/w/cpp/language/access |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Return YouTube Dislike | |
// @namespace https://www.returnyoutubedislike.com/ | |
// @homepage https://www.returnyoutubedislike.com/ | |
// @version 3.1.4 | |
// @encoding utf-8 | |
// @description Return of the YouTube Dislike, Based off https://www.returnyoutubedislike.com/ | |
// @icon https://github.com/Anarios/return-youtube-dislike/raw/main/Icons/Return%20Youtube%20Dislike%20-%20Transparent.png | |
// @author Anarios & JRWR | |
// @match *://*.youtube.com/* | |
// @exclude *://music.youtube.com/* | |
// @exclude *://*.music.youtube.com/* | |
// @compatible chrome | |
// @compatible firefox | |
// @compatible opera | |
// @compatible safari | |
// @compatible edge | |
// @downloadURL https://github.com/Anarios/return-youtube-dislike/raw/main/Extensions/UserScript/Return%20Youtube%20Dislike.user.js | |
// @updateURL https://github.com/Anarios/return-youtube-dislike/raw/main/Extensions/UserScript/Return%20Youtube%20Dislike.user.js | |
// @grant GM.xmlHttpRequest | |
// @connect youtube.com | |
// @grant GM_addStyle | |
// @run-at document-end | |
// ==/UserScript== | |
const extConfig = { | |
// BEGIN USER OPTIONS | |
// You may change the following variables to allowed values listed in the corresponding brackets (* means default). Keep the style and keywords intact. | |
showUpdatePopup: false, // [true, false*] Show a popup tab after extension update (See what's new) | |
disableVoteSubmission: false, // [true, false*] Disable like/dislike submission (Stops counting your likes and dislikes) | |
coloredThumbs: false, // [true, false*] Colorize thumbs (Use custom colors for thumb icons) | |
coloredBar: false, // [true, false*] Colorize ratio bar (Use custom colors for ratio bar) | |
colorTheme: "classic", // [classic*, accessible, neon] Color theme (red/green, blue/yellow, pink/cyan) | |
numberDisplayFormat: "compactShort", // [compactShort*, compactLong, standard] Number format (For non-English locale users, you may be able to improve appearance with a different option. Please file a feature request if your locale is not covered) | |
numberDisplayRoundDown: true, // [true*, false] Round down numbers (Show rounded down numbers) | |
tooltipPercentageMode: "none", // [none*, dash_like, dash_dislike, both, only_like, only_dislike] Mode of showing percentage in like/dislike bar tooltip. | |
numberDisplayReformatLikes: false, // [true, false*] Re-format like numbers (Make likes and dislikes format consistent) | |
rateBarEnabled: false // [true, false*] Enables ratio bar under like/dislike buttons | |
// END USER OPTIONS | |
}; | |
const LIKED_STATE = "LIKED_STATE"; | |
const DISLIKED_STATE = "DISLIKED_STATE"; | |
const NEUTRAL_STATE = "NEUTRAL_STATE"; | |
let previousState = 3; //1=LIKED, 2=DISLIKED, 3=NEUTRAL | |
let likesvalue = 0; | |
let dislikesvalue = 0; | |
let preNavigateLikeButton = null; | |
let isMobile = location.hostname == "m.youtube.com"; | |
let isShorts = () => location.pathname.startsWith("/shorts"); | |
let mobileDislikes = 0; | |
function cLog(text, subtext = "") { | |
subtext = subtext.trim() === "" ? "" : `(${subtext})`; | |
console.log(`[Return YouTube Dislikes] ${text} ${subtext}`); | |
} | |
function isInViewport(element) { | |
const rect = element.getBoundingClientRect(); | |
const height = innerHeight || document.documentElement.clientHeight; | |
const width = innerWidth || document.documentElement.clientWidth; | |
return ( | |
// When short (channel) is ignored, the element (like/dislike AND short itself) is | |
// hidden with a 0 DOMRect. In this case, consider it outside of Viewport | |
!(rect.top == 0 && rect.left == 0 && rect.bottom == 0 && rect.right == 0) && | |
rect.top >= 0 && | |
rect.left >= 0 && | |
rect.bottom <= height && | |
rect.right <= width | |
); | |
} | |
function getButtons() { | |
if (isShorts()) { | |
let elements = document.querySelectorAll( | |
isMobile | |
? "ytm-like-button-renderer" | |
: "#like-button > ytd-like-button-renderer" | |
); | |
for (let element of elements) { | |
if (isInViewport(element)) { | |
return element; | |
} | |
} | |
} | |
if (isMobile) { | |
return ( | |
document.querySelector(".slim-video-action-bar-actions .segmented-buttons") ?? | |
document.querySelector(".slim-video-action-bar-actions") | |
); | |
} | |
if (document.getElementById("menu-container")?.offsetParent === null) { | |
return ( | |
document.querySelector("ytd-menu-renderer.ytd-watch-metadata > div") ?? | |
document.querySelector("ytd-menu-renderer.ytd-video-primary-info-renderer > div") | |
); | |
} else { | |
return document | |
.getElementById("menu-container") | |
?.querySelector("#top-level-buttons-computed"); | |
} | |
} | |
function getDislikeButton() { | |
if (getButtons().children[0].tagName === | |
"YTD-SEGMENTED-LIKE-DISLIKE-BUTTON-RENDERER") | |
{ | |
if (getButtons().children[0].children[1] === undefined) { | |
return document.querySelector("#segmented-dislike-button"); | |
} else { | |
return getButtons().children[0].children[1]; | |
} | |
} else { | |
if (getButtons().querySelector("segmented-like-dislike-button-view-model")) { | |
const dislikeViewModel = getButtons().querySelector("dislike-button-view-model"); | |
if (!dislikeViewModel) cLog("Dislike button wasn't added to DOM yet..."); | |
return dislikeViewModel; | |
} else { | |
return getButtons().children[1]; | |
} | |
} | |
} | |
function getLikeButton() { | |
return getButtons().children[0].tagName === | |
"YTD-SEGMENTED-LIKE-DISLIKE-BUTTON-RENDERER" | |
? document.querySelector("#segmented-like-button") !== null ? document.querySelector("#segmented-like-button") : getButtons().children[0].children[0] | |
: getButtons().querySelector("like-button-view-model") ?? getButtons().children[0]; | |
} | |
function getLikeTextContainer() { | |
return ( | |
getLikeButton().querySelector("#text") ?? | |
getLikeButton().getElementsByTagName("yt-formatted-string")[0] ?? | |
getLikeButton().querySelector("span[role='text']") | |
); | |
} | |
function getDislikeTextContainer() { | |
const dislikeButton = getDislikeButton(); | |
let result = | |
dislikeButton?.querySelector("#text") ?? | |
dislikeButton?.getElementsByTagName("yt-formatted-string")[0] ?? | |
dislikeButton?.querySelector("span[role='text']") | |
if (result === null) { | |
let textSpan = document.createElement("span"); | |
textSpan.id = "text"; | |
textSpan.style.marginLeft = "6px"; | |
dislikeButton?.querySelector("button").appendChild(textSpan); | |
if (dislikeButton) dislikeButton.querySelector("button").style.width = "auto"; | |
result = textSpan; | |
} | |
return result; | |
} | |
function createObserver(options, callback) { | |
const observerWrapper = new Object(); | |
observerWrapper.options = options; | |
observerWrapper.observer = new MutationObserver(callback); | |
observerWrapper.observe = function (element) { this.observer.observe(element, this.options); } | |
observerWrapper.disconnect = function () { this.observer.disconnect(); } | |
return observerWrapper; | |
} | |
let shortsObserver = null; | |
if (isShorts() && !shortsObserver) { | |
cLog("Initializing shorts mutation observer"); | |
shortsObserver = createObserver({ | |
attributes: true | |
}, (mutationList) => { | |
mutationList.forEach((mutation) => { | |
if ( | |
mutation.type === "attributes" && | |
mutation.target.nodeName === "TP-YT-PAPER-BUTTON" && | |
mutation.target.id === "button" | |
) { | |
cLog("Short thumb button status changed"); | |
if (mutation.target.getAttribute("aria-pressed") === "true") { | |
mutation.target.style.color = | |
mutation.target.parentElement.parentElement.id === "like-button" | |
? getColorFromTheme(true) | |
: getColorFromTheme(false); | |
} else { | |
mutation.target.style.color = "unset"; | |
} | |
return; | |
} | |
cLog( | |
"Unexpected mutation observer event: " + mutation.target + mutation.type | |
); | |
}); | |
}); | |
} | |
function isVideoLiked() { | |
if (isMobile) { | |
return ( | |
getLikeButton().querySelector("button").getAttribute("aria-label") == | |
"true" | |
); | |
} | |
return getLikeButton().classList.contains("style-default-active"); | |
} | |
function isVideoDisliked() { | |
if (isMobile) { | |
return ( | |
getDislikeButton()?.querySelector("button").getAttribute("aria-label") == | |
"true" | |
); | |
} | |
return getDislikeButton()?.classList.contains("style-default-active"); | |
} | |
function isVideoNotLiked() { | |
if (isMobile) { | |
return !isVideoLiked(); | |
} | |
return getLikeButton().classList.contains("style-text"); | |
} | |
function isVideoNotDisliked() { | |
if (isMobile) { | |
return !isVideoDisliked(); | |
} | |
return getDislikeButton()?.classList.contains("style-text"); | |
} | |
function checkForUserAvatarButton() { | |
if (isMobile) { | |
return; | |
} | |
if (document.querySelector("#avatar-btn")) { | |
return true; | |
} else { | |
return false; | |
} | |
} | |
function getState() { | |
if (isVideoLiked()) { | |
return LIKED_STATE; | |
} | |
if (isVideoDisliked()) { | |
return DISLIKED_STATE; | |
} | |
return NEUTRAL_STATE; | |
} | |
function setLikes(likesCount) { | |
if (isMobile) { | |
getButtons().children[0].querySelector(".button-renderer-text").innerText = | |
likesCount; | |
return; | |
} | |
getLikeTextContainer().innerText = likesCount; | |
} | |
function setDislikes(dislikesCount) { | |
if (isMobile) { | |
mobileDislikes = dislikesCount; | |
return; | |
} | |
getDislikeTextContainer()?.removeAttribute('is-empty'); | |
getDislikeTextContainer().innerText = dislikesCount; | |
} | |
function getLikeCountFromButton() { | |
try { | |
if (isShorts()) { | |
//Youtube Shorts don't work with this query. It's not necessary; we can skip it and still see the results. | |
//It should be possible to fix this function, but it's not critical to showing the dislike count. | |
return false; | |
} | |
let likeButton = getLikeButton() | |
.querySelector("yt-formatted-string#text") ?? | |
getLikeButton().querySelector("button"); | |
let likesStr = likeButton.getAttribute("aria-label") | |
.replace(/\D/g, ""); | |
return likesStr.length > 0 ? parseInt(likesStr) : false; | |
} | |
catch { | |
return false; | |
} | |
} | |
(typeof GM_addStyle != "undefined" | |
? GM_addStyle | |
: (styles) => { | |
let styleNode = document.createElement("style"); | |
styleNode.type = "text/css"; | |
styleNode.innerText = styles; | |
document.head.appendChild(styleNode); | |
})(` | |
#return-youtube-dislike-bar-container { | |
background: var(--yt-spec-icon-disabled); | |
border-radius: 2px; | |
} | |
#return-youtube-dislike-bar { | |
background: var(--yt-spec-text-primary); | |
border-radius: 2px; | |
transition: all 0.15s ease-in-out; | |
} | |
.ryd-tooltip { | |
position: absolute; | |
display: block; | |
height: 2px; | |
bottom: -10px; | |
} | |
.ryd-tooltip-bar-container { | |
width: 100%; | |
height: 2px; | |
position: absolute; | |
padding-top: 6px; | |
padding-bottom: 12px; | |
top: -6px; | |
} | |
ytd-menu-renderer.ytd-watch-metadata { | |
overflow-y: visible !important; | |
} | |
#top-level-buttons-computed { | |
position: relative !important; | |
} | |
`); | |
function createRateBar(likes, dislikes) { | |
if (isMobile || !extConfig.rateBarEnabled) { | |
return; | |
} | |
let rateBar = document.getElementById("return-youtube-dislike-bar-container"); | |
const widthPx = | |
getLikeButton().clientWidth + | |
(getDislikeButton()?.clientWidth ?? 52); | |
const widthPercent = | |
likes + dislikes > 0 ? (likes / (likes + dislikes)) * 100 : 50; | |
var likePercentage = parseFloat(widthPercent.toFixed(1)); | |
const dislikePercentage = (100 - likePercentage).toLocaleString(); | |
likePercentage = likePercentage.toLocaleString(); | |
var tooltipInnerHTML; | |
switch (extConfig.tooltipPercentageMode) { | |
case "dash_like": | |
tooltipInnerHTML = `${likes.toLocaleString()} / ${dislikes.toLocaleString()} - ${likePercentage}%`; | |
break; | |
case "dash_dislike": | |
tooltipInnerHTML = `${likes.toLocaleString()} / ${dislikes.toLocaleString()} - ${dislikePercentage}%`; | |
break; | |
case "both": | |
tooltipInnerHTML = `${likePercentage}% / ${dislikePercentage}%`; | |
break; | |
case "only_like": | |
tooltipInnerHTML = `${likePercentage}%`; | |
break; | |
case "only_dislike": | |
tooltipInnerHTML = `${dislikePercentage}%`; | |
break; | |
default: | |
tooltipInnerHTML = `${likes.toLocaleString()} / ${dislikes.toLocaleString()}`; | |
} | |
if (!rateBar && !isMobile) { | |
let colorLikeStyle = ""; | |
let colorDislikeStyle = ""; | |
if (extConfig.coloredBar) { | |
colorLikeStyle = "; background-color: " + getColorFromTheme(true); | |
colorDislikeStyle = "; background-color: " + getColorFromTheme(false); | |
} | |
getButtons().insertAdjacentHTML( | |
"beforeend", | |
` | |
<div class="ryd-tooltip" style="width: ${widthPx}px"> | |
<div class="ryd-tooltip-bar-container"> | |
<div | |
id="return-youtube-dislike-bar-container" | |
style="width: 100%; height: 2px;${colorDislikeStyle}" | |
> | |
<div | |
id="return-youtube-dislike-bar" | |
style="width: ${widthPercent}%; height: 100%${colorDislikeStyle}" | |
></div> | |
</div> | |
</div> | |
<tp-yt-paper-tooltip position="top" id="ryd-dislike-tooltip" class="style-scope ytd-sentiment-bar-renderer" role="tooltip" tabindex="-1"> | |
<!--css-build:shady-->${tooltipInnerHTML} | |
</tp-yt-paper-tooltip> | |
</div> | |
` | |
); | |
let descriptionAndActionsElement = document.getElementById("top-row"); | |
descriptionAndActionsElement.style.borderBottom = | |
"1px solid var(--yt-spec-10-percent-layer)"; | |
descriptionAndActionsElement.style.paddingBottom = "10px"; | |
} else { | |
document.querySelector( | |
".ryd-tooltip" | |
).style.width = widthPx + "px"; | |
document.getElementById("return-youtube-dislike-bar").style.width = | |
widthPercent + "%"; | |
if (extConfig.coloredBar) { | |
document.getElementById( | |
"return-youtube-dislike-bar-container" | |
).style.backgroundColor = getColorFromTheme(false); | |
document.getElementById( | |
"return-youtube-dislike-bar" | |
).style.backgroundColor = getColorFromTheme(true); | |
} | |
} | |
} | |
function setState() { | |
cLog("Fetching votes..."); | |
let statsSet = false; | |
fetch( | |
`https://returnyoutubedislikeapi.com/votes?videoId=${getVideoId()}` | |
).then((response) => { | |
response.json().then((json) => { | |
if (json && !("traceId" in response) && !statsSet) { | |
const { dislikes, likes } = json; | |
cLog(`Received count: ${dislikes}`); | |
likesvalue = likes; | |
dislikesvalue = dislikes; | |
setDislikes(numberFormat(dislikes)); | |
if (extConfig.numberDisplayReformatLikes === true) { | |
const nativeLikes = getLikeCountFromButton(); | |
if (nativeLikes !== false) { | |
setLikes(numberFormat(nativeLikes)); | |
} | |
} | |
createRateBar(likes, dislikes); | |
if (extConfig.coloredThumbs === true) { | |
const dislikeButton = getDislikeButton(); | |
if (isShorts()) { | |
// for shorts, leave deactived buttons in default color | |
const shortLikeButton = getLikeButton().querySelector( | |
"tp-yt-paper-button#button" | |
); | |
const shortDislikeButton = dislikeButton?.querySelector( | |
"tp-yt-paper-button#button" | |
); | |
if (shortLikeButton.getAttribute("aria-pressed") === "true") { | |
shortLikeButton.style.color = getColorFromTheme(true); | |
} | |
if (shortDislikeButton && | |
shortDislikeButton.getAttribute("aria-pressed") === "true") | |
{ | |
shortDislikeButton.style.color = getColorFromTheme(false); | |
} | |
shortsObserver.observe(shortLikeButton); | |
shortsObserver.observe(shortDislikeButton); | |
} else { | |
getLikeButton().style.color = getColorFromTheme(true); | |
if (dislikeButton) dislikeButton.style.color = getColorFromTheme(false); | |
} | |
} | |
} | |
}); | |
}); | |
} | |
function updateDOMDislikes() { | |
setDislikes(numberFormat(dislikesvalue)); | |
createRateBar(likesvalue, dislikesvalue); | |
} | |
function likeClicked() { | |
if (checkForUserAvatarButton() == true) { | |
if (previousState == 1) { | |
likesvalue--; | |
updateDOMDislikes(); | |
previousState = 3; | |
} else if (previousState == 2) { | |
likesvalue++; | |
dislikesvalue--; | |
updateDOMDislikes(); | |
previousState = 1; | |
} else if (previousState == 3) { | |
likesvalue++; | |
updateDOMDislikes(); | |
previousState = 1; | |
} | |
if (extConfig.numberDisplayReformatLikes === true) { | |
const nativeLikes = getLikeCountFromButton(); | |
if (nativeLikes !== false) { | |
setLikes(numberFormat(nativeLikes)); | |
} | |
} | |
} | |
} | |
function dislikeClicked() { | |
if (checkForUserAvatarButton() == true) { | |
if (previousState == 3) { | |
dislikesvalue++; | |
updateDOMDislikes(); | |
previousState = 2; | |
} else if (previousState == 2) { | |
dislikesvalue--; | |
updateDOMDislikes(); | |
previousState = 3; | |
} else if (previousState == 1) { | |
likesvalue--; | |
dislikesvalue++; | |
updateDOMDislikes(); | |
previousState = 2; | |
if (extConfig.numberDisplayReformatLikes === true) { | |
const nativeLikes = getLikeCountFromButton(); | |
if (nativeLikes !== false) { | |
setLikes(numberFormat(nativeLikes)); | |
} | |
} | |
} | |
} | |
} | |
function setInitialState() { | |
setState(); | |
} | |
function getVideoId() { | |
const urlObject = new URL(window.location.href); | |
const pathname = urlObject.pathname; | |
if (pathname.startsWith("/clip")) { | |
return document.querySelector("meta[itemprop='videoId']").content; | |
} else { | |
if (pathname.startsWith("/shorts")) { | |
return pathname.slice(8); | |
} | |
return urlObject.searchParams.get("v"); | |
} | |
} | |
function isVideoLoaded() { | |
if (isMobile) { | |
return document.getElementById("player").getAttribute("loading") == "false"; | |
} | |
const videoId = getVideoId(); | |
return ( | |
document.querySelector(`ytd-watch-flexy[video-id='${videoId}']`) !== null | |
); | |
} | |
function roundDown(num) { | |
if (num < 1000) return num; | |
const int = Math.floor(Math.log10(num) - 2); | |
const decimal = int + (int % 3 ? 1 : 0); | |
const value = Math.floor(num / 10 ** decimal); | |
return value * 10 ** decimal; | |
} | |
function numberFormat(numberState) { | |
let numberDisplay; | |
if (extConfig.numberDisplayRoundDown === false) { | |
numberDisplay = numberState; | |
} else { | |
numberDisplay = roundDown(numberState); | |
} | |
return getNumberFormatter(extConfig.numberDisplayFormat).format( | |
numberDisplay | |
); | |
} | |
function getNumberFormatter(optionSelect) { | |
let userLocales; | |
if (document.documentElement.lang) { | |
userLocales = document.documentElement.lang; | |
} else if (navigator.language) { | |
userLocales = navigator.language; | |
} else { | |
try { | |
userLocales = new URL( | |
Array.from(document.querySelectorAll("head > link[rel='search']")) | |
?.find((n) => n?.getAttribute("href")?.includes("?locale=")) | |
?.getAttribute("href") | |
)?.searchParams?.get("locale"); | |
} catch { | |
cLog( | |
"Cannot find browser locale. Use en as default for number formatting." | |
); | |
userLocales = "en"; | |
} | |
} | |
let formatterNotation; | |
let formatterCompactDisplay; | |
switch (optionSelect) { | |
case "compactLong": | |
formatterNotation = "compact"; | |
formatterCompactDisplay = "long"; | |
break; | |
case "standard": | |
formatterNotation = "standard"; | |
formatterCompactDisplay = "short"; | |
break; | |
case "compactShort": | |
default: | |
formatterNotation = "compact"; | |
formatterCompactDisplay = "short"; | |
} | |
const formatter = Intl.NumberFormat(userLocales, { | |
notation: formatterNotation, | |
compactDisplay: formatterCompactDisplay, | |
}); | |
return formatter; | |
} | |
function getColorFromTheme(voteIsLike) { | |
let colorString; | |
switch (extConfig.colorTheme) { | |
case "accessible": | |
if (voteIsLike === true) { | |
colorString = "dodgerblue"; | |
} else { | |
colorString = "gold"; | |
} | |
break; | |
case "neon": | |
if (voteIsLike === true) { | |
colorString = "aqua"; | |
} else { | |
colorString = "magenta"; | |
} | |
break; | |
case "classic": | |
default: | |
if (voteIsLike === true) { | |
colorString = "lime"; | |
} else { | |
colorString = "red"; | |
} | |
} | |
return colorString; | |
} | |
let smartimationObserver = null; | |
function setEventListeners(evt) { | |
let jsInitChecktimer; | |
function checkForJS_Finish() { | |
//console.log(); | |
if (isShorts() || (getButtons()?.offsetParent && isVideoLoaded())) { | |
const buttons = getButtons(); | |
const dislikeButton = getDislikeButton(); | |
if (preNavigateLikeButton !== getLikeButton() && dislikeButton) { | |
cLog("Registering button listeners..."); | |
try { | |
getLikeButton().addEventListener("click", likeClicked); | |
dislikeButton?.addEventListener("click", dislikeClicked); | |
getLikeButton().addEventListener("touchstart", likeClicked); | |
dislikeButton?.addEventListener("touchstart", dislikeClicked); | |
dislikeButton?.addEventListener("focusin", updateDOMDislikes); | |
dislikeButton?.addEventListener("focusout", updateDOMDislikes); | |
preNavigateLikeButton = getLikeButton(); | |
if (!smartimationObserver) { | |
smartimationObserver = createObserver({ | |
attributes: true, | |
subtree: true | |
}, updateDOMDislikes); | |
smartimationObserver.container = null; | |
} | |
const smartimationContainer = buttons.querySelector('yt-smartimation'); | |
if (smartimationContainer && | |
smartimationObserver.container != smartimationContainer) | |
{ | |
cLog("Initializing smartimation mutation observer"); | |
smartimationObserver.disconnect(); | |
smartimationObserver.observe(smartimationContainer); | |
smartimationObserver.container = smartimationContainer; | |
} | |
} catch { | |
return; | |
} //Don't spam errors into the console | |
} | |
if (dislikeButton) { | |
setInitialState(); | |
clearInterval(jsInitChecktimer); | |
} | |
} | |
} | |
cLog("Setting up..."); | |
jsInitChecktimer = setInterval(checkForJS_Finish, 111); | |
} | |
(function () { | |
"use strict"; | |
window.addEventListener("yt-navigate-finish", setEventListeners, true); | |
setEventListeners(); | |
})(); | |
if (isMobile) { | |
let originalPush = history.pushState; | |
history.pushState = function (...args) { | |
window.returnDislikeButtonlistenersSet = false; | |
setEventListeners(args[2]); | |
return originalPush.apply(history, args); | |
}; | |
setInterval(() => { | |
const dislikeButton = getDislikeButton(); | |
if(dislikeButton?.querySelector(".button-renderer-text") === null){ | |
getDislikeTextContainer().innerText = mobileDislikes; | |
} | |
else{ | |
if (dislikeButton) dislikeButton.querySelector(".button-renderer-text").innerText = | |
mobileDislikes; | |
} | |
}, 1000); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Remove Adblock Thing | |
// @namespace http://tampermonkey.net/ | |
// @version 2.8 | |
// @description Removes Adblock Thing | |
// @author JoelMatic | |
// @match https://www.youtube.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com | |
// @updateURL https://github.com/TheRealJoelmatic/RemoveAdblockThing/raw/main/Youtube-Ad-blocker-Reminder-Remover.user.js | |
// @downloadURL https://github.com/TheRealJoelmatic/RemoveAdblockThing/raw/main/Youtube-Ad-blocker-Reminder-Remover.user.js | |
// @grant none | |
// ==/UserScript== | |
(function() | |
{ | |
// | |
// Config | |
// | |
// Enable The Undetected Adblocker | |
const adblocker = true; | |
// Enable The Popup remover (pointless if you have the Undetected Adblocker) | |
const removePopup = false; | |
// Checks for updates | |
const updateCheck = true; | |
// Enable debug messages into the console | |
const debugMessages = true; | |
// | |
// CODE | |
// | |
// If you have any suggestions, bug reports, | |
// or want to contribute to this userscript, | |
// feel free to create issues or pull requests in the GitHub repository. | |
// | |
// GITHUB: https://github.com/TheRealJoelmatic/RemoveAdblockThing | |
// | |
// Varables used for the Popup Remover | |
// | |
const keyEvent = new KeyboardEvent("keydown", { | |
key: "k", | |
code: "KeyK", | |
keyCode: 75, | |
which: 75, | |
bubbles: true, | |
cancelable: true, | |
view: window | |
}); | |
let mouseEvent = new MouseEvent("click", { | |
bubbles: true, | |
cancelable: true, | |
view: window, | |
}); | |
//This is used to check if the video has been unpaused already | |
let unpausedAfterSkip = 0; | |
// | |
// Varables used for adblock | |
// | |
// Store the initial URL | |
let currentUrl = window.location.href; | |
// | |
// Varables used for updater | |
// | |
let hasIgnoredUpdate = false; | |
// | |
// Setup | |
// | |
//Set everything up here | |
if (debugMessages) console.log("Remove Adblock Thing: Script started "); | |
if (adblocker) removeAds(); | |
if (removePopup) popupRemover(); | |
if (updateCheck) checkForUpdate(); | |
// Remove Them pesski popups | |
function popupRemover() { | |
setInterval(() => { | |
const fullScreenButton = document.querySelector(".ytp-fullscreen-button"); | |
const modalOverlay = document.querySelector("tp-yt-iron-overlay-backdrop"); | |
const popup = document.querySelector(".style-scope ytd-enforcement-message-view-model"); | |
const popupButton = document.getElementById("dismiss-button"); | |
const video1 = document.querySelector("#movie_player > video.html5-main-video"); | |
const video2 = document.querySelector("#movie_player > .html5-video-container > video"); | |
const bodyStyle = document.body.style; | |
bodyStyle.setProperty('overflow-y', 'auto', 'important'); | |
if (modalOverlay) { | |
modalOverlay.removeAttribute("opened"); | |
modalOverlay.remove(); | |
} | |
if (popup) { | |
if (debugMessages) console.log("Remove Adblock Thing: Popup detected, removing..."); | |
if(popupButton) popupButton.click(); | |
popup.remove(); | |
unpausedAfterSkip = 2; | |
fullScreenButton.dispatchEvent(mouseEvent); | |
setTimeout(() => { | |
fullScreenButton.dispatchEvent(mouseEvent); | |
}, 500); | |
if (debugMessages) console.log("Remove Adblock Thing: Popup removed"); | |
} | |
// Check if the video is paused after removing the popup | |
if (!unpausedAfterSkip > 0) return; | |
// UnPause The Video | |
unPauseVideo(video1); | |
unPauseVideo(video2); | |
}, 1000); | |
} | |
// undetected adblocker method | |
function removeAds() | |
{ | |
if (debugMessages) console.log("Remove Adblock Thing: removeAds()"); | |
setInterval(() =>{ | |
const ad = [...document.querySelectorAll('.ad-showing')][0]; | |
//remove page ads | |
if (window.location.href !== currentUrl) { | |
currentUrl = window.location.href; | |
removePageAds(); | |
} | |
if (ad) | |
{ | |
if (debugMessages) console.log("Remove Adblock Thing: Found Ad"); | |
const video = document.querySelector('video'); | |
const skipBtn = document.querySelector('.videoAdUiSkipButton,.ytp-ad-skip-button'); | |
const nonVid = document.querySelector(".ytp-ad-skip-button-modern"); | |
const openAdCenterButton = document.querySelector('.ytp-ad-button-icon'); | |
const blockAdButton = document.querySelector('[label="Block ad"]'); | |
const blockAdButtonConfirm = document.querySelector('.Eddif [label="CONTINUE"] button'); | |
const closeAdCenterButton = document.querySelector('.zBmRhe-Bz112c'); | |
const adCenterDialog = document.querySelector('yt-about-this-ad-renderer'); | |
if (video) video.playbackRate = 10; | |
if (video) video.volume = 0; | |
if (video) video.currentTime = video.duration || 0; | |
if (video) skipBtn?.click(); | |
if (video) nonVid?.click(); | |
openAdCenterButton?.click(); | |
var popupContainer = document.querySelector('body > ytd-app > ytd-popup-container > tp-yt-paper-dialog'); | |
if (popupContainer) popupContainer.style.display = 'none'; | |
blockAdButton?.click(); | |
blockAdButtonConfirm?.click(); | |
closeAdCenterButton?.click(); | |
if (adCenterDialog) adCenterDialog.style.display = 'none'; | |
if (popupContainer) popupContainer.style.display = "block"; | |
if (debugMessages) console.log("Remove Adblock Thing: skipped Ad (✔️)"); | |
} | |
}, 50) | |
removePageAds(); | |
} | |
//removes ads on the page (not video player ads) | |
function removePageAds(){ | |
const sponsor = document.querySelectorAll("div#player-ads.style-scope.ytd-watch-flexy, div#panels.style-scope.ytd-watch-flexy"); | |
const style = document.createElement('style'); | |
style.textContent = ` | |
ytd-action-companion-ad-renderer, | |
div#root.style-scope.ytd-display-ad-renderer.yt-simple-endpoint, | |
div#sparkles-container.style-scope.ytd-promoted-sparkles-web-renderer, | |
div#main-container.style-scope.ytd-promoted-video-renderer, | |
ytd-in-feed-ad-layout-renderer, | |
.ytd-video-masthead-ad-v3-renderer, | |
div#player-ads.style-scope.ytd-watch-flexy, | |
#masthead-ad { | |
display: none !important; | |
} | |
`; | |
document.head.appendChild(style); | |
sponsor?.forEach((element) => { | |
if (element.getAttribute("id") === "rendering-content") { | |
element.childNodes?.forEach((childElement) => { | |
if (childElement?.data.targetId && childElement?.data.targetId !=="engagement-panel-macro-markers-description-chapters"){ | |
//Skipping the Chapters section | |
element.style.display = 'none'; | |
} | |
}); | |
} | |
}); | |
if (debugMessages) console.log("Remove Adblock Thing: Removed page ads (✔️)"); | |
} | |
// Unpause the video Works most of the time | |
function unPauseVideo(video) | |
{ | |
if (!video) return; | |
if (video.paused) { | |
// Simulate pressing the "k" key to unpause the video | |
document.dispatchEvent(keyEvent); | |
unpausedAfterSkip = 0; | |
if (debugMessages) console.log("Remove Adblock Thing: Unpaused video using 'k' key"); | |
} else if (unpausedAfterSkip > 0) unpausedAfterSkip--; | |
} | |
// | |
// Update check | |
// | |
function checkForUpdate(){ | |
if (hasIgnoredUpdate){ | |
return; | |
} | |
const scriptUrl = 'https://raw.githubusercontent.com/TheRealJoelmatic/RemoveAdblockThing/main/Youtube-Ad-blocker-Reminder-Remover.user.js'; | |
fetch(scriptUrl) | |
.then(response => response.text()) | |
.then(data => { | |
// Extract version from the script on GitHub | |
const match = data.match(/@version\s+(\d+\.\d+)/); | |
if (match) { | |
const githubVersion = parseFloat(match[1]); | |
const currentVersion = parseFloat(GM_info.script.version); | |
if (githubVersion > currentVersion) { | |
console.log('Remove Adblock Thing: A new version is available. Please update your script.'); | |
var result = window.confirm("Remove Adblock Thing: A new version is available. Please update your script."); | |
if (result) { | |
window.location.replace(scriptUrl); | |
} | |
} else { | |
console.log('Remove Adblock Thing: You have the latest version of the script.'); | |
} | |
} else { | |
console.error('Remove Adblock Thing: Unable to extract version from the GitHub script.'); | |
} | |
}) | |
.catch(error => { | |
hasIgnoredUpdate = true; | |
console.error('Remove Adblock Thing: Error checking for updates:', error); | |
}); | |
hasIgnoredUpdate = true; | |
} | |
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Youtube RetroWave | |
// @namespace http://userstyles.org | |
// @description <b>HOW TO INSTALL AND CUSTOMIZE THIS STYLE?? </b> | |
// @author YAD | |
// @homepage https://userstyles.org/styles/191573 | |
// @include http://youtube.com/* | |
// @include https://youtube.com/* | |
// @include http://*.youtube.com/* | |
// @include https://*.youtube.com/* | |
// @run-at document-start | |
// @version 0.20220207094318 | |
// ==/UserScript== | |
(function() {var css = [ | |
"/********************************/", | |
"/*2021 Youtube RetroWave by YAD*/", | |
"/********************************/", | |
"", | |
"body {", | |
" color: #fff!important;", | |
" text-shadow: 0px 1px 2px #2c0d3b;", | |
"}", | |
"/*like bar*/", | |
"#container.ytd-sentiment-bar-renderer {", | |
" height: 3px;", | |
" background-color: #000000;", | |
"}", | |
"#like-bar.ytd-sentiment-bar-renderer {", | |
" background: linear-gradient(200deg, #f6019d 0%, #2de2e6 100%)!important;", | |
" box-shadow: 0px 0px 3px 1px #0006;", | |
" height: 3px;", | |
"}", | |
"", | |
"/*option*/", | |
"tp-yt-paper-listbox {", | |
" background:linear-gradient(180deg, #520d69 0%, #ff00b285 100%), url(https://media.giphy.com/avatars/noxiRED/J5jx7AqDNp56.jpg) center center/cover no-repeat fixed #3a0e59;", | |
"}", | |
" tp-yt-paper-listbox.yt-dropdown-menu {", | |
" background: #3a0e59b8;", | |
" background-image: linear-gradient(180deg, #520d69 0%, #ff00b275 100%);", | |
"}", | |
"ytd-menu-popup-renderer {", | |
" box-shadow: 0px 0px 5px 1px #00000094, 0px 0px 0px 1px #b84fff", | |
"} ", | |
" ", | |
"", | |
"/*autoplay*/", | |
".ytp-autonav-toggle-button[aria-checked=true]:after {", | |
" background-color: #00d6ff;", | |
" box-shadow: 0px 0px 6px 2px #03c0ff;", | |
"}", | |
"", | |
"/*share dialog*/", | |
"tp-yt-paper-dialog {", | |
" background-image: linear-gradient(200deg, #35044480 0%, #d81b9f91 100%);", | |
" background-color: #5927a261;", | |
" color: var(--paper-tooltip-text-color, white);", | |
" border: 1px solid #b84fff;", | |
" border-radius: 4px", | |
"}", | |
"", | |
"/*light*/", | |
"#guide-content.ytd-app {", | |
" background: #dcff0800;", | |
" border-right: 1px solid #0dffff26", | |
"}", | |
"#sections.ytd-guide-renderer > *.ytd-guide-renderer:not(:last-child) {", | |
" background-color: #7bc09100;", | |
"}", | |
"#contentContainer.app-drawer {", | |
" background-color: #f9f9f900;", | |
"}", | |
"", | |
"ytd-guide-entry-renderer[active] .guide-icon.ytd-guide-entry-renderer {", | |
" color: #00eaf6;", | |
"}", | |
"", | |
"ytd-simple-menu-header-renderer {", | |
" background-color: rgba(73, 18, 108, 0);", | |
" color: #fff;", | |
"}", | |
".text.ytd-notification-renderer,", | |
".title.ytd-video-primary-info-renderer,", | |
".content.ytd-video-secondary-info-renderer,", | |
"#content-text.ytd-comment-rendere,", | |
"h3.ytd-compact-video-renderer,", | |
" .title.ytd-guide-entry-renderer,", | |
" yt-formatted-string.ytd-menu-navigation-item-renderer,", | |
" paper-item.ytd-compact-link-renderer,", | |
"#email.ytd-active-account-header-renderer,", | |
"ytd-toggle-theme-compact-link-renderer {", | |
" color: #fff!important;", | |
"}", | |
"#icon-label.yt-dropdown-menu,", | |
"#date.ytd-video-primary-info-renderer,", | |
"#owner-sub-count.ytd-video-owner-renderer,", | |
".more-button.ytd-video-secondary-info-renderer, .less-button.ytd-video-secondary-info-renderer,", | |
"ytd-toggle-button-renderer.style-text[is-icon-button] #text.ytd-toggle-button-renderer,", | |
"ytd-button-renderer.style-text[is-icon-button] #text.ytd-button-renderer, ytd-button-renderer.style-default[is-icon-button] #text.ytd-button-renderer, ytd-button-renderer.style-opacity[is-icon-button] #text.ytd-button-renderer {", | |
" color: #a5a5a5;", | |
"}", | |
"ytd-toggle-button-renderer.style-default-active[is-icon-button] {", | |
" color: #00bfff;", | |
"}", | |
"", | |
"", | |
"ytd-active-account-header-renderer {", | |
" background-color: #fff0;", | |
" border-bottom: 1px solid var(--yt-spec-10-percent-layer);", | |
"}", | |
"", | |
"paper-button.ytd-subscribe-button-renderer[subscribed] {", | |
" background-color: var(--yt-spec-badge-chip-background);", | |
" color: #bebebe;", | |
"}", | |
".ytp-sb-unsubscribe {", | |
" background-color: #520d693d;", | |
" color: #fff;", | |
" box-shadow: 0px 0px 0px 1px #0ef", | |
"}", | |
"", | |
"ytd-masthead {", | |
" --yt-spec-brand-background-solid: #f5151500;", | |
" --yt-spec-brand-background-primary: #da000000;", | |
" --yt-spec-brand-background-secondary: #21212100;", | |
" --yt-spec-general-background-a: #1ed03300;", | |
" --yt-spec-general-background-b: #e31a1a00;", | |
" --yt-spec-general-background-c: #df1e1e00;", | |
" --yt-spec-call-to-action: #00fff7;", | |
"}", | |
"", | |
"#channel-name.ytd-video-meta-block {", | |
" --yt-endpoint-color: #c1bdbd;", | |
" --yt-endpoint-visited-color: #fc098b;", | |
" color: #0fe1da;", | |
"}", | |
"#metadata-line.ytd-video-meta-block {", | |
" color: #bebebe;", | |
"}", | |
"yt-formatted-string.ytd-menu-service-item-renderer,", | |
" .item.yt-dropdown-menu {", | |
" color: #fff;", | |
"}", | |
"", | |
"paper-listbox.yt-dropdown-menu .iron-selected.yt-dropdown-menu {", | |
" background-color: #ffffff0d;", | |
"}", | |
"", | |
"paper-listbox.yt-dropdown-menu paper-item.yt-dropdown-menu:hover {", | |
" background-color: #ffffff24;", | |
"}", | |
"yt-formatted-string.ytd-comments-header-renderer {", | |
" color: #cfcfcf;", | |
"}", | |
".more-button.ytd-comment-replies-renderer, .less-button.ytd-comment-replies-renderer {", | |
"color: #919191;", | |
"}", | |
"", | |
"yt-live-chat-header-renderer {", | |
" color: #fff!important;", | |
" background-color: #59108754;", | |
"}", | |
"yt-live-chat-ticker-renderer {", | |
" background-color: #68048f78;", | |
"}", | |
"", | |
"#show-hide-button.ytd-live-chat-frame > ytd-toggle-button-renderer.ytd-live-chat-frame {", | |
" color: #fff!important;", | |
" background-color: #bb00ff54;", | |
"}", | |
"#label-text.yt-dropdown-menu,", | |
"#message.yt-live-chat-text-message-renderer,", | |
"#message.yt-live-chat-viewer-engagement-message-renderer,", | |
"#video-title.ytd-rich-grid-media,", | |
" #subtitle.ytd-shelf-renderer,", | |
" #title.ytd-shelf-renderer,", | |
" #subscriber-count.ytd-c4-tabbed-header-renderer,", | |
" #channel-name.ytd-c4-tabbed-header-renderer,", | |
" paper-tab.ytd-c4-tabbed-header-renderer:hover,", | |
" paper-tab.iron-selected.ytd-c4-tabbed-header-renderer,", | |
" ytd-mini-guide-entry-renderer[active] .title.ytd-mini-guide-entry-renderer,", | |
" ytd-post-renderer[uses-compact-lockup] #home-content-text.ytd-post-renderer,", | |
" .input-content.paper-input-container > input, .input-content.paper-input-container > iron-input, .input-content.paper-input-container > textarea, .input-content.paper-input-container > iron-autogrow-textarea, .input-content.paper-input-container > .paper-input-input,", | |
" #title.ytd-rich-shelf-renderer, #content-text.ytd-backstage-post-renderer,", | |
" ytd-comment-action-buttons-renderer {", | |
" color: #fff;", | |
"}", | |
"#author-name.yt-live-chat-author-chip {", | |
" color: var(--paper-cyan-a200);", | |
"}", | |
"#upnext.ytd-compact-autoplay-renderer {", | |
" color: var(--paper-cyan-a200);", | |
"}", | |
"", | |
"ytd-browse[page-subtype=channels] {", | |
" background: #f1f1f100;", | |
"}", | |
"", | |
"#channel-header.ytd-c4-tabbed-header-renderer {", | |
" background-color: #f9f9f900;", | |
"}", | |
"#channel-container.ytd-c4-tabbed-header-renderer, #tabs-container.ytd-c4-tabbed-header-renderer {", | |
" background-color: #8d3ed58a;", | |
" background-image: linear-gradient(100deg, #00fffc7d 0%, #ff00b27d 100%); ", | |
"}", | |
"", | |
"#tabs-inner-container.ytd-c4-tabbed-header-renderer {", | |
" background-color: #f9f9f900;", | |
"}", | |
"paper-tabs.ytd-c4-tabbed-header-renderer {", | |
" color: #aeaeae;", | |
"}", | |
"", | |
"ytd-mini-guide-renderer {", | |
" background-color: #fff0;", | |
"}", | |
"ytd-mini-guide-entry-renderer {", | |
" background-color: #70636300;", | |
"}", | |
"ytd-mini-guide-entry-renderer[active] .guide-icon.ytd-mini-guide-entry-renderer {", | |
" color: #00e4ff;", | |
"}", | |
"", | |
"", | |
"ytd-post-renderer[uses-compact-lockup] {", | |
" border-top: 2px solid #0ff;", | |
" background-color: #76518d8c;", | |
"}", | |
"", | |
"", | |
"", | |
"ytd-button-renderer.style-primary[is-paper-button] {", | |
" background-color: #7608a4;", | |
" color: #ffffff;", | |
"}", | |
"", | |
".more-button.ytd-backstage-post-renderer, .less-button.ytd-backstage-post-renderer {", | |
" color: #838383;", | |
"}", | |
"", | |
"ytd-comment-action-buttons-renderer.ytd-backstage-post-renderer ytd-button-renderer.ytd-comment-action-buttons-renderer[is-icon-button].style-default-active.ytd-comment-action-buttons-renderer, ytd-comment-action-buttons-renderer.ytd-backstage-post-renderer ytd-toggle-button-renderer.ytd-comment-action-buttons-renderer[is-icon-button].style-default-active.ytd-comment-action-buttons-renderer {", | |
" color: #00b9f8;", | |
"}", | |
"", | |
"ytd-settings-sidebar-renderer {", | |
" background-color: #f1f1f100;", | |
"}", | |
"#title.ytd-settings-sidebar-renderer {", | |
" color: #00e2ff;", | |
"}", | |
"ytd-page-introduction-renderer,", | |
"#title.ytd-item-section-header-renderer,", | |
"#title.ytd-settings-options-renderer,", | |
"#title.ytd-settings-switch-renderer,", | |
"#label.ytd-settings-checkbox-renderer {", | |
" color: #fff", | |
"}", | |
"/*light end*/", | |
"", | |
"", | |
"a:link {color: #00EDFF!important}", | |
"a:visited {color: #F41694!important}", | |
"a:hover {color: #fff!important}", | |
"a:active {color: #00ffed!important;", | |
"text-shadow: 0 0 8px}", | |
"", | |
"", | |
"#account-name.ytd-active-account-header-renderer {/*name*/", | |
" text-shadow: 0 0 8px var(--paper-purple-a200);", | |
"}", | |
"", | |
"yt-icon.ytd-topbar-logo-renderer,", | |
"[id=\"logo\"][class=\"style-scope ytd-masthead\"] yt-icon.ytd-logo,", | |
"tp-yt-app-drawer[opened] [class=\"style-scope ytd-logo\"][id=\"logo-icon\"] {/*logo*/", | |
" animation-name: logoyad;", | |
" filter: none;", | |
" animation-duration: 0.8s;", | |
" animation-iteration-count: 1;", | |
" fill-opacity: 0;", | |
" background: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyNS4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM6dj0iaHR0cHM6Ly92ZWN0YS5pby9uYW5vIg0KCSB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDQ5MiAxMTAiDQoJIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ5MiAxMTA7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxwYXRoIHN0eWxlPSJmaWxsOiNGRjAwMDA7IiBkPSJNMTU0LjMsMTcuNWMtMS44Mi02LjczLTcuMDctMTEuOTgtMTMuOC0xMy44Yy0xMi4xLTMuMy02MC44LTMuMy02MC44LTMuM1MzMSwwLjUsMTguOSwzLjgNCglDMTIuMTcsNS42Miw2LjkyLDEwLjg3LDUuMSwxNy42QzEuNDQsMzkuMSwwLjAyLDcxLjg2LDUuMiw5Mi41YzEuODIsNi43Myw3LjA3LDExLjk4LDEzLjgsMTMuOGMxMi4xLDMuMyw2MC44LDMuMyw2MC44LDMuMw0KCXM0OC43LDAsNjAuOC0zLjNjNi43My0xLjgyLDExLjk4LTcuMDcsMTMuOC0xMy44QzE1OC4yNiw3MC45NywxNTkuNDUsMzguMjMsMTU0LjMsMTcuNXoiLz4NCjxwYXRoIHN0eWxlPSJmaWxsOiNGRkZGRkY7IiBkPSJNNjQuMiw3OC40TDEwNC42LDU1TDY0LjIsMzEuNlY3OC40eiIvPg0KPGc+DQoJPHBhdGggc3R5bGU9ImZpbGw6I0Y3RjBGMDsiIGQ9Ik0yMjcuOSw5OS43Yy0zLjEtMi4xLTUuMy01LjMtNi42LTkuN3MtMS45LTEwLjItMS45LTE3LjV2LTkuOWMwLTcuMywwLjctMTMuMywyLjItMTcuNw0KCQljMS41LTQuNSwzLjgtNy43LDctOS43czcuMy0zLjEsMTIuNC0zLjFjNSwwLDkuMSwxLDEyLjEsMy4xYzMsMi4xLDUuMyw1LjMsNi43LDkuN3MyLjEsMTAuMywyLjEsMTcuNnY5LjljMCw3LjMtMC43LDEzLjEtMi4xLDE3LjUNCgkJcy0zLjYsNy42LTYuNyw5LjdjLTMuMSwyLTcuMywzLjEtMTIuNSwzLjFDMjM1LjIsMTAyLjgsMjMxLDEwMS43LDIyNy45LDk5Ljd6IE0yNDUuMiw4OWMwLjktMi4yLDEuMy01LjksMS4zLTEwLjlWNTYuOA0KCQljMC00LjktMC40LTguNS0xLjMtMTAuN2MtMC45LTIuMy0yLjQtMy40LTQuNS0zLjRzLTMuNSwxLjEtNC40LDMuNHMtMS4zLDUuOC0xLjMsMTAuN3YyMS4zYzAsNSwwLjQsOC43LDEuMiwxMC45czIuMywzLjMsNC41LDMuMw0KCQlDMjQyLjgsOTIuMywyNDQuMyw5MS4yLDI0NS4yLDg5eiBNNDY0LjQsNzIuN3YzLjVsMC40LDkuOWMwLjMsMi4yLDAuOCwzLjgsMS42LDQuOHMyLjEsMS41LDMuOCwxLjVjMi4zLDAsMy45LTAuOSw0LjctMi43DQoJCWMwLjktMS44LDEuMy00LjgsMS40LTguOWwxMy4zLDAuOGMwLjEsMC42LDAuMSwxLjQsMC4xLDIuNGMwLDYuMy0xLjcsMTEtNS4yLDE0LjFzLTguMyw0LjctMTQuNiw0LjdjLTcuNiwwLTEyLjktMi40LTE1LjktNy4xDQoJCXMtNC42LTEyLjEtNC42LTIyVjYxLjZjMC4zNC0xNywzLjMzLTI5LjQ1LDIwLjktMjkuNWM1LjMsMCw5LjMsMSwxMi4xLDIuOXM0LjgsNC45LDYsOXMxLjcsOS43LDEuNywxNi45djExLjdoLTI1LjdMNDY0LjQsNzIuN3oNCgkJIE00NjYuNCw0My45Yy0wLjgsMS0xLjMsMi41LTEuNiw0LjdzLTAuNCwxMC0wLjQsMTB2NC45aDExLjJ2LTQuOWMwLDQuOS0wLjEtNy43LTAuNC0xMHMtMC44LTMuOS0xLjYtNC44cy0yLTEuNC0zLjYtMS40DQoJCUM0NjguMyw0Mi41LDQ2Ny4xLDQzLDQ2Ni40LDQzLjl6IE0xOTAuNSw3MS40TDE3Myw4LjJoMTUuM2MwLDAsNy4xNSwzMS43LDkuNiw0Ni42aDAuNGMyLjc4LTE1LjgyLDkuOC00Ni42LDkuOC00Ni42aDE1LjMNCgkJbC0xNy43LDYzLjF2MzAuM2gtMTUuMVY3MS40SDE5MC41eiIvPg0KCTxwYXRoIGlkPSJBIiBzdHlsZT0iZmlsbDojRjdGMEYwOyIgZD0iTTMxMS41LDMzLjR2NjguM2gtMTJsLTEuMy04LjRoLTAuM2MtMy4zLDYuMy04LjIsOS41LTE0LjcsOS41DQoJCWMtMTEuNzctMC4wMy0xMy4wOC0xMC0xMy4yLTE4LjR2LTUxaDE1LjR2NTAuMWMwLDMsMC4zLDUuMiwxLDYuNWMxLjQyLDIuNzgsNS4xLDIuMDcsNy4xLDAuN2MxLjE1LTAuNzgsMi4wOS0xLjg1LDIuNy0zLjFWMzMuNA0KCQlIMzExLjV6Ii8+DQoJPHBhdGggc3R5bGU9ImZpbGw6I0Y3RjBGMDsiIGQ9Ik0zNTMuMywyMC42SDMzOHY4MS4xaC0xNVYyMC42aC0xNS4zVjguMmg0NS41djEyLjRMMzUzLjMsMjAuNnogTTQ0MS4yLDQ0LjMNCgkJYy0wLjktNC4zLTIuNC03LjQtNC41LTkuNGMtMi4xLTEuOS00LjktMi45LTguNi0yLjljLTIuODEtMC4wMS01LjU3LDAuODMtNy45LDIuNGMtMi41LDEuNi00LjMsMy43LTUuNyw2LjNoLTAuMXYtMzZoLTE0Ljh2OTYuOQ0KCQloMTIuN2wxLjYtNi41aDAuM2MxLjIyLDIuMjksMy4wNiw0LjE5LDUuMyw1LjVjMi40LDEuMyw1LDIsNy45LDJjNS4yLDAsOS0yLjQsMTEuNS03LjJjMi40LTQuOCwzLjctMTIuMywzLjctMjIuNFY2Mi4yDQoJCUM0NDIuNiw1NC42LDQ0Mi4xLDQ4LjYsNDQxLjIsNDQuM3ogTTQyNy4xLDcyLjJjMCw1LTAuMiw4LjktMC42LDExLjdzLTEuMSw0LjgtMi4xLDZzLTIuMywxLjgtMy45LDEuOGMtMy4xLTAuMS00Ljg2LTEuNS02LjEtMy42DQoJCVY0OS4zYzAuNS0xLjksMS40LTMuNCwyLjctNC42YzIuMi0yLjQ3LDUuOTYtMi41LDcuNywwYzAuOSwxLjIsMS40LDMuMywxLjgsNi4yYzAuMywyLjksMC41LDcsMC41LDEyLjRWNzIuMnoiLz4NCjwvZz4NCjxnPg0KCTxwYXRoIGlkPSJBXzFfIiBzdHlsZT0iZmlsbDojRjdGMEYwOyIgZD0iTTM5MC40LDMzLjR2NjguM2gtMTJsLTEuMy04LjRoLTAuM2MtMy4zLDYuMy04LjIsOS41LTE0LjcsOS41DQoJCWMtMTEuNzctMC4wMy0xMy4wOC0xMC0xMy4yLTE4LjR2LTUxaDE1LjR2NTAuMWMwLDMsMC4zLDUuMiwxLDYuNWMxLjQyLDIuNzgsNS4xLDIuMDcsNy4xLDAuN2MxLjE1LTAuNzgsMi4wOS0xLjg1LDIuNy0zLjFWMzMuNA0KCQlIMzkwLjR6Ii8+DQo8L2c+DQo8L3N2Zz4NCg==\") center center/100% no-repeat;", | |
" max-width: 70px;", | |
" max-height: 100px;", | |
" ", | |
"}", | |
"", | |
"", | |
" @keyframes logoyad {", | |
" 0% {transform: scalex(0)}", | |
" 25% {transform: scaleY(0.1)}", | |
" 50% {transform: scalex(0.7)}", | |
" 75% {transform: scaleY(0.15)}", | |
" ", | |
"}", | |
".ytd-topbar-logo-renderer {", | |
" animation: yadlogo;", | |
" animation-duration:10s;", | |
" animation-iteration-count: infinite;", | |
" animation-fill-mode: both;", | |
" animation-direction: alternate;", | |
"", | |
"}", | |
"@keyframes yadlogo {", | |
" 0% {filter: hue-rotate(0deg);}", | |
" 100% {filter: hue-rotate(360deg) saturate(6.1);}", | |
"}", | |
".ytd-topbar-logo-renderer:hover {", | |
" animation-name: rubberBand;", | |
" animation-duration: 1s;", | |
" animation-delay: 10s;", | |
" animation-fill-mode: both;", | |
" animation-iteration-count: 5;", | |
"}", | |
"@keyframes yadlogo2 {", | |
" 0%{", | |
" -webkit-transform: scaleY(2);", | |
" transform: scaleY(2);", | |
" filter: blur(4px);", | |
" opacity: 0;", | |
" }", | |
" 100%{", | |
" -webkit-transform: scaleY(1);", | |
" transform: scaleY(1);", | |
" filter: blur(0);", | |
" opacity: 1;", | |
" }", | |
"}", | |
"ytd-topbar-logo-renderer:not(:active) {", | |
" animation: yadlogo2;", | |
"animation-duration: 1s;", | |
" animation-timing-function: ease;", | |
" animation-iteration-count: 1;", | |
" animation-direction: normal;", | |
" animation-fill-mode: none;", | |
" }", | |
" @keyframes rubberBand {", | |
" 0% {", | |
" transform: scale3d(1, 1, 1);", | |
" }", | |
" 30% {", | |
" transform: scale3d(1.25, 0.75, 1);", | |
" }", | |
" 40% {", | |
" transform: scale3d(0.75, 1.25, 1);", | |
" }", | |
" 50% {", | |
" transform: scale3d(1.15, 0.85, 1);", | |
" }", | |
" 65% {", | |
" transform: scale3d(.95, 1.05, 1);", | |
" }", | |
" 75% {", | |
" transform: scale3d(1.05, .95, 1);", | |
" }", | |
" 100% {", | |
" transform: scale3d(1, 1, 1);", | |
" }", | |
" }", | |
"", | |
"#country-code.ytd-topbar-logo-renderer, ytd-topbar-logo-renderer[is-logo-updated] #country-code.ytd-topbar-logo-renderer {", | |
" color: var(--yt-spec-text-secondary);", | |
" margin: 10px 0 0px 3px!important", | |
"}", | |
"", | |
"ytd-thumbnail #thumbnail.ytd-thumbnail:not(:active) {", | |
" animation: yadpoof;", | |
" animation-duration: 0.3s;", | |
" animation-iteration-count: 1;", | |
" transition: opacity 0.5s;", | |
"}", | |
"", | |
"@keyframes yadpoof {", | |
" 0% {transform: scale(1); filter: blur(0px);}", | |
" 100% {transform: scale(3.5); opacity: 0; filter: blur(50px);}", | |
"}", | |
"button.yt-icon-button > yt-icon:active {", | |
" animation: yadpooficon;", | |
" animation-duration: 0.1s;", | |
" animation-iteration-count: 1;", | |
" transition: opacity 0.5s; ", | |
"}", | |
"@keyframes yadpooficon {", | |
" 0% {transform: scale(1.5); filter: blur(1px);}", | |
" 50% {transform: scale(5.5); opacity: 0.1; filter: blur(5px);}", | |
" 90% {transform: scale(15.5); opacity: 0; filter: blur(20px);}", | |
" 100% {transform: scale(20.5); opacity: 0; filter: blur(50px);}", | |
"}", | |
"", | |
".style-scope ytd-thumbnail {", | |
" animation: yadroad;", | |
" animation-duration: 0.7s;", | |
" animation-iteration-count: 1;", | |
"}", | |
"", | |
"@keyframes yadroad {", | |
" 0% {transform: scale(0.1); filter: blur(90px)}", | |
" 100% {transform: scale(1);}", | |
"}", | |
"/*my eyes hurt coding*/", | |
"html:not(.style-scope) {", | |
" --yt-spec-static-brand-red: #ff00f7!important", | |
"}", | |
"", | |
"#thumbnail.ytd-moving-thumbnail-renderer {", | |
" transition: opacity 0.5s;", | |
" opacity: 0;", | |
" width: 100%;", | |
" height: 100%;", | |
" max-height: var(--yt-img-max-height, none);", | |
" max-width: var(--yt-img-max-width, 100%);", | |
" position: absolute;", | |
" top: 0;", | |
" right: 0;", | |
" bottom: 0;", | |
" left: 0;", | |
"}", | |
"", | |
" .ytp-swatch-background-color {", | |
" animation-name: yadpogi;", | |
" animation-iteration-count: infinite;", | |
" animation-duration: 3.5s;", | |
" animation-fill-mode: forwards;", | |
" animation-timing-function: linear;", | |
"", | |
"}", | |
"@keyframes yadpogi {", | |
"0% {background-color: #fff; box-shadow: 0 0 9px 3px #ff00d4;}", | |
"10% {background-color: #fff; box-shadow: 0 0 7px 3px #9d00ff;}", | |
"20% {background-color: #fff; box-shadow: 0 0 9px 3px #5100ff;}", | |
"30% {background-color: #fff; box-shadow: 0 0 7px 3px #00d9ff;}", | |
"40% {background-color: #fff; box-shadow: 0 0 9px 3px #00ffc3;}", | |
"50% {background-color: #fff; box-shadow: 0 0 7px 3px #b3ff00;}", | |
"60% {background-color: #fff; box-shadow: 0 0 9px 3px #ff8400;}", | |
"70% {background-color: #fff; box-shadow: 0 0 7px 3px #ff6a00;}", | |
"80% {background-color: #fff; box-shadow: 0 0 9px 3px #f00;}", | |
"90% {background-color: #fff; box-shadow: 0 0 7px 3px #ee436b;}", | |
"100%{background-color: #fff; box-shadow: 0 0 7px 3px #ff00d4;}", | |
"}", | |
"ytd-app {", | |
"background-image: url(https://i.postimg.cc/J4gFh3TK/sunset.gif), url(https://i.postimg.cc/1mScS4XW/retrowave.png);", | |
"background-repeat: no-repeat;", | |
"background-attachment:fixed;", | |
"background-color: #14031E;", | |
"background-position: 50% 33%, center;", | |
"background-size: 300px, 100%;", | |
"background-blend-mode: screen; ", | |
"}", | |
"", | |
"/*BG CHANGER*/", | |
"ytd-app {", | |
" background-image: url(https://i.ibb.co/rs1HkNp/wave.gif), url(https://media.giphy.com/avatars/noxiRED/J5jx7AqDNp56.jpg)!important;", | |
"}", | |
"", | |
".html5-video-player {/*glow on player*/", | |
" box-shadow: 0 0 20px #f800ff;", | |
"}", | |
"", | |
"#container.ytd-masthead {/*top bar*/", | |
" background: #1d062dcf;", | |
" opacity: 0.9;", | |
" border-bottom: 1px solid #0dffff26;", | |
" box-shadow: 0px 0px 0px 3px #0006", | |
"}", | |
"", | |
"/*color controller*/", | |
"html:not(.style-scope)[dark], :not(.style-scope)[dark] {", | |
" --yt-spec-brand-background-solid: #f5151500;", | |
" --yt-spec-brand-background-primary: rgb(218 0 0 / 0%);", | |
" --yt-spec-brand-background-secondary: rgba(33, 33, 33, 0);", | |
" --yt-spec-general-background-a: #1ed03300;", | |
" --yt-spec-general-background-b: #e31a1a00;", | |
" --yt-spec-general-background-c: #df1e1e00;", | |
" --yt-spec-call-to-action: #00fff7;", | |
"}", | |
"", | |
"/*new*/", | |
".badge-style-type-simple.ytd-badge-supported-renderer {", | |
" background: #00ffdc75;", | |
" color: #fff;", | |
"}", | |
"", | |
".style-scope ytd-rich-metadata-renderer {/*side coloumn*/", | |
"background-image: linear-gradient(200deg, #35044480 0%, #d81b9f91 100%);", | |
" background-color: #5927a261;", | |
" color: var(--paper-tooltip-text-color, white);", | |
" border: 1px solid #b84fff;", | |
" border-radius: 4px", | |
"}", | |
" ", | |
"ytd-comments {/*comments box*/", | |
" display: block;", | |
" background-color: #18042b7d;", | |
" background-image: linear-gradient(180deg, #520d693d 0%, #ff00b240 100%);", | |
"}", | |
"", | |
"#container.ytd-searchbox {/*search bar*/", | |
" background-color: #20062ea3;", | |
" border: 1px solid #5e2288d4;", | |
" border-radius: 17px 0 0 17px;", | |
"}", | |
"#search-icon-legacy.ytd-searchbox, ytd-searchbox[desktop-search-bar-big-tap-target] #search-icon-legacy.ytd-searchbox {", | |
" border: 1px solid #5e2288d4;", | |
" background-color: #770c92;", | |
" border-radius: 0px 17px 17px 0px;", | |
" height: 35px;", | |
"}", | |
" ytd-searchbox[desktop-search-bar-big-tap-target] #search-form.ytd-searchbox, #search-form.ytd-searchbox {", | |
" height: 35px;", | |
"}", | |
" ", | |
"#search-icon-legacy.ytd-searchbox:hover, ytd-searchbox[desktop-search-bar-big-tap-target] #search-icon-legacy.ytd-searchbox:hover {", | |
" border: 1px solid #5e2288d4;", | |
" background-color: #aa17cfab;", | |
" border-radius: 0px 17px 17px 0px;", | |
"}", | |
" ", | |
"#search-icon-legacy.ytd-searchbox yt-icon.ytd-searchbox {", | |
" width: 30px;", | |
" height: 30px;", | |
" color: #fff;", | |
" opacity: 1;", | |
"}", | |
"ytd-searchbox[has-focus] #container.ytd-searchbox {", | |
" border: 1px solid #fff;", | |
" box-shadow: inset 0 0px 6px #9d00ff;", | |
" animation: yadsearch;", | |
" animation-iteration-count: 1;", | |
" animation-duration: 2s", | |
"}", | |
"", | |
"@keyframes yadsearch { ", | |
" 0% {box-shadow: inset 0 0px 9px 12px #f0f}", | |
" ", | |
"}", | |
"", | |
".ytp-scrubber-pull-indicator::after {", | |
" display: block;", | |
" position: inherit;", | |
" content: \'\';", | |
" top: -13px;", | |
" left: -13px;", | |
" opacity: 1;", | |
" width: 40px;", | |
" height: 40px;", | |
" border-style: solid;", | |
" border-width: 0px;", | |
" border-color: #e70b0b00;", | |
" background-image: url(https://i.postimg.cc/wxtHHvWL/starfall.gif);", | |
" background-repeat: no-repeat;", | |
" background-position: center;", | |
" background-size: 100%;", | |
" transform: rotate(94deg);", | |
" border-radius: 81px;", | |
"}", | |
"", | |
"/*2021 Youtube RetroWave by YAD*/", | |
"", | |
"", | |
"tp-yt-paper-button.ytd-subscribe-button-renderer {/*sub button*/", | |
" background-color: #a320fb;", | |
" border-radius: 5px;", | |
"}", | |
".ytp-sb-subscribe, a.ytp-sb-subscribe {", | |
" background-color: #a320fb;", | |
" color: #fff;", | |
"}", | |
"", | |
".guide-entry-badge.ytd-guide-entry-renderer {/*live icon*/", | |
" width: 16px;", | |
" height: 16px;", | |
" color: #00d0ff;", | |
" display: none;", | |
"}", | |
"", | |
"ytd-multi-page-menu-renderer {/*right dropdown notif*/", | |
" border-radius: 10px;", | |
" background: linear-gradient(180deg, #520d69 0%, #ff00b266 100%), url(https://media.giphy.com/avatars/noxiRED/J5jx7AqDNp56.jpg) center center/cover no-repeat fixed #30083bed;", | |
" box-shadow: 0px 0px 5px 1px #00000094, 0px 0px 0px 1px #b84fff", | |
"}", | |
" ", | |
" ytd-voice-search-dialog-renderer[dialog] {/*right dropdown notif*/", | |
" ", | |
" background: linear-gradient(180deg, #520d69 0%, #ff00b266 100%);", | |
" box-shadow: 0px 0px 5px 1px #00000094, 0px 0px 0px 1px #b84fff", | |
"}", | |
"", | |
"#guide-content.ytd-app {", | |
" background-image: linear-gradient(180deg, #2f033ea8 0%, #ff00b240 100%);", | |
"}", | |
"yt-icon.ytd-compact-link-renderer {/*dropdown yt icons*/", | |
" color: var(--yt-compact-link-icon-color, var(--yt-spec-icon-inactive));", | |
"}", | |
"paper-toggle-button[checked]:not([disabled]) .toggle-button.paper-toggle-button {/*toggle button*/", | |
" background-color: #fff;", | |
" box-shadow: 0 0 10px 5px #d208ff;", | |
"}", | |
"paper-toggle-button[checked]:not([disabled]) .toggle-bar.paper-toggle-button {", | |
" opacity: 1;", | |
" background-color: #fff;", | |
" box-shadow: 0 0 10px 5px #d208ff;", | |
"}", | |
"", | |
".ytp-menuitem[aria-checked=\"true\"] .ytp-menuitem-toggle-checkbox {/*toggle button2*/", | |
" background: #ffffff;", | |
" box-shadow: 0 0 10px 5px #d208ff;", | |
"}", | |
"", | |
"/********************************/", | |
"/*2021 Youtube Retro Wave by YAD*/", | |
"/********************************/", | |
"", | |
".ytp-volume-slider-handle {/*volume buttom*/", | |
" position: absolute;", | |
" top: 50%;", | |
" width: 13px;", | |
" height: 13px;", | |
" border-radius: 7px;", | |
" margin-top: -6px;", | |
" background: #ffffff;", | |
" box-shadow: 0 0 12px 5px #ff00e2;", | |
"}", | |
"", | |
".badge-style-type-live-now.ytd-badge-supported-renderer {/*live now*/", | |
" background: transparent;", | |
" color: #fff;", | |
" border: 1px solid #de00ff00;", | |
" border-radius: 6px;", | |
" animation-name: yadlive;", | |
" animation-duration: 10s;", | |
" animation-iteration-count: infinite;", | |
"}", | |
"@keyframes yadlive {", | |
"0% {background-color: #fff0; box-shadow: inset 0 0 9px 3px #ff00d4;}", | |
"10% {background-color: #fff0; box-shadow: inset 0 0 7px 3px #9d00ff;}", | |
"20% {background-color: #fff0; box-shadow: inset 0 0 9px 3px #fff;}", | |
"30% {background-color: #fff0; box-shadow: inset 0 0 7px 3px #00d9ff;}", | |
"40% {background-color: #fff0; box-shadow: inset 0 0 9px 3px #00ffc3;}", | |
"50% {background-color: #fff0; box-shadow: inset 0 0 7px 3px #fff;}", | |
"60% {background-color: #fff0; box-shadow: inset 0 0 9px 3px #ff00e1;}", | |
"70% {background-color: #fff0; box-shadow: inset 0 0 7px 3px #fff;}", | |
"80% {background-color: #fff0; box-shadow: inset 0 0 9px 3px #00ffea;}", | |
"90% {background-color: #fff0; box-shadow: inset 0 0 7px 3px #bdff00;}", | |
"100%{background-color: #fff0; box-shadow: inset 0 0 7px 3px #ff00d4;}", | |
"}", | |
"ytd-thumbnail-overlay-time-status-renderer[overlay-style=LIVE] {", | |
" background-color: #c307d4e6;", | |
"}", | |
"", | |
"/*watched video bar*/", | |
"#progress.ytd-thumbnail-overlay-resume-playback-renderer {", | |
" background: linear-gradient(-45deg, #050204, #e73c7e00, #ff009d, #0bc9e7);", | |
" background-size: 400% 400%;", | |
" animation: yadwatched 3s alternate infinite;", | |
" height: 100%;", | |
" ", | |
"}", | |
"@keyframes yadwatched {", | |
" 0% {", | |
" background-position: 100% 0%;", | |
" }", | |
" 100% {", | |
" background-position: 0% 100%;", | |
" }", | |
" ", | |
"}", | |
" ytd-thumbnail-overlay-resume-playback-renderer {", | |
" background: #000;", | |
" }", | |
"/*notif color*/", | |
"#notification-count.ytd-notification-topbar-button-renderer {", | |
" position: absolute;", | |
" top: 4px;", | |
" right: 0;", | |
" color: var(--yt-swatch-important-text, var(--yt-white));", | |
" background-color: #c30aff;", | |
" width: 18px;", | |
" height: 18px;", | |
" border-radius: 50%;", | |
" line-height: 18px;", | |
" font-size: 10px;", | |
" text-align: center;", | |
" cursor: pointer;", | |
"}", | |
"/*scrollbar*/", | |
"#contentWrapper.iron-dropdown > * {", | |
" overflow: hidden; ", | |
"}", | |
"#contentWrapper.iron-dropdown > *:hover {", | |
" overflow: auto;", | |
"}", | |
"::-webkit-scrollbar {", | |
" width: 10px!important;", | |
"}", | |
"", | |
"/* Track */", | |
"::-webkit-scrollbar-track {", | |
" border-radius: 8px;", | |
" background-color: #35044480!important;", | |
"}", | |
" ", | |
"/* Handle */", | |
"::-webkit-scrollbar-thumb {", | |
" background: #9900ff3d; ", | |
" border-radius: 10px;", | |
"}", | |
"", | |
"/* Handle on hover */", | |
"::-webkit-scrollbar-thumb:hover {", | |
" background-image: linear-gradient(200deg, #ff00d4 0%, #03c0ff 100%)!important;", | |
"}", | |
"", | |
"/*bg vids and settings*/", | |
"#primary.ytd-two-column-browse-results-renderer {", | |
" max-width: 100%;", | |
" min-width: 0;", | |
" background-color: #18042b7d;", | |
"}", | |
"", | |
"ytd-button-renderer.style-suggestive[is-paper-button] paper-button.ytd-button-renderer {", | |
" border: 1px solid #fff;", | |
" padding: var(--yt-button-padding-minus-border);", | |
"}", | |
"", | |
"/*join button*/", | |
"ytd-button-renderer.style-suggestive[is-paper-button] {", | |
" --yt-formatted-string-deemphasize-color: var(--yt-blue-opacity-lighten-2);", | |
" background-color: transparent;", | |
" color: #fff;", | |
"}", | |
"", | |
"/*video menu*/", | |
"paper-listbox {", | |
" display: block;", | |
" padding: 8px 0;", | |
" background-color: #3a1244eb;", | |
" color: var(--paper-listbox-color, var(--primary-text-color));", | |
" background-image: linear-gradient(180deg, #520d693d 0%, #ff00b240 100%);", | |
"}", | |
"", | |
"/*drop menu BG*/", | |
"paper-listbox.yt-dropdown-menu {", | |
" background-color: #330c4b;", | |
" background-image: linear-gradient(180deg, #520d693d 0%, #ff00b240 100%);", | |
"}", | |
"", | |
"", | |
".ytp-popup {", | |
" position: absolute;", | |
" overflow: hidden;", | |
" border-radius: 2px;", | |
" background: rgba(67, 8, 81, .9);", | |
" text-shadow: 0 0 2px rgba(0,0,0,.5);", | |
" -moz-transition: opacity .1s cubic-bezier(0.0,0.0,0.2,1);", | |
" -webkit-transition: opacity .1s cubic-bezier(0.0,0.0,0.2,1);", | |
" transition: opacity .1s cubic-bezier(0.0,0.0,0.2,1);", | |
" -moz-user-select: none;", | |
" -ms-user-select: none;", | |
" -webkit-user-select: none;", | |
" background-image: linear-gradient(180deg, #520d693d 0%, #ff00b240 100%);", | |
"}", | |
".html5-video-info-panel {", | |
" background: rgba(67, 8, 81, .9);", | |
" border-radius: 4px;", | |
" color: #fff;", | |
" left: 10px;", | |
" position: absolute;", | |
" top: 10px;", | |
" z-index: 64;", | |
" min-width: 26em;", | |
"}", | |
"", | |
"/*cc color under*/", | |
".ytp-chrome-controls .ytp-button[aria-pressed]:after {", | |
" background-color: #fff;", | |
" box-shadow: 0 0 9px 3px #ff00d4;", | |
"}", | |
"", | |
"/*hd text color*/", | |
".ytp-swatch-color {", | |
" color: #ffffff;", | |
" text-shadow: 0 0 9px #ff00d0;", | |
"", | |
"}", | |
"", | |
"/*hoy kopya pa haha!*/", | |
"ytd-rich-grid-renderer.style-scope.ytd-two-column-browse-results-renderer {", | |
" --ytd-rich-grid-items-per-row: 4!important;", | |
"}", | |
"", | |
"/*subpop*/", | |
"tp-yt-paper-toast {", | |
" background-color: var(--paper-toast-background-color, #3808532b);", | |
" background-image: linear-gradient(140deg, #40095285 0%, #600e69c4 100%);", | |
" border-radius: 5px;", | |
"}", | |
"yt-confirm-dialog-renderer[dialog][dialog][dialog] {", | |
" background-color: var(--paper-toast-background-color, #240237f2);", | |
" background-image: linear-gradient(180deg, #520d693d 0%, #ff00b240 100%);", | |
" text-align: center;", | |
" border-radius: 5px;", | |
"}", | |
"", | |
"/*live indicator home*/", | |
"ytd-badge-supported-renderer.ytd-rich-grid-media {", | |
" margin: 6px 0px 6px 10px;", | |
"}", | |
"", | |
".ytp-spinner-circle {", | |
" border-style: dotted;", | |
" border-color: #fff0 #ff00e6fa #fff0 #bd00ff;", | |
" border-radius: 50%;", | |
"}", | |
"", | |
"/*mini player*/", | |
".playlist-items.ytd-playlist-panel-renderer {", | |
" background-color: #230e32a3;", | |
"}", | |
"#info-bar.ytd-miniplayer {", | |
" background-color: #3b094f;", | |
"}", | |
"ytd-playlist-panel-renderer[hide-header-text] .header.ytd-playlist-panel-renderer {", | |
" background-color: #230e32c4;", | |
"}", | |
"", | |
"/*hd indicator*/", | |
".ytp-settings-button.ytp-hd-quality-badge:after {", | |
" height: 12px;", | |
" width: 16px;", | |
" background-color: #a400ff;", | |
"}", | |
"", | |
"/*4k 8k indicator*/", | |
".ytp-settings-button.ytp-4k-quality-badge:after, .ytp-settings-button.ytp-5k-quality-badge:after, .ytp-settings-button.ytp-8k-quality-badge:after {", | |
" background-color: #05d0da;", | |
" box-shadow: 0 0 7px 1px #04fff3;", | |
" transform: scale(1.3);", | |
"}", | |
"", | |
"/*info box on live*/", | |
"#card.yt-live-chat-viewer-engagement-message-renderer {", | |
" background-color: #6e418987;", | |
"}", | |
"", | |
"ytd-clarification-renderer[background-style=info] {", | |
" padding: 12px 0 12px 0;", | |
" background: #8a0ec76b;", | |
" border: 1px solid #00fff730;", | |
"}", | |
"yt-live-chat-renderer {", | |
" background: #20072a4f;", | |
" background-image: linear-gradient(130deg, #520d693d 0%, #ff00b240 100%);", | |
"}", | |
"", | |
"html[dark] .watch-skeleton .skeleton-bg-color {/*skeletal system*/", | |
" background-color: #1f0423ed;", | |
" background-image: url(https://media1.giphy.com/media/2C8Kf24dnrYNW/giphy.gif);", | |
" background-position: center;", | |
" background-size: 100%;", | |
" background-blend-mode: screen", | |
"}", | |
"", | |
".sbfl_b {/*report search predictiion*/", | |
" background: rgb(1 1 1 / 0%);", | |
"}", | |
".sbsb_a {", | |
" background-image: linear-gradient(180deg, #350444 10%, #9a0c90ab 100%);", | |
" border-radius: 0px 0px 15px 15px;", | |
" background-color: #32323200;", | |
" color: #fff;", | |
"}", | |
".sbdd_b {", | |
" background-color: #32323200;", | |
" border: 1px solid #7120ab00;", | |
" border-top-color: #bf45ffc9;", | |
" box-shadow: 0 2px 5px #39044a;", | |
" border-radius: 0px 0px 15px 15px;", | |
" backdrop-filter: blur(2px)", | |
"}", | |
".gsfs {", | |
" font-size: 1.6rem;", | |
" color: #dfdfdf;", | |
"}", | |
".sbpqs_a {", | |
" color: #2dbbde;", | |
"}", | |
".sbsb_d {", | |
" background: #ffffff0f;", | |
"}", | |
"#tooltip.tp-yt-paper-tooltip {", | |
" background-image: linear-gradient(200deg, #35044480 0%, #d81b9f91 100%);", | |
" background-color: #5927a2;", | |
" color: var(--paper-tooltip-text-color, white);", | |
" border: 1px solid #b84fff;", | |
" border-radius: 4px", | |
"}", | |
"", | |
"ytd-toggle-button-renderer.style-text[is-icon-button],", | |
"span.yt-view-count-renderer {/*views*/", | |
" color: #fff;", | |
"}", | |
"yt-formatted-string.ytd-video-primary-info-renderer {", | |
" text-shadow: 0px 1px 2px #2c0d3b;", | |
"}", | |
"", | |
"#star-survey.ytd-inline-survey-renderer {/*survey*/", | |
" background-color: #521a66ba;", | |
" background-image: linear-gradient(200deg, #3504444a 0%, #d81b9f4d 100%);", | |
"}", | |
"ytd-inline-survey-renderer[expanded] #dismissible.ytd-inline-survey-renderer {", | |
" background-color: #9f5f393b!important;", | |
"}", | |
"#dismiss-button.ytd-inline-survey-renderer {", | |
" background-color: #9f5f393b;", | |
"}", | |
"/*voice search*/", | |
"", | |
"", | |
"div#voice-search-button:hover {", | |
" border-radius: 48px;", | |
" box-shadow: inset 0px 0px 0px 3px #fff;", | |
" background-color: #1e082394;", | |
"}", | |
"", | |
"", | |
"/*feed filter*/", | |
"#chips-wrapper.ytd-feed-filter-chip-bar-renderer {", | |
" background-color: #1d062d91;", | |
" border-top: 1px solid #987d7d00;", | |
" border-bottom: 1px solid #0dffff;", | |
"}", | |
"", | |
"yt-chip-cloud-chip-renderer[chip-style=\"STYLE_DEFAULT\"][selected]:hover, yt-chip-cloud-chip-renderer[chip-style=\"STYLE_HOME_FILTER\"][selected]:hover, yt-chip-cloud-chip-renderer[chip-style=\"STYLE_DEFAULT\"][selected]:focus, yt-chip-cloud-chip-renderer[chip-style=\"STYLE_HOME_FILTER\"][selected]:focus {", | |
" background-color: #2996cb59;", | |
" border: 1px solid #17f5fb", | |
"}", | |
"", | |
"yt-chip-cloud-chip-renderer[chip-style=\"STYLE_DEFAULT\"][selected], yt-chip-cloud-chip-renderer[chip-style=\"STYLE_HOME_FILTER\"][selected] {", | |
" background-color: #17caea;", | |
" color: #fff;", | |
"}", | |
"", | |
"/*new update*/", | |
"img[src=\"https://www.gstatic.com/images/branding/product/2x/youtube_96in128dp.png\"] {", | |
" content: url(https://i.ibb.co/rxhXqHs/neonyt.png);", | |
"}", | |
" path[d=\"M6,18h12v1H6V18z M22,6.2v9.6c0,0.66-0.54,1.2-1.2,1.2H3.2C2.54,17,2,16.46,2,15.8V6.2C2,5.54,2.54,5,3.2,5 h17.6C21.46,5,22,5.54,22,6.2z\"] {", | |
" fill: #9809fa66!important;", | |
" stroke: #00fff7", | |
"}", | |
" /*kids*/", | |
" path[d=\"M21.39,13.19c0-0.08,0-0.15,0-0.22c-0.01-0.86-0.5-5-0.78-5.74c-0.32-0.85-0.76-1.5-1.31-1.91 c-0.9-0.67-1.66-0.82-2.6-0.84l-0.02,0c-0.4,0-3.01,0.32-5.2,0.62C9.28,5.4,6.53,5.8,5.88,6.04c-0.9,0.33-1.62,0.77-2.19,1.33 c-1.05,1.04-1.18,2.11-1.04,3.51c0.1,1.09,0.69,5.37,1.02,6.35c0.45,1.32,1.33,2.12,2.47,2.24c0.28,0.03,0.55,0.05,0.82,0.05 c1,0,1.8-0.21,2.72-0.46c1.45-0.39,3.25-0.87,6.97-0.87l0.09,0h0.02c0.91,0,3.14-0.2,4.16-2.07C21.44,15.12,21.41,13.91,21.39,13.19 z\"] {", | |
" fill: #9809fa66!important;", | |
"}", | |
" [d=\"M21.99,13.26c0-0.08,0-0.16-0.01-0.24c-0.01-0.92-0.54-5.32-0.83-6.11c-0.34-0.91-0.81-1.59-1.4-2.03 C18.81,4.17,17.99,4.02,17,4l-0.02,0c-0.43,0-3.21,0.34-5.54,0.66c-2.33,0.32-5.25,0.75-5.95,1C4.53,6.01,3.76,6.48,3.16,7.08 c-1.12,1.1-1.25,2.25-1.11,3.74c0.11,1.16,0.73,5.71,1.08,6.75c0.48,1.41,1.41,2.25,2.63,2.38C6.06,19.98,6.34,20,6.63,20 c1.07,0,1.91-0.23,2.89-0.49c1.54-0.41,3.46-0.93,7.41-0.93l0.1,0h0.02c0.97,0,3.34-0.21,4.42-2.2 C22.04,15.32,22.01,14.03,21.99,13.26z M20.59,15.91c-0.82,1.51-2.75,1.68-3.56,1.68l-0.1,0c-4.09,0-6.07,0.53-7.67,0.96 C8.31,18.8,7.56,19,6.63,19c-0.25,0-0.5-0.01-0.76-0.04c-1.04-0.11-1.54-0.99-1.79-1.71c-0.3-0.88-0.91-5.21-1.04-6.53 C2.9,9.25,3.1,8.54,3.86,7.79c0.5-0.5,1.15-0.89,1.97-1.19c0.17-0.06,1.1-0.32,5.74-0.95C14.2,5.29,16.64,5.01,16.99,5 c0.83,0.02,1.43,0.13,2.17,0.69c0.43,0.32,0.79,0.86,1.06,1.58c0.22,0.58,0.76,4.78,0.77,5.77l0.01,0.25 C21.01,13.96,21.04,15.08,20.59,15.91z\"] {", | |
" fill: #00fff7", | |
"}", | |
"", | |
"path[fill=\"#F00\"] {", | |
" fill: #9809fa66!important;", | |
" stroke: #00fff7", | |
"}", | |
"circle[fill=\"#FF0000\"] {", | |
" fill: #9809fa69!important;", | |
" stroke: #00fff7;", | |
" transform: scale(0.9) translatey(6%) translatex(6%);", | |
"}", | |
" ", | |
" /*upload video*/", | |
"path[d=\"M19,4H5A2.15,2.15,0,0,0,3,6V18a2.15,2.15,0,0,0,2,2H19a2.15,2.15,0,0,0,2-2V6A2.15,2.15,0,0,0,19,4ZM5,18H19V6H5Z\"] {", | |
" fill: #9f15c6!important;", | |
"}", | |
"path[d=\"M15,12,10,8v8Z\"] {", | |
" fill: #0ff!important;", | |
"}", | |
" ", | |
" /*go live icon*/", | |
"path[d=\"M23,12a11,11,0,0,1-3.22,7.78l-1.41-1.41a9,9,0,0,0,0-12.73l1.41-1.41A11,11,0,0,1,23,12ZM5.64,5.64,4.22,4.22a11,11,0,0,0,0,15.56l1.41-1.41a9,9,0,0,1,0-12.73ZM16.95,7.05,15.54,8.46a5,5,0,0,1,0,7.07l1.41,1.41a7,7,0,0,0,0-9.9Zm-9.9,0a7,7,0,0,0,0,9.9l1.41-1.41a5,5,0,0,1,0-7.07Z\"] {", | |
" fill: #8017aa!important;", | |
"}", | |
"path[d=\"M12,9a3,3,0,1,1-3,3,3,3,0,0,1,3-3\"] {", | |
" fill: #02dbff!important;", | |
"}", | |
"", | |
"/*mic*/", | |
"[d*=\"M12 3C10.34 3 9 4.37 9 6.07V11.93C9 13.63 10\"],", | |
"[d*=\"M12 14c1.66 0 2.99-1.34 2.99-3L15 5c0-1.66-1.\"] {", | |
" d: path(\"M2.64,15.87l-1.41.94A11.63,11.63,0,0,1,10.94,0l-.11,1.68A10,10,0,0,0,2.64,15.87Zm9-12.79a8.55,8.55,0,1,1-8.54,8.55A8.55,8.55,0,0,1,11.66,3.08ZM8.92,11.83a2.74,2.74,0,0,0,5.48,0v-5a2.74,2.74,0,0,0-5.48,0ZM6.79,12A4.87,4.87,0,0,0,11,16.72v1.2H9.58v1.33h4.16V17.92H12.33v-1.2A4.87,4.87,0,0,0,16.54,12H15.15a3.49,3.49,0,0,1-7,0Zm5.6-12,.1,1.68a10,10,0,0,1,8.19,14.19l1.41.94A11.63,11.63,0,0,0,12.39,0Zm-.73,21.61a10,10,0,0,1-8.19-4.3L2,18.07a11.65,11.65,0,0,0,19.43,0l-1.53-.76A10,10,0,0,1,11.66,21.61Z\")!important;", | |
"}", | |
"", | |
"/*left icons*/", | |
"path[d=\"M17 10.5V7c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-3.5l4 4v-11l-4 4zM14 13h-3v3H9v-3H6v-2h3V8h2v3h3v2z\"], [d*=\"M14,13h-3v3H9v-3H6v-2h3V8h2v3h3V13z M17,6H3\"] {", | |
" d: path(\"M3.12,11.63a8.55,8.55,0,1,0,8.54-8.55A8.54,8.54,0,0,0,3.12,11.63ZM7.86,5.49l10.66,6.15L7.86,17.8ZM2.64,15.87l-1.41.94A11.63,11.63,0,0,1,10.94,0l-.11,1.68A10,10,0,0,0,2.64,15.87Zm17.21,1.44,1.53.76A11.65,11.65,0,0,1,2,18.07l1.52-.76a9.95,9.95,0,0,0,16.38,0Zm3.47-5.69a11.57,11.57,0,0,1-1.23,5.19l-1.41-.94A10,10,0,0,0,12.49,1.68L12.39,0A11.65,11.65,0,0,1,23.32,11.62ZM13,12H11.64v1.31h-.7V12H9.63v-.71h1.31V10h.7v1.3H13Z\")!important;", | |
"}", | |
"", | |
"path[d=\"M4 8h4V4H4v4zm6 12h4v-4h-4v4zm-6 0h4v-4H4v4zm0-6h4v-4H4v4zm6 0h4v-4h-4v4zm6-10v4h4V4h-4zm-6 4h4V4h-4v4zm6 6h4v-4h-4v4zm0 6h4v-4h-4v4z\"],", | |
" [d*=\"M16,4v4h4V4H16z M19,7h-2V5h2V7z M16,10v4h4v\"] {", | |
" d: path(\"M11.66,3.08a8.55,8.55,0,1,0,8.55,8.55A8.54,8.54,0,0,0,11.66,3.08ZM10.51,16.75H6.57V12.82h3.94Zm0-6.31H6.57V6.5h3.94Zm6.24,6.31H12.81V12.82h3.94Zm0-6.31H12.81V6.5h3.94ZM12.39,0a11.63,11.63,0,0,1,9.7,16.81l-1.41-.94A10,10,0,0,0,12.49,1.68Zm9,18.07A11.65,11.65,0,0,1,2,18.07l1.52-.76a9.95,9.95,0,0,0,16.38,0ZM1.23,16.81A11.63,11.63,0,0,1,10.94,0l-.11,1.68A10,10,0,0,0,2.64,15.87Z\")!important;", | |
"}", | |
"", | |
"path[d=\"M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2zm6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2z\"], [d*=\"M10,20h4c0,1.1-0.9,2-2,2S10,21.1,10,20z M20\"] {", | |
" d: path(\"M2.64,15.87l-1.41.94A11.63,11.63,0,0,1,10.94,0l-.11,1.68A10,10,0,0,0,2.64,15.87Zm9-12.79a8.55,8.55,0,1,1-8.54,8.55A8.55,8.55,0,0,1,11.66,3.08ZM13.23,15.7H10.1a1.57,1.57,0,0,0,3.13,0ZM5.85,14.39a.37.37,0,0,0,0,.73H17.44a.37.37,0,0,0,0-.73c-3.42-.35-.33-8.47-5.17-9,0-.89-.22-1.22-.65-1.24S11,4.52,11,5.41C6.17,5.92,9.26,14,5.85,14.39Zm5.81,7.22a10,10,0,0,1-8.19-4.3L2,18.07a11.65,11.65,0,0,0,19.43,0l-1.53-.76A10,10,0,0,1,11.66,21.61ZM12.39,0l.1,1.68a10,10,0,0,1,8.19,14.19l1.41.94A11.63,11.63,0,0,0,12.39,0Z\")!important;", | |
"}", | |
"", | |
"path[d=\"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z\"],", | |
"[d*=\"M21,6H3V5h18V6z M21,11H3v1h18V11z M21,17H3v\"] {", | |
" d: path(\"M2.64,15.87l-1.41.94A11.63,11.63,0,0,1,10.94,0l-.11,1.68A10,10,0,0,0,2.64,15.87Zm9-12.79a8.55,8.55,0,1,1-8.54,8.55A8.55,8.55,0,0,1,11.66,3.08ZM6.21,7.9A1.14,1.14,0,0,0,7.34,9H16a1.14,1.14,0,0,0,0-2.28H7.34A1.14,1.14,0,0,0,6.21,7.9Zm0,3.74a1.14,1.14,0,0,0,1.13,1.14H16a1.14,1.14,0,1,0,0-2.27H7.34A1.13,1.13,0,0,0,6.21,11.64Zm0,3.75a1.14,1.14,0,0,0,1.13,1.13H16a1.14,1.14,0,1,0,0-2.27H7.34A1.14,1.14,0,0,0,6.21,15.39Zm5.45,6.22a10,10,0,0,1-8.19-4.3L2,18.07a11.65,11.65,0,0,0,19.43,0l-1.53-.76A10,10,0,0,1,11.66,21.61ZM12.39,0l.1,1.68a10,10,0,0,1,8.19,14.19l1.41.94A11.63,11.63,0,0,0,12.39,0Z\")!important;", | |
"}", | |
"", | |
"/*trending*/", | |
"", | |
"img[src=\"//youtube.com/img/trending/chips/music_160x160.png\"] {", | |
" content: url(https://img.icons8.com/nolan/160/musical-notes.png)", | |
"}", | |
"img[src=\"//youtube.com/img/trending/chips/gaming_160x160.png\"] {", | |
" content: url(https://img.icons8.com/nolan/160/controller.png)", | |
"}", | |
"img[src=\"//youtube.com/img/trending/chips/news_160x160.png\"] {", | |
" content: url(https://img.icons8.com/nolan/160/news.png)", | |
"}", | |
"img[src=\"//youtube.com/img/trending/chips/movies_160x160.png\"] {", | |
" content: url(https://img.icons8.com/nolan/160/movie.png)", | |
"}", | |
"img[src=\"//youtube.com/img/trending/chips/fashion_160x160.png\"] {", | |
" content: url(https://img.icons8.com/nolan/160/hanger.png)", | |
"}", | |
"", | |
"/*buttton anim*/", | |
"button.yt-icon-button:hover {", | |
" color: #00fbff;", | |
" animation: yadix 0.3s ease-in-out", | |
"}", | |
"@keyframes yadix {", | |
" 0% {box-shadow: 0px 0px 9px 4px #f40a8f; border-radius:50px; color: #ff00ae;}", | |
"}", | |
" ", | |
"/*channel on screen*/", | |
" .ytp-ce-expanding-overlay-background, .iv-card {", | |
" background: #44167166;", | |
" box-shadow: 0px 0px 0px 1px #b84fff", | |
"}", | |
" .ytp-ce-channel-metadata, .iv-card h2 {", | |
" color: #fff", | |
"}", | |
" .yt-ui-ellipsis {", | |
" background-color: #fff0;", | |
"}", | |
" ", | |
" /*icons*/", | |
".guide-icon.ytd-guide-entry-renderer,", | |
"yt-icon.ytd-menu-service-item-renderer {", | |
" color: #fcfcfc;", | |
"}", | |
" ", | |
" html:not(.style-scope),", | |
" html:not(.style-scope)[dark] {", | |
" --yt-button-icon-button-text-color: #fff!important;", | |
" --yt-spec-text-secondary: #bebebe!important;", | |
" --yt-spec-icon-inactive: #a5a5a5!important;", | |
" } ", | |
"", | |
"/********************************/", | |
"/*2021 Youtube RetroWave by YAD*/", | |
"/********************************/" | |
].join("\n"); | |
if (typeof GM_addStyle != "undefined") { | |
GM_addStyle(css); | |
} else if (typeof PRO_addStyle != "undefined") { | |
PRO_addStyle(css); | |
} else if (typeof addStyle != "undefined") { | |
addStyle(css); | |
} else { | |
var node = document.createElement("style"); | |
node.type = "text/css"; | |
node.appendChild(document.createTextNode(css)); | |
var heads = document.getElementsByTagName("head"); | |
if (heads.length > 0) { | |
heads[0].appendChild(node); | |
} else { | |
// no head yet, stick it whereever | |
document.documentElement.appendChild(node); | |
} | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment