mirror of
https://github.com/YouG-o/YouTube-No-Translation.git
synced 2026-04-26 10:35:48 +03:00
[GH-ISSUE #53] descriptionIndex setAttribute('translate', 'no') does nothing #50
Labels
No labels
ToDo
bug
enhancement
enhancement
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/YouTube-No-Translation#50
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @raszpl on GitHub (Jul 1, 2025).
Original GitHub issue: https://github.com/YouG-o/YouTube-No-Translation/issues/53
Originally assigned to: @YouG-o on GitHub.
github.com/YouG-o/YouTube_No_Translation@91061a2a77/src/content/description/descriptionIndex.ts (L205-L213)obviously Google doesnt honor https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/translate so this code is redundant
el.style.setProperty('translate', 'no', 'important');CSS translate property is about positioning not language and since 'no' is not a valid value this instruction is ignored and doesnt set any styles
Initially I got excited when I saw this piece of code, sadly it looks like there is no magic variable/parameter one coud set to make YT stop on its own :(
@YouG-o commented on GitHub (Jul 1, 2025):
You're right, this block is a leftover from my early experiments and is 100% useless. Removed it, thanks for pointing it out!