2 ms·
you can redirect in QB. this is how i do it (from my config): def redirect(info: interceptor.Request): if info.request_url.host() == "en.m.wikipedi
by treeshateorcs 2y ago
you can redirect in QB. this is how i do it (from my config):
def redirect(info: interceptor.Request):
if info.request_url.host() == "en.m.wikipedia.org":
new_url = QUrl(info.request_url)
new_url.setHost("en.wikipedia.org")
try:
info.redirect(new_url)
except interceptors.RedirectFailedException:
pass
- BoingBoomTschak 2y agoCool, thanks for the tip!