mirror of
https://github.com/NohamR/safari-internal-js.git
synced 2026-11-25 15:39:48 +00:00
Add Safari 27.2 JavaScript dump
This commit is contained in:
1 parent
897293bc5f
commit
f752a0a82c
40 files changed
+24914
-1
No files matched your search
@@ -0,0 +1,20 @@
|
||||
//# sourceURL=__InjectedScript_SchemaOrgMarkupChecker.js
|
||||
/* Copyright (c) 2026 Apple Inc. All rights reserved. */
|
||||
(function () {
|
||||
const e = "schema.org";
|
||||
var t = document.querySelectorAll('script[type="application/ld+json"]');
|
||||
for (let o of t) {
|
||||
var r;
|
||||
try {
|
||||
r = JSON.parse(o.text);
|
||||
} catch (e) {
|
||||
continue;
|
||||
}
|
||||
if (r["@context"].toLowerCase().includes(e)) return !0;
|
||||
}
|
||||
var o = document.querySelectorAll("[itemscope]");
|
||||
for (let t of o) {
|
||||
var c = t.getAttribute("itemType");
|
||||
if (c && c.toLowerCase().includes(e)) return !0;
|
||||
}
|
||||
})();
|
||||
Reference in new issue
Block a user