There is also a persist flag you can use so that your saved cookies will always take you to the respective version.
Switch to mobile:
https://m.youtube.com/?persist_app=1&app=m
Switch to desktop:
There is also a persist flag you can use so that your saved cookies will always take you to the respective version.
Switch to mobile:
https://m.youtube.com/?persist_app=1&app=m
Switch to desktop: