Index: modules/filterserver/files/site.conf |
=================================================================== |
--- a/modules/filterserver/files/site.conf |
+++ b/modules/filterserver/files/site.conf |
@@ -58,6 +58,24 @@ |
set $use_alternative_resource_flags "${use_alternative_resource_flags}+LOCATION"; |
} |
+### http://hub.eyeo.com/issues/3924 for Chinese SBrowser video exceptions (1/4) |
+if ($arg_application = "sbrowser") |
+{ |
+ set $use_alternative_resource_flags "SBROWSER"; |
+} |
+ |
+### http://hub.eyeo.com/issues/3924 for Chinese SBrowser video exceptions (2/4) |
+if ($arg_addonName = "adblockplussbrowser") |
+{ |
+ set $use_alternative_resource_flags "${use_alternative_resource_flags}+ABPSBROWSER"; |
+} |
+ |
+### http://hub.eyeo.com/issues/3924 for Chinese SBrowser video exceptions (3/4) |
+if ($geoip_country_code = "CN") |
+{ |
+ set $use_alternative_resource_flags "${use_alternative_resource_flags}+CN"; |
+} |
+ |
if ($use_alternative_resource_flags = "BROWSER+LOCATION") |
{ |
rewrite ^/easylist\.(.+) /easylist_noelemhide.$1 redirect; |
@@ -87,3 +105,8 @@ |
rewrite ^/ruadlist\+easylist\.(.+) /ruadlist-minimal+easylist-minimal.$1 break; |
} |
+### http://hub.eyeo.com/issues/3924 for Chinese SBrowser video exceptions (4/4) |
+if ($use_alternative_resource_flags = "SBROWSER+ABPSBROWSER+CN") |
+{ |
+ rewrite ^/easylistchina\+easylist\.(.+) /easylistchina+easylistchina_compliance+easylist.$1 break; |
+} |