From 5936d88346da474ec6ae9bcf918ec81fa020f6bc Mon Sep 17 00:00:00 2001 From: Lex Rivera Date: Mon, 17 Nov 2014 15:57:46 +0300 Subject: [PATCH 1/2] add yandex to mirror candidates --- src/assets/ublock/mirror-candidates.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/assets/ublock/mirror-candidates.txt b/src/assets/ublock/mirror-candidates.txt index 69568a8e0..e76211f31 100644 --- a/src/assets/ublock/mirror-candidates.txt +++ b/src/assets/ublock/mirror-candidates.txt @@ -31,3 +31,10 @@ platform.twitter.com # Ref: http://www.asp.net/ajax/cdn ajax.aspnetcdn.com ^ajax\.aspnetcdn\.com\/ajax\/[^?#]+ + +yastatic.net + ^yastatic\.net\/ + +yandex.st + #same as yastatic, deprecated but still widely used + ^yandex\.st\/ From cc1811b1b672b511e929294e33f6110c34282edb Mon Sep 17 00:00:00 2001 From: Lex Rivera Date: Mon, 17 Nov 2014 16:28:11 +0300 Subject: [PATCH 2/2] Be more precise about yandex.st caching --- src/assets/ublock/mirror-candidates.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/assets/ublock/mirror-candidates.txt b/src/assets/ublock/mirror-candidates.txt index e76211f31..2f104ca71 100644 --- a/src/assets/ublock/mirror-candidates.txt +++ b/src/assets/ublock/mirror-candidates.txt @@ -32,9 +32,10 @@ platform.twitter.com ajax.aspnetcdn.com ^ajax\.aspnetcdn\.com\/ajax\/[^?#]+ +# Ref: https://tech.yandex.ru/jslibs/ yastatic.net - ^yastatic\.net\/ + ^yastatic\.net\/(?:angularjs|backbone|bootstrap|d3|dojo|ext-core|highlightjs|json2|jquery|jquery-ui|mochikit|modernizr|mootools|prototype|raphael|righjs|scriptaculous|swfobject|underscore|lodash)\/ yandex.st - #same as yastatic, deprecated but still widely used - ^yandex\.st\/ + #same as yastatic, deprecated domain but still widely used + ^yandex\.st\/(?:angularjs|backbone|bootstrap|d3|dojo|ext-core|highlightjs|json2|jquery|jquery-ui|mochikit|modernizr|mootools|prototype|raphael|righjs|scriptaculous|swfobject|underscore|lodash)\/