Improve Yoast SEO detection

Some sites filter out the "optimized with" comment, adding the `script` tag recognition will improve detection.

Since Yoast SEO also exists for other platforms, the "implies WordPress" bit isn't true.
main
Joost de Valk 4 years ago committed by GitHub
parent 4966e86690
commit 5f5ff6acc6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -20537,13 +20537,13 @@
"cats": [ "cats": [
54 54
], ],
"description": "Yoast SEO is a search engine optimization plug-in for WordPress.", "description": "Yoast SEO is a search engine optimization plugin for WordPress and other platforms.",
"html": [ "html": [
"<!-- This site is optimized with the Yoast (?:WordPress )?SEO plugin v([\\d.]+) -\\;version:\\1" "<!-- This site is optimized with the Yoast (?:WordPress )?SEO plugin v([\\d.]+) -\\;version:\\1",
"<script type=\"application/ld+json\" class=\"yoast-schema-graph\">"
], ],
"icon": "Yoast SEO.png", "icon": "Yoast SEO.png",
"implies": "WordPress", "website": "https://yoast.com"
"website": "http://yoast.com"
}, },
"Yottaa": { "Yottaa": {
"cats": [ "cats": [