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
|
// Debug message
|
||||||
console.log('[GoodTube] Shorts removed');
|
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
|
// 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 {
|
.ytp-miniplayer-button {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
`,he==="false"&&(e+=`
|
`,he==="false"?(e+=`
|
||||||
ytm-pivot-bar-item-renderer:has(> .pivot-shorts),
|
ytm-pivot-bar-item-renderer:has(> .pivot-shorts),
|
||||||
ytd-rich-section-renderer,
|
ytd-rich-section-renderer,
|
||||||
grid-shelf-view-model {
|
grid-shelf-view-model {
|
||||||
display: none !important;
|
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 */
|
/* Hide suggested videos */
|
||||||
ytd-watch-flexy #secondary #related {
|
ytd-watch-flexy #secondary #related {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
|
|||||||
Reference in New Issue
Block a user