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

Board for discussions around the Basilisk web browser.

Moderator: Basilisk-Dev

ianas

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

Unread post by ianas » 2017-12-30, 10:53

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?

coffeebreak
Moon Magic practitioner
Moon Magic practitioner
Posts: 2986
Joined: 2015-09-26, 04:51
Location: U.S.

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

Unread post by coffeebreak » 2017-12-30, 12:00

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)

ianas

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

Unread post by ianas » 2018-01-01, 07:56

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 ?
Last edited by ianas on 2018-01-01, 07:59, edited 1 time in total.

coffeebreak
Moon Magic practitioner
Moon Magic practitioner
Posts: 2986
Joined: 2015-09-26, 04:51
Location: U.S.

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

Unread post by coffeebreak » 2018-01-01, 09:11

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.
Last edited by coffeebreak on 2018-01-01, 09:30, edited 2 times in total.

ianas

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

Unread post by ianas » 2018-01-02, 01:42

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
Last edited by ianas on 2018-01-02, 01:45, edited 2 times in total.

Locked