Skip to content

Version 1.0.0

Compare
Choose a tag to compare
@benzap benzap released this 04 Sep 04:04
· 39 commits to master since this release

First Official Release

New Features

broadcast now has a 'target' option, to securely limit where outgoing messages are being broadcasted, or to target only sub-domains

An example case, might be to send messages to limit messages to only target http://security.example.com, or to only target local windows, in order to prevent any cross-site scripting

subscribe now has an 'origin' option, to securely limit what incoming messages are being subscribed to

An example of where this might be useful, would be in situations where a malicious iframe might be trying to send fake messages. By limiting the origin to 'local,' this will prevent any sort of shenanigans