mirror of https://gitlab.com/bashrc2/epicyon
Extra private browser
parent
da1633562f
commit
c14436f5ec
3
utils.py
3
utils.py
|
|
@ -4336,6 +4336,7 @@ def is_private_browser(ua_str: str) -> bool:
|
||||||
for privacy?
|
for privacy?
|
||||||
"""
|
"""
|
||||||
ua_str_lower = ua_str.lower()
|
ua_str_lower = ua_str.lower()
|
||||||
if 'privacy' in ua_str_lower or 'private' in ua_str_lower:
|
if string_contains(ua_str_lower,
|
||||||
|
('librewolf', 'privacy', 'private')):
|
||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue