|
@@ -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) {
|