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

Delta Between Two Patch Sets: 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
Left Patch Set: Created Aug. 10, 2017, 9:21 p.m.
Right 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:
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | filters/to_og_locale.py » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
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
LEFTRIGHT

Powered by Google App Engine
This is Rietveld