This commit is contained in:
Aevann1 2022-02-17 05:03:03 +02:00
parent 172c4f725a
commit 613b5dd829
17 changed files with 243 additions and 22 deletions

View file

@ -102,8 +102,8 @@ def before_request():
if '; wv) ' in ua: g.webview = True
else: g.webview = False
if 'iphone' in ua or 'ipad' in ua or 'ipod' in ua or 'mac os' in ua or ' firefox/' in ua: g.seal = True
else: g.seal = False
if 'iphone' in ua or 'ipad' in ua or 'ipod' in ua or 'mac os' in ua or ' firefox/' in ua: g.inferior_browser = True
else: g.inferior_browser = False
@app.teardown_appcontext