c.auto_save.session = True
c.content.cookies.accept = 'no-3rdparty'
-c.content.cookies.store = False
-c.content.javascript.enabled = False
c.content.images = True
c.editor.command = ['urxvt', '-e', 'vim', '{file}']
c.tabs.position = 'left'
c.messages.timeout = 5000
c.tabs.background = True
+{% if grains['host'] != 'barium' %}
+c.content.javascript.enabled = False
config.bind(',ej', 'spawn --userscript noscript_enable')
config.bind(',dj', 'spawn --userscript noscript_disable')
+c.content.cookies.store = False
+
+# Allow JS and cookies on own domain
+config.set('content.javascript.enabled', True, '*.friedersdorff.com')
+{% endif %}
+
config.bind(',zl', 'spawn --userscript qute-pass --dmenu-invocation bemenu')
config.bind(',zul', 'spawn --userscript qute-pass --dmenu-invocation bemenu --username-only')
config.bind(',zpl', 'spawn --userscript qute-pass --dmenu-invocation bemenu --password-only')
config.bind(',zol', 'spawn --userscript qute-pass --dmenu-invocation bemenu --otp-only')
-# Allow JS and cookies on own domain
-config.set('content.javascript.enabled', True, '*.friedersdorff.com')
# Fingerprinting protection
c.content.headers.accept_language = 'en-US,en;q=0.5'