Removing the default search engines
-
A Former User last edited by
@orangehorizon @g00g00 There is another way to do it:
-
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,
-
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,
-
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.
-
-
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:
-
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.
-
A Former User last edited by
@orangehorizon You need to follow all the steps:
-
Copy the siteprefs.json from the profile's folder to the installationroot\operaversion\resources subfolder,
-
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,
-
Remove the default_partner_content.json from the profile's folder.
-
-
bbildman last edited by
What happens when Opera updates itself; we I have to re-do this workaround??
-
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.
-
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!!!!
-
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.
-
svyatosl last edited by
@orangehorizon @g00g00 There is another way to do it:
- 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,
- 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,
- 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.
-
bbildman last edited by
tempblbu, don't forget you will have to do this each time Opera updates itself.
-
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 promptEnjoy (and let's hope the devs don't find out about this).