pcouy / YoutubeAutotranslateCanceler

Provides a way to disable auto-translation on YouTube video titles
https://greasyfork.org/en/scripts/374453-youtube-title-translate-reverser
MIT License
73 stars 11 forks source link

Fixed all known errors #12

Closed Seneral closed 5 years ago

Seneral commented 5 years ago

Fixed #10 (Replacing of YouTube Mix titles with title of first song) by excluding radio and playlist classes from spans

Fixed #9 (Occasional wrong titles due to old IDs from slow Youtube load) by checking for the ID of the element again to verify it has not been modified by Youtube while the API request was loading. If it has, it will be loaded again in the next iteration

Fixed #11 (Occasionally mangled video descriptions) probably by also reloading the description if youtube has been detected to load slow (video ID's changed)

Pretty sure this is now solid, no weird error so far and if you observe the log while browsing you can easily verify that all changed titles are indeed correct.

Seneral commented 5 years ago

Of course, this also fixes #6 .