Added new CDN: PageCDN

This commit is contained in:
nobody 2020-06-06 14:05:41 +02:00
parent f16e456c5b
commit 419d729406
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
3 changed files with 9 additions and 2 deletions

View File

@ -26,7 +26,7 @@
* This only needs to be updated when new domains are added.
* It's not necessary for subdirectories!
*/
var lastMappingUpdate = "2020-03-25";
var lastMappingUpdate = "2020-06-06";
var mappings = {
@ -681,8 +681,12 @@ mappings['sdn.geekzu.org'] = {
// USTC Linux User Group [Mirror]
mappings['ajax.proxy.ustclug.org'] = mappings['ajax.googleapis.com'];
//UNPKG (Cloudflare)
mappings['unpkg.com'] = {
'/': mappings['cdn.jsdelivr.net']['/npm/']
};
// PageCDN
mappings['pagecdn.io'] = {
'/lib/': mappings['cdnjs.cloudflare.com']['/ajax/libs/']
};

View File

@ -209,6 +209,8 @@ helpers.determineCdnName = function (domainName) {
return 'Akamai WebCDN';
case 'netdna.bootstrapcdn.com':
return 'NetDNA';
case 'pagecdn.io':
return 'PageCDN';
default:
return 'Unknown';
}

View File

@ -35,6 +35,7 @@
<li>Translations updated (Spanish)</li>
<li>Added: AngularJS Material Design v1.1.21</li>
<li>Added Bootstrap to cdn.jsdelivr.net</li>
<li>Added new CDN: PageCDN</li>
</ul>
<div class="topic-label">
Please update your uBlock/uMatrix rules