nyxt: disable javascript by default

Switch default search to use html.duckduckgo.com by default
This commit is contained in:
Evie Litherland-Smith 2024-02-01 06:14:28 +00:00
parent df45a3a843
commit df3beeda60

View file

@ -1,5 +1,6 @@
(define-configuration buffer (define-configuration buffer
((default-modes (pushnew 'nyxt/mode/blocker:blocker-mode %slot-value%)) ((default-modes (pushnew 'nyxt/mode/blocker:blocker-mode %slot-value%))
(default-modes (pushnew 'nyxt/mode/no-script:no-script-mode %slot-value%))
(default-modes (pushnew 'nyxt/mode/emacs:emacs-mode %slot-value%)))) (default-modes (pushnew 'nyxt/mode/emacs:emacs-mode %slot-value%))))
(define-configuration status-buffer (define-configuration status-buffer
@ -24,8 +25,8 @@
'search-engine 'search-engine
:name "DuckDuckGo" :name "DuckDuckGo"
:shortcut "ddg" :shortcut "ddg"
:search-url "https://start.duckduckgo.com/?q=~a" :search-url "https://html.duckduckgo.com/html/?q=~a"
:fallback-url (quri.uri:uri "https://start.duckduckgo.com/")))))) :fallback-url (quri.uri:uri "https://html.duckduckgo.com/html/"))))))
(define-configuration browser (define-configuration browser
((restore-session-on-startup-p nil) ((restore-session-on-startup-p nil)