jihuaqiang %!s(int64=2) %!d(string=hai) anos
pai
achega
58c88c3c57
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      src/logic/content/twitter.js

+ 6 - 0
src/logic/content/twitter.js

@@ -2593,6 +2593,12 @@ export const setGroupInfo = (params = {}) => {
     }
 }
 
+export const getExtensionStorgeDataForIframe = (data) => {
+    getChromeStorage(data.key).then((res) => {
+        messageCenter.send(data.iframeID, `IFRAME_GET_EXTENSION_STORGE_DATA-${data.messageID}`, res)
+    });
+}
+
 const getSysTheme = () => {
     const themeMedia = window.matchMedia("(prefers-color-scheme: light)");
     if (themeMedia.matches) {