X
Tap here to go to the mobile version of the site.

Support Forum

Where has the 'searchplugins' folder gone?

Posted

Hi, After recently updating my Firefox Web Browser (Version 40.0ß), I have noticed that the 'searchplugins' folder has disappeared from the 'browser' folder. I am currently using Ubuntu MATE 14.04 LTS. So this folder would be in /opt/Firefox/browser. This problem is also the same in Windows 7 (C:/Programs Files/Mozilla Firefox). Therefore I cannot import my customised .xml search plugins into Firefox. Please could you help me?

Hi, After recently updating my Firefox Web Browser (Version 40.0ß), I have noticed that the 'searchplugins' folder has disappeared from the 'browser' folder. I am currently using Ubuntu MATE 14.04 LTS. So this folder would be in /opt/Firefox/browser. This problem is also the same in Windows 7 (C:/Programs Files/Mozilla Firefox). Therefore I cannot import my customised .xml search plugins into Firefox. Please could you help me?

Additional System Details

Installed Plug-ins

  • Shockwave Flash 11.2 r202

Application

  • User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0

More Information

jscher2000
  • Top 10 Contributor
8635 solutions 70636 answers

I wasn't aware of this change; I feel those search plugins must be "somewhere." Can you find them elsewhere in the program folder?

Also, have you considered placing them in your profile folder? There isn't a searchplugins folder by default, but one is created when you download a plugin. It's also likely to be safer during Firefox updates.

I wasn't aware of this change; I feel those search plugins must be "somewhere." Can you find them elsewhere in the program folder? Also, have you considered placing them in your profile folder? There isn't a searchplugins folder by default, but one is created when you download a plugin. It's also likely to be safer during Firefox updates.
jscher2000
  • Top 10 Contributor
8635 solutions 70636 answers

Okay, I found it. Starting in Firefox 40, the included set of search engine plugins are now part of the omni.ja file, which contains internal pages, scripts, etc. This was an anti-hijacking measure. See: Bug 1162569 – default engine files should be in the omni.ja file.

Okay, I found it. Starting in Firefox 40, the included set of search engine plugins are now part of the omni.ja file, which contains internal pages, scripts, etc. This was an anti-hijacking measure. See: [https://bugzilla.mozilla.org/show_bug.cgi?id=1162569 Bug 1162569 – default engine files should be in the omni.ja file].
jscher2000
  • Top 10 Contributor
8635 solutions 70636 answers

Helpful Reply

You probably need to modify the name parameter inside the .xml files, and perhaps also rename the files, to ensure that they are not preempted by the default plugins, since those take precedence over plugins in the profile folder.

So for example, the "built-in" google.xml has:

<ShortName>Google</ShortName>

The shortname "must contain 16 or fewer characters of plain text." So a custom alias if you specified the parameter for verbatim results could be:

<ShortName>Google Verbatim</ShortName>

See: Bug 1109354 – prefer Firefox default engines over profile-installed plugins with the same name (I haven't tried to figure out exactly what needs to be changed)

You probably need to modify the name parameter inside the .xml files, and perhaps also rename the files, to ensure that they are not preempted by the default plugins, since those take precedence over plugins in the profile folder. So for example, the "built-in" google.xml has: <code>&lt;ShortName>Google&lt;/ShortName></code> The shortname "must contain 16 or fewer characters of plain text." So a custom alias if you specified the parameter for verbatim results could be: <code>&lt;ShortName>Google Verbatim&lt;/ShortName></code> ''See:'' [https://bugzilla.mozilla.org/show_bug.cgi?id=1109354 Bug 1109354 – prefer Firefox default engines over profile-installed plugins with the same name] (I haven't tried to figure out exactly what needs to be changed)