Left: | ||
Right: |
OLD | NEW |
---|---|
(Empty) | |
1 browsers = [ | |
2 "opera", | |
3 "firefox", | |
4 "yandex-browser", | |
5 "android", | |
6 "safari", | |
7 "maxthon", | |
8 "edge", | |
9 "chrome", | |
10 "internet-explorer", | |
11 ] | |
12 | |
13 def ignore_browsers(page): | |
14 if page in browsers: | |
15 return "index" | |
16 else: | |
17 return page | |
OLD | NEW |