mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 10:31:47 +00:00
@ -57,10 +57,10 @@ yt-page-navigation-progress,
|
|||||||
|
|
||||||
/* The scrollbar 'thumb' ...that marque oval shape in a scrollbar */
|
/* The scrollbar 'thumb' ...that marque oval shape in a scrollbar */
|
||||||
::-webkit-scrollbar-thumb:vertical {
|
::-webkit-scrollbar-thumb:vertical {
|
||||||
background-clip: padding-box;
|
|
||||||
border: 2px solid rgba(0, 0, 0, 0);
|
border: 2px solid rgba(0, 0, 0, 0);
|
||||||
|
|
||||||
background: #3a3a3a;
|
background: #3a3a3a;
|
||||||
|
background-clip: padding-box;
|
||||||
border-radius: 100px;
|
border-radius: 100px;
|
||||||
-moz-border-radius: 100px;
|
-moz-border-radius: 100px;
|
||||||
-webkit-border-radius: 100px;
|
-webkit-border-radius: 100px;
|
||||||
|
|||||||
@ -3,7 +3,6 @@
|
|||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
line-height: var(--ytmusic-title-1_-_line-height);
|
line-height: var(--ytmusic-title-1_-_line-height);
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
color: #fff;
|
|
||||||
--yt-endpoint-color: #fff;
|
--yt-endpoint-color: #fff;
|
||||||
--yt-endpoint-hover-color: #fff;
|
--yt-endpoint-hover-color: #fff;
|
||||||
--yt-endpoint-visited-color: #fff;
|
--yt-endpoint-visited-color: #fff;
|
||||||
|
|||||||
@ -85,7 +85,7 @@ function forcePlaybackRate(e) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
module.exports = () => {
|
module.exports = () => {
|
||||||
document.addEventListener('apiLoaded', e => {
|
document.addEventListener('apiLoaded', () => {
|
||||||
observePopupContainer();
|
observePopupContainer();
|
||||||
observeVideo();
|
observeVideo();
|
||||||
setupWheelListener();
|
setupWheelListener();
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
const { ipcRenderer } = require("electron");
|
|
||||||
const is = require("electron-is");
|
const is = require("electron-is");
|
||||||
|
|
||||||
let ignored = {
|
let ignored = {
|
||||||
|
|||||||
@ -3,7 +3,7 @@ const hark = require("hark/hark.bundle.js");
|
|||||||
module.exports = () => {
|
module.exports = () => {
|
||||||
let isSilent = false;
|
let isSilent = false;
|
||||||
|
|
||||||
document.addEventListener("apiLoaded", (apiEvent) => {
|
document.addEventListener("apiLoaded", () => {
|
||||||
const video = document.querySelector("video");
|
const video = document.querySelector("video");
|
||||||
const speechEvents = hark(video, {
|
const speechEvents = hark(video, {
|
||||||
threshold: -100, // dB (-100 = absolute silence, 0 = loudest)
|
threshold: -100, // dB (-100 = absolute silence, 0 = loudest)
|
||||||
|
|||||||
Reference in New Issue
Block a user