Releases: dideler/toggle-youtube-comments
Fix position of button
Content updates
Vertically align "Show comments" button
The "Show comments" button is now vertically aligned with the "Show more" button in the video's info panel.
Changes: v2.0.2...v2.0.3
Reduce excessive injection
Only inject the HTML and CSS needed to toggle comments when we're on a video page.
Because we're listening for a generic event which fires for many different targets, it can also fire on non-video pages. No need to inject on a non-video page since it doesn't have comments!
Changes: v2.0.1...v2.0.2
Fix toggle button not loading on new YouTube
The button to toggle comments should now also show when navigating to a video page from an index page (e.g. search results).
Changes: v2.0.0...v2.0.1
Compatibility with YouTube's Material UI
YouTube has a new UI ✨ https://www.youtube.com/new
YouTube started rolling out their new Material UI on 2 May 2017 as a preview.
At the end of August 2017 they released it to everyone.
TYC v2 is compatible with the new UI and maintains backwards compatibility with the old UI.
Note the new UI is built with Polymer and no longer uses SPF events which affects injection logic.
Changes: v1.0.1...v2.0.0