Page 1 of 1

is there a way to get the new youtube layout on basilisk

Posted: 2017-12-30, 10:53
by ianas
some of you might have seen the new youtube layout I was wondering if it was possible to get it working on Basilisk
I know that Basilisk identifies as
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:55.0) Gecko/20100101 Goanna/4.0 Firefox/55.0 Basilisk/20171201 (I know there is an update)
as far as I remember the new youtube worked with FF55
google offered the new layout to me only to redirect me to a Chrome download page saying your browser is not supported
anybody has a clue how to get around this google bug?

Re: is there a way to get the new youtube layout on basilisk

Posted: 2017-12-30, 12:00
by coffeebreak
Any vanilla Firefox user agent for v.45 or later should do it.

Also, this one works, see here.

Code: Select all

Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.9) Gecko/20100101 Firefox/45.9 (Pale Moon)

Re: is there a way to get the new youtube layout on basilisk

Posted: 2018-01-01, 07:56
by ianas
tanks for the info
I did a little tweaking in about config and upping the FF version to 57 doesn't fix things so I am speculating that the Goanna part in the user agent is the reason google forces the old youtube on us maybe this could work

Code: Select all

Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0 Basilisk/20171228
edit
I just changed my user agent to the above (removed the Goanna bit) and youtube defaults to the new UI (I used one of prefbar's many features to change the browser id)
maybe there can be an option to remove/disable Goanna from the user agent ?

Re: is there a way to get the new youtube layout on basilisk

Posted: 2018-01-01, 09:11
by coffeebreak
ianas wrote:I just changed my user agent to the above (removed the Goanna bit) and youtube defaults to the new UI (I used one of prefbar's many features to change the browser id)
maybe there can be an option to remove/disable Goanna from the user agent ?

Just fyi, "vanilla" firefox user agent by definition doesn't include Goanna.
Examples:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:57.0) Gecko/20100101 Firefox/57.0
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:55.0) Gecko/20100101 Firefox/55.0
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0
@ianas,
Set up a custom user agent override specifically for youtube.com in about:config --

about:config > right-click for context menu > New > String
For preference name enter:

Code: Select all

general.useragent.override.youtube.com

In the next box enter your desired user agent:

Code: Select all

Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0 Basilisk/20171228


Now, if you've changed it, you can reset the overall user agent back to its default.

Re: is there a way to get the new youtube layout on basilisk

Posted: 2018-01-02, 01:42
by ianas
tanks for that I didn't know you could change the user agent per site
I didn't change the browser user agent I used prefbar to temporally switch to a new agent I'll do what you suggested
but I removed the Basilisk bits for youtube I added the preference

Code: Select all

general.useragent.override.youtube.com
and set the value

Code: Select all

Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0
and the new UI is working flawlessly