From f4c3d121286fc27ed1a80c9eb0baefc4f5780580 Mon Sep 17 00:00:00 2001 From: Karl Dubost Date: Mon, 31 Jul 2017 06:53:39 +0900 Subject: [PATCH] Bug 1385206 - Documents the syntax for this file; r=miketaylr MozReview-Commit-ID: Kbr3BNIx9Ky --HG-- extra : rebase_source : 7bc6c5ac9043d7db00cdbf528d8faa8885ee0da1 --- mobile/android/app/ua-update.json.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mobile/android/app/ua-update.json.in b/mobile/android/app/ua-update.json.in index c8fcef842772..194339244891 100644 --- a/mobile/android/app/ua-update.json.in +++ b/mobile/android/app/ua-update.json.in @@ -1,6 +1,9 @@ #filter slashslash // Everything after the first // on a line will be removed by the preproccesor. // Send these sites a custom user-agent. Bugs should be included with an entry. +// Format: +// "example.org": "regex_string#new_string" +// "#" hash sign is the separator. If no hash sign, the full string is used as replacement. // NOTE: trailing commas are not valid JSON and will prevent the CDN from syncing. { "weather.yahoo.co.jp": "Mozilla/5.0 (Linux; Android 5.0.2; Galaxy Nexus Build/IMM76B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.93 Mobile Safari/537.36",