What is Spoofing and why is it needed?

From time to time a website will decide to block Vivaldi users from accessing their pages. They can do this by looking at our “User Agent”. The User Agent is a piece of information that is sent from the browser to the website when it connects, telling the site which browser is being used.

Sometimes the development team of a website will naïvely assume that only tested browsers should be given access to their site. They use the User Agent information, to block browsers that they consider to be unsupported. Since Vivaldi is based on current web standards and uses an up to date copy of Chromium/Blink (one of the most popular rendering engines), there is usually no good reason to block us. The following is a quick guide as to how to work around such website blocks, should you encounter them.

Spoofing your User Agent

It is possible to spoof (fake) the User Agent directly in Vivaldi, however this currently requires the use of a command line switch and the new User Agent would be sent to every website you view. Being able to quickly enable and disable this spoofing, or better yet making it ‘site-specific’ ensures that other websites continue to recognise Vivaldi users and thus see the growth of our user base, which helps to ensure less of these issues in the future. Therefore it is better to use a browser extension to handle this and then limit its impact to the problematic website(s).

There are many User Agent spoofing Extensions. Most of them have numerous options and lots of preconfigured User Agents for very old browsers and are intended for web developer usage. We therefore suggest “User-Agent Switcher Single Click” because of its simplicity, which is perfect for these kinds of website workarounds.

After installing “User-Agent Switcher Single Click” you will be presented with a configuration page, where you can enter a new User Agent. The best way to configure a User Agent that is equivalent to Chrome is to load vivaldi://about and copy the listed User Agent, minus the “Vivaldi/…” part on the end.

Then paste this into the configuration page and click “Save”.

Finally, remember to switch “User-Agent Switcher Single Click” on by clicking on the Mustache icon in the extension area of the Address bar to turn it red (active) and be sure to reload the page.

You may need to update the spoofed User Agent after a Vivaldi upgrade, so that the Chromium version relates to the version of Vivaldi you are running. To do so, just repeat the above steps.

Site Specific Spoofing

To limit the effect of this extension to a specific website, go to vivaldi://extensions, find the “User-Agent Switcher Single Click” entry and click on “Details”

Add the site you want to limit the new User Agent to.

You can also add further URLs to the list if you encounter such issues on further websites.

Example configuration video

Here is a video demonstrating the entire process of spoofing the User Agent to Chrome, for WhatsApp Web and Google.com:

 

Problems?

Some websites that make use of Cookies or Web storage may continue to have issues, if this locally stored data references either the User Agent (before spoofing) or past connection failures. If you suspect this, open ‘Developer Tools’, click on the ‘Application’ tab and use the ‘Clear Storage’ options to clear all the site data (remember to check the box for ‘Cookies’ as well).

Reporting websites

If you do encounter issues with websites blocking Vivaldi (or behaving differently) based on User Agent we recommend you politely report the issue to the website in question. Often they will remove their block and allow Vivaldi users to access the page in question, once they are made aware.

You may also wish to report an issue to us. This allows us to reach out to them as well, and in cases where websites are non responsive to requests for removal of the blocking, we may build in a workaround for that website directly.