Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
arale-messenger
Advanced tools
跨域 Iframe 通信解决方案,兼容主流和 IE 系列浏览器。
☏
// 初始化父页面的信使
var messenger = new Messenger('parent', 'MessengerProject');
// 绑定子页面 iframe
messenger.addTarget(iframe1.contentWindow, 'iframe1');
messenger.addTarget(iframe2.contentWindow, 'iframe2');
// 给子页面发消息
messenger.targets['iframe1'].send('发给子页面1的消息');
// 或者给所有子页面发消息
messenger.send('发给所有子页面的消息');
// 初始化子页面的信使
// 注意,第二个参数 `MessengerProject` 必须和父页面的信使保持一致,
var messenger = new Messenger('iframe1', 'MessengerProject');
// 给父页面发消息
messenger.targets['parent'].send('发给父页面的消息');
本组件源码来自 https://github.com/biqing/MessengerJS 。
文档亦可参考 biqing/MessengerJS 。
FAQs
跨域 Iframe 通信解决方案,兼容 IE 系列浏览器。
We found that arale-messenger demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.