Home

How to parse a list of domains in Qutebrowser

Introduction

This is a micro-guide to include a list of domains for per-domain options.

Steps

  1. Create a file such as domains_list.py inside ~/.config/qutebrowser/

  2. inside that file declare a list like this:

  3. list = ['*://*.example1.com/*', '*://example2.com/*']

  4. inside config.py add at the beginning:

    from domains_list.py import list

  5. and then add this for loop:

    for n in range(len(list)): config.set('content.cookies.accept', 'no-3rdparty', list[n])