Improve Google Sign-in, Apple Sign-in detection

main
Elbert Alias 4 years ago
parent 5756d2f3fa
commit 0a11751dc8

@ -1604,10 +1604,17 @@
69 69
], ],
"description": "Apple Sign-in is based on OAuth 2.0 and OpenID Connect, and provides a privacy-friendly way for users to sign in to websites and apps.", "description": "Apple Sign-in is based on OAuth 2.0 and OpenID Connect, and provides a privacy-friendly way for users to sign in to websites and apps.",
"html": [ "dom": {
"<meta[ˆ>]*appleid-signin-client-id", "a[href*='appleid.apple.com/auth/authorize']": {
"<a[ˆ>]*appleid\\.apple\\.com/auth/authorize" "attributes": {
], "href": ""
}
},
"button": {
"text": "(Sign|Log) in with Apple"
}
},
"html": "<meta[ˆ>]*appleid-signin-client-id",
"icon": "Apple.svg", "icon": "Apple.svg",
"scripts": "appleid.auth.js", "scripts": "appleid.auth.js",
"website": "https://developer.apple.com/sign-in-with-apple/" "website": "https://developer.apple.com/sign-in-with-apple/"
@ -6421,6 +6428,11 @@
69 69
], ],
"description": "Google Sign-In is a secure authentication system that reduces the burden of login for users, by enabling them to sign in with their Google account.", "description": "Google Sign-In is a secure authentication system that reduces the burden of login for users, by enabling them to sign in with their Google account.",
"dom": {
"button": {
"text": "(Sign|Log) in with Google"
}
},
"html": [ "html": [
"<meta[^>]*google-signin-client_id", "<meta[^>]*google-signin-client_id",
"<meta[^>]*google-signin-scope", "<meta[^>]*google-signin-scope",
@ -19198,4 +19210,4 @@
"website": "https://www.xt-commerce.com" "website": "https://www.xt-commerce.com"
} }
} }
} }