From 8540b210352036902dde884eabb64508882133d6 Mon Sep 17 00:00:00 2001 From: nobody Date: Sat, 25 Jul 2020 20:34:41 +0200 Subject: [PATCH] Fixed: yandex.com --- core/request-analyzer.js | 5 +++++ pages/updates/updates.html | 1 + 2 files changed, 6 insertions(+) diff --git a/core/request-analyzer.js b/core/request-analyzer.js index f680022c..54ae265b 100644 --- a/core/request-analyzer.js +++ b/core/request-analyzer.js @@ -56,6 +56,11 @@ requestAnalyzer.isValidCandidate = function (requestDetails, tabDetails) { } } + // Disable LocalCDN if website is 'yandex.com' and CDN is 'yastatic.net', because website and CDN are the same. + if (tabDetails.url.includes('yandex.com') && requestDetails.url.includes('yastatic.net')) { + return false; + } + // Only requests of type GET can be valid candidates. return requestDetails.method === WebRequest.GET; }; diff --git a/pages/updates/updates.html b/pages/updates/updates.html index 111e8883..c9c6ffe4 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -27,6 +27,7 @@
  • Implemented: Hide icon setting if not supported
  • Implemented: Show the rule set generator only when there are new CDNs (reported by review)
  • Fixed: Selection of 'jQuery latest' (#64)
  • +
  • Fixed: Disable LocalCDN if website is 'yandex.com' and CDN is 'yastatic.net', because website and CDN are the same. (reported by email)