Merge pull request #6839 from ysm-dev/google-font-api

Add Google Font API detection method
main
Elbert Alias 2 years ago committed by GitHub
commit b258deb143
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1520,7 +1520,18 @@
17
],
"description": "Google Font API is a web service that supports open-source font files that can be used on your web designs.",
"html": "<link[^>]* href=[^>]+fonts\\.(?:googleapis|google)\\.com",
"dom": {
"link[href*='fonts.g']": {
"attributes": {
"href": "fonts\\.(?:googleapis|google|gstatic)\\.com"
}
},
"style[data-href*='fonts.g']": {
"attributes": {
"data-href": "fonts\\.(?:googleapis|google|gstatic)\\.com"
}
}
},
"icon": "Google Font API.png",
"js": {
"WebFonts": ""