mirror of
https://github.com/goodtube4u/goodtube.git
synced 2025-11-22 10:16:11 +00:00
Fix shorts watch history
This commit is contained in:
@@ -413,6 +413,14 @@
|
||||
// Debug message
|
||||
console.log('[GoodTube] Shorts removed');
|
||||
}
|
||||
// Otherwise, allow shorts in watch history
|
||||
else {
|
||||
cssOutput += `
|
||||
ytd-item-section-renderer[page-subtype='history'] ytd-reel-shelf-renderer {
|
||||
display: block !important;
|
||||
}
|
||||
`;
|
||||
}
|
||||
|
||||
|
||||
// Hide suggested videos if they're not enabled
|
||||
|
||||
8
goodtube.min.js
vendored
8
goodtube.min.js
vendored
@@ -80,13 +80,17 @@
|
||||
.ytp-miniplayer-button {
|
||||
display: none !important;
|
||||
}
|
||||
`,he==="false"&&(e+=`
|
||||
`,he==="false"?(e+=`
|
||||
ytm-pivot-bar-item-renderer:has(> .pivot-shorts),
|
||||
ytd-rich-section-renderer,
|
||||
grid-shelf-view-model {
|
||||
display: none !important;
|
||||
}
|
||||
`,console.log("[GoodTube] Shorts removed")),lt==="true"&&(e+=`
|
||||
`,console.log("[GoodTube] Shorts removed")):e+=`
|
||||
ytd-item-section-renderer[page-subtype='history'] ytd-reel-shelf-renderer {
|
||||
display: block !important;
|
||||
}
|
||||
`,lt==="true"&&(e+=`
|
||||
/* Hide suggested videos */
|
||||
ytd-watch-flexy #secondary #related {
|
||||
display: none !important;
|
||||
|
||||
Reference in New Issue
Block a user