Youtube - toggle related button

Creates a button on the top header to show/hide related section

ئاپتورى
barn852
بۈگۈن قاچىلانغىنى
0
جەمئىي قاچىلانغىنى
92
باھا نومۇرى
2 0 0
نەشرى
3.0.1
قۇرۇلغان ۋاقتى
2021-07-14
يېڭىلانغان ۋاقتى
2021-12-30
ئىجازەتنامىسى
MIT
قوللايدىغىنى

Hides related section on watch page and creates a button on the right of the search box to show/hide it.
Thanks @nightlancerx and @ev-haus for their contribution.

If you want to toggle the related videos with the description, see my other script: https://greasyfork.org/en/scripts/437821-youtube-right-side-description-with-toggle-button

Or just without any toggle button: https://greasyfork.org/en/scripts/438747-youtube-description-on-the-right-side-above-related-videos

UPDATE: A new mod is available, it toggles the description/comments/related vids: https://greasyfork.org/en/scripts/449600-youtube-right-side-description-comments-related-vids-with-toggle-button