Skip to content
This repository has been archived by the owner on Aug 20, 2023. It is now read-only.

Commit

Permalink
Fixed an obsolete CSS selector for sidebar videos.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mandrenkov committed Dec 22, 2020
1 parent be78f69 commit 4ce281c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion js/manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ class Manager {

// Fetches all the secondary Videos in the given HTML element.
fetchSecondaryVideos(element) {
return Array.from(element.querySelectorAll(":scope ytd-compact-video-renderer.style-scope.ytd-watch-next-secondary-results-renderer"));
return Array.from(element.querySelectorAll(":scope ytd-compact-video-renderer.style-scope.ytd-watch-next-secondary-results-renderer")).concat(
Array.from(element.querySelectorAll(":scope ytd-compact-video-renderer.style-scope.ytd-item-section-renderer")));
}

// Fetches all the shelf Videos in the given HTML element.
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "FreshView for YouTube™",
"short_name": "FreshView for YouTube™",
"description": "Hide YouTube™ videos you've already watched to easily discover fresh content.",
"version": "2.0.1",
"version": "2.0.2",

"icons": {
"16": "img/icon16.png",
Expand Down

0 comments on commit 4ce281c

Please sign in to comment.