+ android:key="search"
+ android:title="@string/search">
+
+ <ListPreference
+ android:key="javascript_disabled_search"
+ android:title="@string/javascript_disabled_search"
+ android:entries="@array/javascript_disabled_search_entries"
+ android:entryValues="@array/javascript_disabled_search_entry_values"
+ android:defaultValue="https://duckduckgo.com/html/?q=" />
+
+ <!-- android:imeOptions="flagNoExtractUi" is not set because with the the length of the title of the dialog box there often isn't enough space to see the EditText in landscape orientation. -->
+ <EditTextPreference
+ android:key="javascript_disabled_search_custom_url"
+ android:title="@string/javascript_disabled_search_custom_url"
+ android:defaultValue=""
+ android:inputType="textUri"
+ android:singleLine="true" />
+
+ <ListPreference
+ android:key="javascript_enabled_search"
+ android:title="@string/javascript_enabled_search"
+ android:entries="@array/javascript_enabled_search_entries"
+ android:entryValues="@array/javascript_enabled_search_entry_values"
+ android:defaultValue="https://duckduckgo.com/?q=" />