build links for shorts videos

pull/18/head
simon 1 year ago
parent 8b71d15036
commit 55ef05cc2a

@ -214,7 +214,7 @@ function getThubnailContainers() {
function buildVideoButton(thumbContainer) {
let thumbLink = thumbContainer?.href;
if (!thumbLink) return;
if (thumbLink.includes('list=') || thumbLink.includes('/shorts/')) return;
if (thumbLink.includes('list=')) return;
let ggp = thumbContainer?.parentElement?.parentElement;
if (ggp?.id !== 'dismissible') return;

Loading…
Cancel
Save