mirror of
https://github.com/tubearchivist/browser-extension.git
synced 2024-11-22 11:40:13 +00:00
build links for shorts videos
This commit is contained in:
parent
8b71d15036
commit
55ef05cc2a
@ -214,7 +214,7 @@ function getThubnailContainers() {
|
|||||||
function buildVideoButton(thumbContainer) {
|
function buildVideoButton(thumbContainer) {
|
||||||
let thumbLink = thumbContainer?.href;
|
let thumbLink = thumbContainer?.href;
|
||||||
if (!thumbLink) return;
|
if (!thumbLink) return;
|
||||||
if (thumbLink.includes('list=') || thumbLink.includes('/shorts/')) return;
|
if (thumbLink.includes('list=')) return;
|
||||||
let ggp = thumbContainer?.parentElement?.parentElement;
|
let ggp = thumbContainer?.parentElement?.parentElement;
|
||||||
if (ggp?.id !== 'dismissible') return;
|
if (ggp?.id !== 'dismissible') return;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user