Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
The Internet

Vivaldi To Change User-Agent String To Chrome Due To Unfair Blocking (zdnet.com) 88

Because some internet websites unfairly block browsers from accessing their services, starting with Vivaldi 2.10, released today, the Vivaldi browser plans to disguise itself as Chrome to allow users to access websites that unfairly block them. From a report: Vivaldi will do this by modifying its default user-agent (UA) string to the UA string used by Chrome. A UA string is a piece of text that browsers send to websites when they initiate a connection. The UA String contains data about the browser type, rendering engine, and operating system. For example, a UA string for Firefox on Windows looks like this: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko/20100101 Firefox/71.0. UA strings have been in use since the 90s. For decades, websites have used UA agent strings to fine-tune performance and features or block outdated browsers. However, many website owners these days use UA strings to block users from accessing their sites. Some do it because they're not willing to deal with browser-specific bugs, some do it because of pettiness, while big tech companies like Google and Microsoft have done it (and continue to do it) to sabotage competitors on the browser market.
This discussion has been archived. No new comments can be posted.

Vivaldi To Change User-Agent String To Chrome Due To Unfair Blocking

Comments Filter:
  • by Mike Van Pelt ( 32582 ) on Thursday December 19, 2019 @05:05PM (#59539304)

    I've occasionally run into malware links in spam that check the user-agent in order to hide their malware from anything that looks like it might not be a potential victim. Some of them have fingerprinted more than just the user-agent string; some check other http headers, like http_accept, and return 404 or something innocuous if they detect anything inconsistent with "idiot on the keyboard clicking anything".

    • Malware also checks the user agent so that their search engine results stay looking legitimate for as long as possible. Well, that and making their fake Windows/Mac dialog boxes look real by adjusting for each user agent.

    • by AK Marc ( 707885 )
      I miss the old days. I used to have a plug-in in Opera decades ago when they were the best browser (first to tabs, among other things), that randomized my user string to eliminate tracking. Given the abuse of cookies and other things, I've given up and just let everyone track my uninteresting habits.
      • by NateFromMich ( 6359610 ) on Thursday December 19, 2019 @07:38PM (#59539922)

        Opera decades ago when they were the best browser

        You have a very imaginative memory.

        • Opera 5 was 19 years ago... Not quite two decades, but close. I used it from v5 to v12.5 and found it to be the some of the best software I used. I actually bought a copy! Crazy.

    • UC browser is very good, you can get anything you want in this browser, I think in the future it's the new chrome. Beside UC browser, the 9apps is a powerful Android App. They belongs to same company. The app size of 9APPS is relatively smaller compared with the app size of other Android app store, but with same function. Special technology is used of 9apps to break the low internet speed wall, which means even though you are at low internet speed environment, you can also download any apps you want. https: [9apps.com]
  • F Off (Score:5, Insightful)

    by bloodhawk ( 813939 ) on Thursday December 19, 2019 @05:10PM (#59539324)
    There is never any excuse to block a browser based on vendor/age/bias/perceived safety etc etc. It is not the business of a website what you use on your computer beyond them using identifying information to try and make there site more compatible with you (if they wish). If I want to browser your website with a command line interface that isn't your problem. I modify my user agents in various browsers all the time, sometimes to get around this bullshit, other times because it simply isn't their right to know what I am using and 99.99% of the time they don't need to know. Any site that makes statements they will block Browser X or Y because of political/technical/or whatever wanky reason I simply quit using them.
    • by in10se ( 472253 )

      I don't know why any web site would want to block a legitimate browser from their site, but there are obvious reasons why a web site would block based on a user-agent string. There's malformed strings that are clearly bots or script kiddies. There's crawlers that disobey robots.txt. There's requests from "browsers" that haven't existed since the 90's that are performing vulnerability scans. The list goes on and on.

      Blacklists are a never ending game of catch-up, but they stop the dumb and obvious bad actors.

      • by geek ( 5680 )

        I don't know why any web site would want to block a legitimate browser from their site

        Because they dont know its legitimate. They design their sites very specifically to work with certain browsers and their standards. If they don't recognize your user agent string they can block it so it doesn't render in such a way as to make them look bad and give you a link to download a browser they know works with it.

        If browser makers would all follow standards this would be less of an issue. Instead Chrome has become the standard so everyone just uses it as a baseline.

        • Re:F Off (Score:5, Insightful)

          by Dunbal ( 464142 ) * on Thursday December 19, 2019 @07:06PM (#59539796)
          If only there were some sort of standard that all browsers complied with...
          • The issue is often less about standards and more about differing implementations which all technically adhere to the standards but yield drastically different results. Then of course there are problems with known bugs or other quirks. When used properly the agent string allows a site to serve content in the best way possible for the consumer. Unfortunately it also allows site operators to be dicks.
            • by Bert64 ( 520050 )

              So long as you stick with tried and tested features and don't try to use any bleeding edge or proprietary stuff this usually isn't a problem... There are millions of sites out there which render the same on all current browsers without any problem, as well as old versions going back several years.

              • by Dunbal ( 464142 ) *

                adhere to the standards but yield drastically different results

                Yes, it's almost as if there's no standard interpretation of the word standard...

              • by Dunbal ( 464142 ) *
                Ooops meant to respond to parent. My bad.
        • Re:F Off (Score:5, Insightful)

          by Retired ICS ( 6159680 ) on Thursday December 19, 2019 @07:34PM (#59539908)

          "They design their sites very specifically to work with certain browsers"

          Therein is the root cause. Anyone who does that can go fuck themselves up the ass. I will not be partaking of their website.

    • Re:F Off (Score:5, Funny)

      by jrumney ( 197329 ) on Thursday December 19, 2019 @06:25PM (#59539616)

      This has been going on since 1993, when some smart-ass thought it would be a good idea to serve different HTML depending on browser capabilities. As browsers evolved, they had to fake their user agent to get the latest features like <blink> tags served to them.

      Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36

    • by AK Marc ( 707885 )
      If you allow them to connect, then it doesn't work right, then they complain. If you don't allow them to connect, then they can't open a ticket that it doesn't work right.
    • That depends how much ActiveX is on your site.
  • by Fritzed ( 634646 ) <Fritzed@gmaBOYSENil.com minus berry> on Thursday December 19, 2019 @05:17PM (#59539350) Homepage

    If you are a decent web developers, you probably already treat user agent strings as deprecated/obsolete. Feature testing is almost always a better way to go and won't block users unnecessarily.

    Personally, changing the user agent string to match chrome is one of the first changes I make in any Firefox installation. It's the only way to avoid getting less-functional pages from every Google property.

    • No, this is insane. It is an abuse of what the feature was designed for originally. (Not blaming Vivaldi here.)

      The solution is for idiot web developers to not outright block browsers based on user agent string. Sadly, since there are so many terrible web developers out there (and perhaps also some product managers that would force such nonsense), browser developers are forced to do things like this. This ultimately hurts all of us because it makes it impossible to detect a particular browser and actually ha

      • The solution is for idiot web developers to not outright block browsers based on user agent string.

        Well you can't expect idiots to provide you with the solution.
        This is a necessary fix for broken websites.

        • by KiloByte ( 825081 ) on Thursday December 19, 2019 @08:55PM (#59540082)

          A similar case: the TERM env variable.

          In the past, every terminal used its own incompatible control strings. If you wanted to be portable, you had to include a database of popular terminals; usually nasty hacked and copied from program to program -- until termcap came around (later replaced with terminfo), which was a system-provided library. All was good: terminal vendors distributed their termcap entries, insisted on upstreaming them into operating systems -- the problem stayed but the workaround worked.

          Then came vt100. Besides being a revolutionary terminal for other reasons, it was also designed to have extendable constrol strings that degrade gracefully. For example: newer versions had color, but if you send the code, vt100 or vt220 would silently ignore it, rendering proper monochrome text instead of a jumble of controls. It swept the market, and soon all terminals were vt100 compatible.

          But this meant the pressure to include termcap entries was no more. The user could just set TERM to a similar device, with okay results. And thus, terminal makers (now mostly done in software), had to falsify their User-Agent^WTERM strings.

          Even today, you see libvte-based {gnome-,xfce-,lxde-}terminal, terminator, etc -- all identify themselves as "xterm" (or "xterm-256color") despite being greatly different from xterm, so does QT stuff, etc. And eterm, terminology, putty. Or even modern Windows console.

          All because operating systems would take many years to include any new TERM strings. Heck, TERM=linux got popular in 1993 and Solaris still doesn't carry its definition.

          • by Bert64 ( 520050 )

            The TERM variable should be handled more like the accept-language header on websites, that is you have a list of supported types ordered by preference. Any software reading it should go down the list until it finds a compatible one.
            Unfortunately this would need a big change which would take even longer to implement than a new terminal type.

            • Yes! We should all design new systems to accept a range of values that eventually include unknown/new entries and old/unsupported entries, with everything in between.

              Single values are weak in any system with longevity.

    • by dshk ( 838175 )

      Feature testing is almost always a better way to go

      We are using a huge amount of javascript, and working around browser bugs is a regular activity. About every third minor update of a browser has a new bug/regression which affects us. In these cases only the user agent string helps. A fix for a few Chrome versions for example breaks both older and newer Chrome versions, and maybe the same regression come back a year later. However, I also understand Vivaldi developers. It is a shame of web developers, especially of popular web sites, if they abuse the user

      • by Brain-Fu ( 1274756 ) on Thursday December 19, 2019 @06:07PM (#59539542) Homepage Journal

        In my opinion it is far too popular to make excessive overuse of javascript. It makes web pages much bigger than they need to be with longer load times and excessive bugs, all for some fancy feature set that is simply not needed.

        There might be a teeny tiny percentage of web sites that have a supremely high load and some very special needs to meet. But 95% of the sites that imagine themselves to be in this category are not, and they are going hog-wild with bloaty, buggy, overkill-y javascript frameworks that serve to gum things up and ruin the web.

        Simplicity is beauty. Proper use of the basics can meet 99% of needs. But no....every one of us thinks we are special.

        We're not.

        • I don't think it's due to devs thinking they are special. Rather it's because they are lazy, and it's much easier to just snag 35 different packages via NPM than it is to use plain old JS. (There's a trendy aspect to it as well)

          • I don't think it's due to devs thinking they are special. Rather it's because they are lazy, and it's much easier to just snag 35 different packages via NPM than it is to use plain old JS. (There's a trendy aspect to it as well)

            The bloated web is largely due to morons thinking they are devs because they installed a framework/cms and a bunch of crap plugins that sounded cool or claimed to make them more money.

        • by dshk ( 838175 )
          It does not matter why we or anybody else have to use JavaScript a lot. You can bet by the way, that after these experiences this is the last language/environment we would chose voluntarily. My point is that if we have this experience, than there are a hundred thousand web site who uses only one tenth of javascript but meet the same version dependent bugs. By the way, browsers have bugs not only in javascript but in css too.
      • If you use a huge amount of JavaScript (or any at all) I will not go to your website.

      • by BranMan ( 29917 )

        "We are using a huge amount of javascript..."

        I think I've found your problem.

  • Just ignore UA (Score:3, Informative)

    by jawtheshark ( 198669 ) * <slashdot@nosPAm.jawtheshark.com> on Thursday December 19, 2019 @05:33PM (#59539416) Homepage Journal
    Really, no site should block any UA. Hell, UAs simply shouldn't be sent to servers any more. They serve absolutely no purpose except this kind of stupid blocking.
    • RFC 7231, "Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content" (2004) is listed as a "PROPOSED STANDARD". Section 5.5.3 says

      ... implementations are encouraged not to use the product
      tokens of other implementations in order to declare compatibility
      with them, as this circumvents the purpose of the field. If a user
      agent masquerades as a different user agent, recipients can assume
      that the user intentionally desires to see responses tailored for
      that identified user agent, even if they might not work as well for
      the actual user agent being used.

      • Which is the only use I have for them: IE 11 (yeah, I know) being crap means I provide polyfills for it from the server without having to have another round trip. But I don't want to send that file to other browsers that don't need it as that wastes bandwidth and penalises users not running outdated software.

  • by Translation Error ( 1176675 ) on Thursday December 19, 2019 @05:33PM (#59539418)
    Back when Opera was an innovative browser developed by many of the people now at Vivaldi, it had the ability to identify as one of the bigger browsers on a site by site basis. When it didn't, far too many sites either blocked it or disabled 'advanced features'. At one point, Opera even released a Bork edition [opera.com] that displayed MSN as if it were written by the Swedish Chef to highlight the fact that the site intentionally rendered improperly in the standard Opera browser.

    I guess the more things change...
  • In fact the only reason Google hasn’t murdered Mozilla yet is because they know what happened to Microsoft. The only other counterweight is Apple but Webkit is genetically related to blink so doesn’t help diversity. With EdgeHTML out of the game Blink/Webkit has the same market share is higher than IE in 2003 and compatibility is even worse as it’s not enough to just use that engine you have to lie about your user agent.

    I predict within 5 years a Chrome only web will be a reality and Go
    • I have had the sane concern for many years now. Future is not bright for a true standards-based web. Chrome / blink is the new Internet Explorer.

    • Same. And browser functionality as well as the number of web standards has skyrocketed, which means that once Firefox is extinquished, truly new competition is very unlikely to pop up. Especially one whose funding is not based on pure evil, it's hard to compete with a monopoly that gives away its product for free.
  • Make one request with the Chrome agent string and another with the correct UA string? It will work great for one-click purchases I am sure. OK, or retrieve static pages such as images with Vivaldi in the agent string?

  • elves? Like a server that every Firefox user can connect to and it will automatically provide a user agent string that every Firefox user can switch to if they want privacy? And maybe some more stuff like plugin configuration etc. bam, no more browser fingerprinting!

    Sure I can switch my agent from time to time but if I switch to unique configurations I can still be tracked. What I want is a function that makes my browser look like everyone elses to the outside.

  • a new browser just implemented ua spoofing, which has been present in most browsers for decades! yay!

    • The news is not that they allow for UA spoofing (which they did for ages), but that they switch it to turned on by default, essentially giving up their own unique UA.

  • I don't think this has anything to do with browser strings, but lately I've found Microsoft's own sites work better in Chrome than in IE. I've heard Edge works, too, but I like keeping IE as the default. It makes me chuckle every time it locks up and I have to switch to Chrome.
  • Iâ(TM)ve been using Vivaldi as my primary browser for a couple of years now. I donâ(TM)t think Iâ(TM)ve ever been blocked by any website because of my browser.
    • by hawk ( 1151 )

      judging by the characters in your title and body, though, /. *should* have blocked you . . .

      (or are you doing it on purpose?

      hawk

      • LOL.

        That was posted from my phone, running Safari. What a mess!

        • by hawk ( 1151 )

          wow. And it posts characters that safari Mac can't handle after going through the darkness that is the slash code . . .

  • an obscure browser called Vivaldi exists.

Never test for an error condition you don't know how to handle. -- Steinbach

Working...