aboutsummaryrefslogtreecommitdiff
path: root/config/qutebrowser/security.py
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2025-05-02 16:32:04 +0530
committerAkshay Nair <phenax5@gmail.com>2025-05-02 16:32:04 +0530
commit8dfcd923e967b9ae70fb06e52533961049d44441 (patch)
treeaa51ea24e9e2acf9b05e8e9dbeec20c7a8085ac5 /config/qutebrowser/security.py
parent05f36728f6c23eca37eded1d8e4fe7d0da65aa97 (diff)
downloadnixos-config-8dfcd923e967b9ae70fb06e52533961049d44441.tar.gz
nixos-config-8dfcd923e967b9ae70fb06e52533961049d44441.zip
Re-enable random useragent for qutebrowser
Diffstat (limited to 'config/qutebrowser/security.py')
-rw-r--r--config/qutebrowser/security.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/qutebrowser/security.py b/config/qutebrowser/security.py
index cdf80b8..8dbd1a0 100644
--- a/config/qutebrowser/security.py
+++ b/config/qutebrowser/security.py
@@ -21,7 +21,7 @@ def random_version(a, b):
return rand_numstr(a, b) + '.' + rand_numstr(0, 100)
def random_useragent():
- chrome_version = random_version(130, 150)
+ chrome_version = random_version(135, 150)
# firefox_version = random_version(77, 80)
build_version = random_version(1000, 3000)
@@ -37,7 +37,7 @@ c.content.cookies.accept = 'no-3rdparty'
c.content.geolocation = 'ask'
c.content.headers.do_not_track = True
c.content.headers.referer = 'never'
-# c.content.headers.user_agent = random_useragent()
+c.content.headers.user_agent = random_useragent()
c.content.blocking.enabled = True
c.content.media.audio_capture = 'ask'
c.content.media.video_capture = 'ask'