Skip to content

Commit

Permalink
Fix after YouTube update (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
toluschr committed Feb 2, 2024
1 parent 13330f5 commit 39896b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions inject.js
Expand Up @@ -51,9 +51,9 @@

/* Query Selectors */
// From main
const QS_TRANSLATE_BUTTON = "#header>#header-author>yt-formatted-string>#translate-button";
const QS_TRANSLATE_BUTTON = "#header>#header-author>yt-formatted-string>#translate-button, #header>#header-author>#published-time-text>#translate-button";
const QS_CONTENT_TEXT = "#expander>#content>#content-text";
const QS_BUTTON_CONTAINER = "#header>#header-author>yt-formatted-string";
const QS_BUTTON_CONTAINER = "#header>#header-author>yt-formatted-string, #header>#header-author>#published-time-text";

/* User settings */
var TRANSLATE_TEXT = "translate", UNDO_TEXT = "undo", TARGET = navigator.language || navigator.userLanguage;
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
@@ -1,6 +1,6 @@
{
"name": "YouTube\u2122 Comment Translate",
"version": "1.2.3",
"version": "1.2.4",
"description": "Automatically translate YouTube comments using the Google-Translate API",
"content_scripts": [
{
Expand Down

0 comments on commit 39896b2

Please sign in to comment.