An open API service indexing awesome lists of open source software.

https://github.com/admataz/example-postmessage

A quick example illustrating javascript's postMessage API to talk between frames from different domains
https://github.com/admataz/example-postmessage

Last synced: 6 months ago
JSON representation

A quick example illustrating javascript's postMessage API to talk between frames from different domains

Awesome Lists containing this project

README

          

# example-postmessage
A quick example illustrating javascript's postMessage API to talk between frames from different domains

## Try it out:
- clone the repos
- in command line `cd` to the root of the repos
- `npm install` installs the [node-static](https://www.npmjs.com/package/node-static) local server
- `npm start` starts a local server at port `8080`
- go to [http://localhost:8080](http://localhost:8080) to see the demo

**this code is purely for illustration and learning purposes - if you are doing anything requiring security or PCI compliance - this is a method, but not a full solution!!!**