• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    Local File - Browser.js Spoofing Google Chrome

    Opera for Mac
    2
    2
    963
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • spencer-d
      spencer-d last edited by

      Hello,

      I was reading over my console logs recently, and I noticed a couple logs from localhost/browser.js. Upon inspecting this file, I found a couple odd entries that stated, "PATCH-1227, Mock as Chrome on popular American Bank Sites." From what I can see, this only occurs on Bank of America and Chase, but I am curious about the motivations behind this and why Opera masks itself as Chrome when it visits these websites. After looking over the statement handlers, nothing looks malicious in the least bit, but that actually just adds more confusion and interest for me. Perhaps this is just to fix up an incompatibility caused by Opera utilizing WebKit (or, more accurately, Blink)?

      Thanks in advance,
      Spencer

      Reply Quote 0
        1 Reply Last reply
      • sgunhouse
        sgunhouse Moderator Volunteer last edited by

        Some websites look at the user agent and - if they see a browser they are not familiar with - tell you that you need to use a different browser. Opera practically is Chrome, but if the website blocks Opera yet accepts Chrome then they'll tell the site they are Chrome.

        Reply Quote 0
          1 Reply Last reply
        • First post
          Last post

        Computer browsers

        • Opera for Windows
        • Opera for Mac
        • Opera for Linux
        • Opera beta version
        • Opera USB

        Mobile browsers

        • Opera for Android
        • Opera Mini
        • Opera Touch
        • Opera for basic phones

        • Add-ons
        • Opera account
        • Wallpapers
        • Opera Ads

        • Help & support
        • Opera blogs
        • Opera forums
        • Dev.Opera

        • Security
        • Privacy
        • Cookies Policy
        • EULA
        • Terms of Service

        • About Opera
        • Press info
        • Jobs
        • Investors
        • Become a partner
        • Contact us

        Follow Opera

        • Opera - Facebook
        • Opera - Twitter
        • Opera - YouTube
        • Opera - LinkedIn
        • Opera - Instagram

        © Opera Software 1995-