From e2cab14fef8904caee8bd719dcfab0294124fd78 Mon Sep 17 00:00:00 2001 From: Ivan Grachev Date: Thu, 28 Apr 2022 23:18:11 +0300 Subject: [PATCH] Add headers to extension scripts --- Safari iOS/Resources/ios-specific-background.js | 4 +--- Safari macOS/Resources/macos-specific-background.js | 4 +--- Safari macOS/Resources/macos-specific-content.js | 2 ++ 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Safari iOS/Resources/ios-specific-background.js b/Safari iOS/Resources/ios-specific-background.js index d65c5e55..28f7d721 100644 --- a/Safari iOS/Resources/ios-specific-background.js +++ b/Safari iOS/Resources/ios-specific-background.js @@ -1,6 +1,4 @@ -function didMakeRequest(requestId, tabId) { - pendingTabIds[requestId] = tabId; -} +// Copyright © 2022 Tokenary. All rights reserved. function didCompleteRequest(id) { const request = {id: id, subject: "didCompleteRequest"}; diff --git a/Safari macOS/Resources/macos-specific-background.js b/Safari macOS/Resources/macos-specific-background.js index f61df900..729389ed 100644 --- a/Safari macOS/Resources/macos-specific-background.js +++ b/Safari macOS/Resources/macos-specific-background.js @@ -1,6 +1,4 @@ -function didMakeRequest(requestId, tabId) { - -} +// Copyright © 2022 Tokenary. All rights reserved. function didCompleteRequest(id) { diff --git a/Safari macOS/Resources/macos-specific-content.js b/Safari macOS/Resources/macos-specific-content.js index eba30c7b..20ccb788 100644 --- a/Safari macOS/Resources/macos-specific-content.js +++ b/Safari macOS/Resources/macos-specific-content.js @@ -1,3 +1,5 @@ +// Copyright © 2022 Tokenary. All rights reserved. + function platformSpecificProcessMessage(message) { }