Hermann Kao
Hermann Kao
This may help 😉 ```javascript const airgrams_instances = {}; for(const client of clients){ const airgram = new Airgram({ apiId: client.appId, apiHash: client.appHash, command: './tdlib/bin/tdjson.dll', logVerbosityLevel: 1, }); airgrams_instances[client.appId] = airgram;...
My dirty solution ```javascript const removeUnusedIframes = () => { const frames = document.getElementsByTagName('iframe'); const unlayerFrames = Array.from(frames).filter((frame) => frame.src.includes('unlayer')); if (unlayerFrames.length === 1) return; unlayerFrames.slice(1).forEach((frame) => frame.remove()); }; ```
i think it should turn into a folder