1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2025-06-05 21:49:31 +02:00

Updated: Google Material Icons v84 -> v85 (#371)

This commit is contained in:
nobody
2021-04-16 06:37:48 +02:00
parent 5897a0a3f0
commit 1de409f662
8 changed files with 25 additions and 8 deletions

View File

@@ -199,8 +199,8 @@ const IconType = {
};
const Regex = {
'GOOGLE_FONTS': /fonts\.(googleapis|gstatic)\.com\/.*(?!.*Material\+Icons.*).*/,
'GOOGLE_MATERIAL_ICONS': /fonts\.googleapis\.com\/.*\?family=.*Material\+Icons/,
'GOOGLE_FONTS': /fonts\.(googleapis|gstatic)\.com\/(?!.*(Material\+Icons|materialicons).*).*/,
'GOOGLE_MATERIAL_ICONS': /fonts\.(googleapis|gstatic)\.com\/.*\?family=.*Material\+Icons/,
'JSDELIVR_COMBINE': /cdn\.jsdelivr\.net.*\/combine.*jquery.*hogan.*algoliasearch.*autocomplete.*/,
'BOOTSTRAP_DATEPICKER_3': /\/bootstrap-datepicker3.*\.css/,
'BOOTSTRAP_DATEPICKER': /\/bootstrap-datepicker.*\.css/,
@@ -210,6 +210,10 @@ const Regex = {
'BOOTSTRAP_FONTS_ONLY': /\/bootstrap\/(?:\d{1,2}\.){1,3}\d{1,2}\/fonts\//
};
const MaterialIcons = {
'DEFAULT': 'flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2'
};
const Links = {
'CODEBERG_HTML_FILTER': 'https://codeberg.org/nobody/LocalCDN/wiki/Home#user-content-7-a-website-looks-weird-or-cannot-be-used-if-i-deactivate-localcdn-everything-works-what-is-the-problem',
'CODEBERG_RULESET': 'https://codeberg.org/nobody/LocalCDN/wiki/Home#user-content-6-why-do-i-need-this-rule-generator-i-use-an-adblocker-and-want-to-import-these-rules-how-does-it-work',
@@ -249,7 +253,8 @@ const CDNs = {
'akamai-webcdn.kgstatic.net': 'Akamai WebCDN',
'netdna.bootstrapcdn.com': 'NetDNA',
'pagecdn.io': 'PageCDN',
'fonts.googleapis.com': 'Google Fonts',
'fonts.googleapis.com': 'Google',
'fonts.gstatic.com': 'Google',
'gitcdn.github.io': 'GitHub',
'cdn.bootcdn.net': 'BootCDN #2',
'vjs.zencdn.net': 'Video.js CDN',