mirror of
https://github.com/NohamR/safari-internal-js.git
synced 2026-11-25 23:08:08 +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_OpenSearchURLFinder.js
|
||||
/* Copyright (c) 2026 Apple Inc. All rights reserved. */
|
||||
(function () {
|
||||
"use strict";
|
||||
function e() {
|
||||
if (document.head) {
|
||||
var e = document.head.getElementsByTagName("link");
|
||||
for (const t of e)
|
||||
if (
|
||||
"search" === t.getAttribute("rel") &&
|
||||
"application/opensearchdescription+xml" === t.getAttribute("type")
|
||||
)
|
||||
return void window.webkit.messageHandlers.quickWebsiteSearchFoundOpenSearchURL.postMessage(
|
||||
t.href,
|
||||
);
|
||||
}
|
||||
}
|
||||
e();
|
||||
})();
|
||||
0;
|
||||
Reference in new issue
Block a user