These are scripts to add postMessage APIs (for controlling an embedded page, such as a media player) for sites that don't already provide an API like this.
These scripts are then packaged by extensions like https://github.com/rogueport/rogueport-crx for installation in a browser.