Skip to content

Commit 556c22c

Browse files
committed
[bugfix] 73 - fix hiding mini shorts tab button on the left side on desktop
1 parent 6b7eae0 commit 556c22c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

manifest-chrome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"manifest_version": 3,
3-
"version": "1.9.2",
3+
"version": "1.9.3",
44
"name": "__MSG_extensionName__",
55
"description": "__MSG_extensionDescription__",
66
"icons": {

manifest-firefox.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"manifest_version": 2,
3-
"version": "1.9.2",
3+
"version": "1.9.3",
44
"name": "__MSG_extensionName__",
55
"description": "__MSG_extensionDescription__",
66
"icons": {

src/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ const dRearrangeVideosInGrid = new RearrangeVideosInGrid();
7171
const dHidingVideoRenderer = new HidingShortsWithContainer("ytd-video-renderer", "ytd-shelf-renderer");
7272
// hiding videos on subscription page in list mode
7373
const dHideVideoRendererSubscriptionPage = new HidingShortsWithContainer("ytd-video-renderer", "ytd-item-section-renderer");
74-
const DESKTOP_SHORTS_MINI_TAB_SELECTOR = "ytd-mini-guide-entry-renderer>a:not([href])"
74+
const DESKTOP_SHORTS_MINI_TAB_SELECTOR = "ytd-mini-guide-entry-renderer>a[href='/shorts/']"
7575
const DESKTOP_GUIDE_WRAPPER_SELECTOR = "div[id='guide-wrapper']";
76-
const DESKTOP_GUIDE_WRAPPER_MINI_SELECTOR = "ytd-mini-guide-renderer";
76+
const DESKTOP_GUIDE_WRAPPER_MINI_SELECTOR = "ytd-mini-guide-renderer>div[id='items']";
7777
const DESKTOP_NOTIFICATION_RENDERER = "ytd-notification-renderer";
7878

7979
const SHORTS_TAB_SELECTOR = isMobile ? "ytm-pivot-bar-item-renderer>div[class='pivot-bar-item-tab pivot-shorts']" : "ytd-guide-entry-renderer>a:not([href])"

0 commit comments

Comments
 (0)