Skip to content
This repository has been archived by the owner on Feb 1, 2021. It is now read-only.

carlospliego/chrome-extension-event-handler

Repository files navigation

#Event Handler Chrome Extension

Add the following lines to the end of your index.html file

<div style="display:none;" id="extensionCheck"></div>

<script> // Connect to chrome Extension if available window.postMessage({ type: 'preflight' }, window.location.origin); </script>

On the client make requests formatted as follows

window.postMessage({type: 'incognitoWindow', data: {url: 'http://google.com'}}, 'http://localhost:8080');

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published