1. You have an extra comma after the URLTemplate line. I recommend using
something like JSONLint to find this.
2. The replacement string is {searchTerms} not %s.

After these two changes, it works for me.

One other note - startpage is www.startpage.com, not startpage.com (don't
matter, but avoids a redirect)

Mike

On Thu, Aug 2, 2018 at 9:51 AM, Felipe Gomes <[email protected]> wrote:

> Can you set the pref "browser.policies.loglevel" to "debug", and then
> observe the error console?
>
> Best regards,
> Felipe
>
> On Thu, Aug 2, 2018 at 7:34 AM, Thomas Besser <[email protected]>
> wrote:
>
>> Hi,
>>
>> first steps with "policies.json" with FF 60.1.0 ESR. I'm trying to set
>> "SearchEngines" and it does not work.
>>
>> Placed the file as described (https://github.com/mozilla/po
>> licy-templates/blob/master/README.md) in directory "distribution" in
>> installdir of FF:
>>
>> {
>>   "policies": {
>>     "SearchEngines": {
>>       "Add": [
>>         {
>>           "Name": "StartPage",
>>           "URLTemplate": "https://startpage.com/do/sear
>> ch?lui=deutsch&language=deutsch&cat=web&query=%s",
>>         }
>>       ],
>>       "Default": "StartPage",
>>       "PreventInstalls": false
>>     }
>>   }
>> }
>>
>> After a restart of FF (and alternatively deleting existing profile,
>> because with autoconfig.js it only worked on new profile) "StartPage" is
>> not defined as search engine nor the default.
>>
>> Am I missing something? Or is something wrong, e.g. URLTemplate?
>>
>> Regards
>> Thomas
>>
>> --
>> Karlsruher Institut für Technologie (KIT)
>> archIT [IT-Management der Fakultät Architektur]
>> Dipl.-Ing. Thomas Besser
>> Gebäude 11.40, Raum 010 | Fon +49 721 608 46024
>> http://www.arch.kit.edu/fakultaet/it-management.php
>>
>> KIT - Die Forschungsuniversität in der Helmholtz-Gemeinschaft
>>
>>
>> _______________________________________________
>> Enterprise mailing list
>> [email protected]
>> https://mail.mozilla.org/listinfo/enterprise
>>
>> To unsubscribe from this list, please visit
>> https://mail.mozilla.org/listinfo/enterprise or send an email to
>> [email protected] with a subject of "unsubscribe"
>>
>
>
> _______________________________________________
> Enterprise mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/enterprise
>
> To unsubscribe from this list, please visit https://mail.mozilla.org/
> listinfo/enterprise or send an email to [email protected]
> with a subject of "unsubscribe"
>
_______________________________________________
Enterprise mailing list
[email protected]
https://mail.mozilla.org/listinfo/enterprise

To unsubscribe from this list, please visit 
https://mail.mozilla.org/listinfo/enterprise or send an email to 
[email protected] with a subject of "unsubscribe"

Reply via email to