Merge pull request #5442 from AbhinavS96/improve_afterpay

improved afterpay detection
main
Elbert Alias 4 years ago committed by GitHub
commit 60372c7bc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1433,7 +1433,7 @@
],
"cpe": "cpe:/a:afterpay:afterpay",
"description": "Afterpay is a 'buy now, pay later' platform that makes it possible to pay off purchased goods in fortnightly instalments.",
"dom": "#afterpay, .afterpay, [aria-label='Afterpay'], link[href*='/wp-content/plugins/afterpay-gateway-for-woocommerce/']",
"dom": "#afterpay, .afterpay, .AfterpayMessage, [aria-label='Afterpay'], link[href*='/wp-content/plugins/afterpay-gateway-for-woocommerce/']",
"icon": "afterpay.png",
"js": {
"Afterpay": "",
@ -1446,7 +1446,8 @@
"portal\\.afterpay\\.com",
"static\\.afterpay\\.com",
"present-afterpay\\.js",
"afterpay-products\\.min\\.js"
"afterpay-products\\.min\\.js",
"js\\.stripe\\.com/v3/fingerprinted/js/elements-afterpay-clearpay-message-.+\\.js"
],
"website": "https://www.afterpay.com/"
},