Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: filters/ignore_browsers.py

Issue 29511696: Issue 5447 - Add missing essential meta data to adblockplus.org (Closed) Base URL: https://hg.adblockplus.org/web.adblockplus.org
Patch Set: Updated locales before re-landing after blog fix Created Sept. 13, 2017, 12:25 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | filters/to_og_locale.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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
OLDNEW
« no previous file with comments | « no previous file | filters/to_og_locale.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld