From bf1c47843f987bee05c69bd30d53498f551256a6 Mon Sep 17 00:00:00 2001 From: Simon Date: Fri, 25 Aug 2023 15:37:07 +0700 Subject: [PATCH] better video button title --- extension/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extension/script.js b/extension/script.js index 96dfd7a..9865f62 100644 --- a/extension/script.js +++ b/extension/script.js @@ -329,7 +329,7 @@ function buildVideoButton(titleContainer) { dlButton.setAttribute('data-id', videoId); dlButton.setAttribute('data-type', 'video'); - dlButton.title = `TA download video ${videoId}`; + dlButton.title = `TA download video: ${titleContainer.innerText} [${videoId}]`; Object.assign(dlButton.style, { display: 'flex',