summaryrefslogtreecommitdiff
path: root/ext/bg/js/api.js
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2019-09-05 09:25:42 +0300
committerGitHub <noreply@github.com>2019-09-05 09:25:42 +0300
commit9cd0101b62fe99d736b4e6b9072c2aa4827311af (patch)
tree822811aae7528487bc4ebb17d363cdb4b7b0b00c /ext/bg/js/api.js
parent4ac55da7dd5354e6c3495f04583352d0d863b7b6 (diff)
parent9028b55774f788f0b61acadb8d3ba85b2bfab34a (diff)
Merge pull request #185 from toasted-nutbread/recursive-popups
Recursive popups
Diffstat (limited to 'ext/bg/js/api.js')
-rw-r--r--ext/bg/js/api.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/bg/js/api.js b/ext/bg/js/api.js
index 4b2bacd7..b8ef4362 100644
--- a/ext/bg/js/api.js
+++ b/ext/bg/js/api.js
@@ -205,3 +205,8 @@ function apiForward(action, params, sender) {
chrome.tabs.sendMessage(tabId, {action, params}, (response) => resolve(response));
});
}
+
+function apiFrameInformationGet(sender) {
+ const frameId = sender.frameId;
+ return Promise.resolve({frameId});
+}