Current Path: > home > transcarter > public_html > wp-content > plugins > leadin > > > > scripts > iframe
Operation : Linux host59.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64 Software : Apache Server IP : 198.54.126.42 | Your IP: 216.73.216.135 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
integratedMessages | Directory | - | - | |
IframeErrorPage.tsx | File | 1311 bytes | July 17 2025 21:06:25. | |
constants.ts | File | 343 bytes | July 17 2025 21:06:25. | |
messageMiddleware.ts | File | 5861 bytes | July 17 2025 21:06:25. | |
renderIframeApp.tsx | File | 1606 bytes | July 17 2025 21:06:25. | |
useAppEmbedder.ts | File | 5652 bytes | July 17 2025 21:06:25. | |
useBackgroundApp.ts | File | 700 bytes | July 17 2025 21:06:25. |
import { createContext, useContext } from 'react'; import { deviceId, hubspotBaseUrl, locale, portalId, } from '../constants/leadinConfig'; import { Message } from './messageMiddleware'; export const BackgroudAppContext = createContext<any>(null); export function useBackgroundAppContext() { return useContext(BackgroudAppContext); } export function usePostBackgroundMessage() { const app = useBackgroundAppContext(); return (message: Message) => { app.postMessage(message); }; } export function usePostAsyncBackgroundMessage(): ( message: Message ) => Promise<any> { const app = useBackgroundAppContext(); return (message: Message) => app.postAsyncMessage(message); }
SILENT KILLER Tool