Skip to content

Commit ffd17c0

Browse files
committed
Re-formatted HTML ↞ [auto-sync from https://github.com/adamlui/youtube-classic]
1 parent 01a8e9e commit ffd17c0

1 file changed

Lines changed: 11 additions & 14 deletions

File tree

youtube-classic/youtube-classic.user.js

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name YouTube™ Classic 📺 — (Remove rounded design + Return YouTube dislikes)
3-
// @version 2026.1.17.39
3+
// @version 2026.1.17.40
44
// @author Adam Lui, Magma_Craft, Anarios, JRWR, Fuim & hoothin
55
// @namespace https://github.com/adamlui
66
// @description Reverts YouTube to its classic design (before all the rounded corners & hidden dislikes) + redirects YouTube Shorts
@@ -1376,20 +1376,17 @@
13761376
const colorDislikeStyle = extConfig.coloredBar ? `; background-color: ${getColorFromTheme(false)}` : ''
13771377
document.getElementById('menu-container').insertAdjacentHTML('beforeend', `
13781378
<div class="ryd-tooltip" style="width: ${widthPx}px">
1379-
<div class="ryd-tooltip-bar-container">
1380-
<div
1381-
id="return-youtube-dislike-bar-container"
1382-
style="width: 100%; height: 2px;${colorDislikeStyle}"
1383-
>
1384-
<div
1385-
id="return-youtube-dislike-bar"
1386-
style="width: ${widthPercent}%; height: 100%${colorDislikeStyle}"
1387-
></div>
1379+
<div class="ryd-tooltip-bar-container">
1380+
<div id="return-youtube-dislike-bar-container"
1381+
style="width: 100% ; height: 2px ; ${colorDislikeStyle}">
1382+
<div id="return-youtube-dislike-bar"
1383+
style="width: ${widthPercent}%; height: 100%${colorDislikeStyle}"></div>
1384+
</div>
13881385
</div>
1389-
</div>
1390-
<tp-yt-paper-tooltip position="top" id="ryd-dislike-tooltip" class="style-scope ytd-sentiment-bar-renderer" role="tooltip" tabindex="-1">
1391-
<!--css-build:shady-->${tooltipInnerHTML}
1392-
</tp-yt-paper-tooltip>
1386+
<tp-yt-paper-tooltip position="top" id="ryd-dislike-tooltip"
1387+
class="style-scope ytd-sentiment-bar-renderer" role="tooltip" tabindex="-1">
1388+
<!--css-build:shady-->${tooltipInnerHTML}
1389+
</tp-yt-paper-tooltip>
13931390
</div>
13941391
`)
13951392
} else {

0 commit comments

Comments
 (0)