• 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

    How Do I Add User Agents to Opera?

    Opera for Windows
    4
    9
    3273
    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.
    • Deleted User
      Deleted User last edited by

      I got Opera 12 and found a list of user agent strings that I'd like to add to Opera. How do I add a user agents to Opera?

      Reply Quote 0
        1 Reply Last reply
      • stng
        stng last edited by
        1. Use and edit override.ini (you can find it in your Opera's profile path)
          The example of editing for setting a custom user-agent for specified web-sites: http://www.reddit.com/r/operabrowser/comments/2ivkg4/opera_12_versus_youtube_how_to_fix_broken/

        2. Use pathed opera.dll (offtopic here) for proper User-Agent strings. You will be able to set UAs without editing the override.ini.

        3. DO NOT USE the opera:config#Custom User-Agent option (global masking, via opera:config). It can cause unforeseen problems with a web-sites!

        Reply Quote 0
          1 Reply Last reply
        • stng
          stng last edited by

          Use pathed opera.dll = use patChed opera.dll

          Reply Quote 0
            1 Reply Last reply
          • Deleted User
            Deleted User last edited by

            Use and edit override.ini (you can find it in your Opera's profile path)
            The example of editing for setting a custom user-agent for specified web-sites: http://www.reddit.com/r/operabrowser/comments/2ivkg4/opera12versusyoutubehowtofix_broken/
            Use pathed opera.dll (offtopic here) for proper User-Agent strings. You will be able to set UAs without editing the override.ini.
            DO NOT USE the opera:config#Custom User-Agent option (global masking, via opera:config). It can cause unforeseen problems with a web-sites!

            Hi, stng.. I'm a bit confused. I cant find a "patched opera.dll" file. But, I found "opera.dll". When I open it, theres a bunch of symbols.

            Then in part 1 of your reply, you said to edit override.ini. But then in part 2 of your reply, you said I can edit opera.dll without editing override.ini. Are parts 1 and 2 of your reply just 2 ways of solving this problem? Or are they steps?

            Looking forward to hearing from you.

            Reply Quote 0
              1 Reply Last reply
            • A Former User
              A Former User last edited by

              The available default user-agent strings are "hard coded" into the opera.dll file, and cannot easily be changed.
              It is possible to edit them with a hex editor if you know what you're doing, and the result would be a "patched opera.dll" file.
              I'm not aware that there are any suitably patched opera.dll files available anywhere however.
              If you don't want to get into that sort of thing, the easiest way to customise user-agents is to edit override.ini, which will not change things globally, but can change it for the specific sites that are giving problems, which is all you really need to do.
              🙂

              Reply Quote 0
                1 Reply Last reply
              • Deleted User
                Deleted User last edited by

                The available default user-agent strings are "hard coded" into the opera.dll file, and cannot easily be changed.
                It is possible to edit them with a hex editor if you know what you're doing, and the result would be a "patched opera.dll" file.
                I'm not aware that there are any suitably patched opera.dll files available anywhere however.
                If you don't want to get into that sort of thing, the easiest way to customise user-agents is to edit override.ini, which will not change things globally, but can change it for the specific sites that are giving problems, which is all you really need to do.

                Hi, davehawley... Yes, I'll be using the override.ini to make changes. Thanks.

                I got another question.. Is it possible to transfer all Opera files to another computer without installing a fresh new Opera version? For example, I got 2 laptops. One with Opera 11 and another with Opera 12. I want to transfer Opera 12 files to the laptop with Opera 11 to replace it without installing a new version. I want to do this because if I install a new version over the old version, it'll take me forever to configure all my personal settings. Let me know if this is possible. Thank you!

                Reply Quote 0
                  1 Reply Last reply
                • A Former User
                  A Former User last edited by

                  If the Opera installations are single user all the files should be in the same folder, so it should just be a matter of temporarily renaming the Opera 11 folder to disable it (to "Opera.old" for instance) and then copying the Opera 12 folder from the other machine to the same place.
                  Opera doesn't use the registry to store settings, and the paths that are in the registry will remain the same if the folder names are the same.
                  Once you're happy that Opera 12 is running OK on the machine you can delete the Opera.old folder.
                  If you have Opera configured for multiple users, it's a bit more complicated as the profile will be stored in the Windows user Application Data folder.
                  The principle is still the same, just rename the original folder for safely, and copy its equivalent over from the other machine to the same place.
                  You can find where the folders actually are by looking at Help>About Opera.
                  🙂

                  Reply Quote 0
                    1 Reply Last reply
                  • Deleted User
                    Deleted User last edited by

                    If the Opera installations are single user all the files should be in the same folder, so it should just be a matter of temporarily renaming the Opera 11 folder to disable it (to "Opera.old" for instance) and then copying the Opera 12 folder from the other machine to the same place.
                    Opera doesn't use the registry to store settings, and the paths that are in the registry will remain the same if the folder names are the same.
                    Once you're happy that Opera 12 is running OK on the machine you can delete the Opera.old folder.
                    If you have Opera configured for multiple users, it's a bit more complicated as the profile will be stored in the Windows user Application Data folder.
                    The principle is still the same, just rename the original folder for safely, and copy its equivalent over from the other machine to the same place.
                    You can find where the folders actually are by looking at Help>About Opera.

                    Thankd again for the help, man. Appreciate it greatly.

                    Reply Quote 0
                      1 Reply Last reply
                    • lem729
                      lem729 last edited by

                      For those using Opera 25, there's this extension: User-Agent Switcher. With it, you can easily change user agents.

                      https://addons.opera.com/en/extensions/details/user-agent-switcher/

                      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-