• 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

    Removing the default search engines

    Opera for Windows
    7
    18
    9344
    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.
    • orangehorizon
      orangehorizon last edited by admin

      In a year-old post here user l33t4opera describes a way to remove the default search engines. Like the OP in said thread, I'd like to free up the 'y' keyword so I can use it for Youtube.

      Well, I followed the instructions and renamed default_partner_content.json. After reloading the browser, however, nothing changes. I tried deleting the file as well, and it isn't even being replaced.

      What am I doing wrong? Has Opera changed the way this is handled?

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

        Has Opera changed the way this is handled?

        Yes

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

          Shit. Seems we're out of luck. Thanks for the info anyway.

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

            @orangehorizon @g00g00 There is another way to do it:

            1. Open opera://about/, copy the path to the profile (Paths - Profile), and also make a note of the path to the installation root (Paths - Install), close the browser,

            2. Open your file explorer, and navigate to the directory of your profile, copy the siteprefs.json file to the installationroot\operaversion\resources subfolder, eg. installationroot\32.0.1948.69\resources,

            3. Rename the default_partner_content.json to eg. default_partner-old, and rename siteprefs.json to default_partner_content.json, and then set the read-only permission to this file (this is essential, to make it work).

            In case, that there's no the siteprefs.json file, you can use this one.

            🍺

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

              One important thing, that I forgot to mention :doh: - if the default_partner_content.json exists also in the profile directory, then delete it, because otherwise the above solution is not going to work :spock:

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

                @thatism3 If I delete the default_partner_content.json in the profile directory, Opera fails to launch, saying that a '.pak file' is corrupt.

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

                  @orangehorizon You need to follow all the steps:

                  1. Copy the siteprefs.json from the profile's folder to the installationroot\operaversion\resources subfolder,

                  2. Rename default_partner_content.json (this one in the installation root) to default_partner-old, and rename siteprefs.json to default_partner_content.json, and then set read-only permission on this file,

                  3. Remove the default_partner_content.json from the profile's folder.

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

                    @thatism3 I skipped the renaming. Works like a charm, thanks!

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

                      What happens when Opera updates itself; we I have to re-do this workaround??

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

                        Probably. I noticed a few days ago that Yahoo had replaced my Youtube keyword again... So either they fixed the loophole, or you'll have to re-apply the fix once in a while.

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

                          What happens when Opera updates itself; we I have to re-do this workaround??

                          Yes.

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

                            Am not able to find the installationroot folder in mac.

                            Paths: install /applications/opera .... but can't find the versionfolder within there!!!!

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

                              Am not able to find the installationroot folder in mac.

                              You will have better luck in the Mac Forum

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

                                @tempblbu On Mac, the default_partner_content.json should be located in /Applications/Opera.app/Contents/Versions/33.0.1990.115/Opera\ Framework.framework/Resources.

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

                                  Thanks @thatism3 , it worked.

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

                                    @orangehorizon @g00g00 There is another way to do it:

                                    1. Open opera://about/, copy the path to the profile (Paths - Profile), and also make a note of the path to the installation root (Paths - Install), close the browser,
                                    2. Open your file explorer, and navigate to the directory of your profile, copy the siteprefs.json file to the installationroot\operaversion\resources subfolder, eg. installationroot\32.0.1948.69\resources,
                                    3. Rename the default_partner_content.json to eg. default_partner-old, and rename siteprefs.json to default_partner_content.json, and then set the read-only permission to this file (this is essential, to make it work).
                                      In case, that there's no the siteprefs.json file, you can use this one.

                                    One important thing, that I forgot to mention :doh: - if the default_partner_content.json exists also in the profile directory, then delete it, because otherwise the above solution is not going to work :spock:

                                    Thanks @thatism3, your method works. Tested on Opera 33, default search engines removed.

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

                                      tempblbu, don't forget you will have to do this each time Opera updates itself.

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

                                        I got tired of moving these files around by hand, so I decided to cook up a batch file that automates the process. You can grab it here: https://1drv.ms/u/s!Aig3l4twxcKyz3FszC9VS-22q6rK

                                        Just run it, allow it administrator access, select the right folder and bam: no more sponsored search engines.

                                        The administrator access is needed to mess around in Program Files (x86). If you have disabled UAC this prompt might be unnecessary, though I'm not sure.

                                        If you're still on a 32-bit OS you'll have to edit the batch file (right click > Edit) and remove the (x86) from Program Files (x86).

                                        Credits:
                                        The folder browser
                                        The administrator prompt

                                        Enjoy (and let's hope the devs don't find out about this).

                                        Reply Quote 2
                                          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-2025