const w = document.querySelector('iframe.editframe').contentWindow; return {scripts: Array.from(w.document.querySelectorAll('script')).map(s=>String(s.src)).filter(Boolean).slice(0,20), ver: w.PRO_EDITOR_VERSION, mode: w.PRO_EDITOR_MODE};