
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.