Skip to content

Proof of concept for messaging Chrome extension from web page.

Notifications You must be signed in to change notification settings

rhashimoto/web_accessible_resources

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

web_accessible_resources

This is a proof of concept for using Web Accessible Resources to relay messages from a web page to a Chrome extension.

To use it:

  1. Activate Chrome Developer Mode and load the unpacked extension from extension/. Note the extension ID.

  2. Modify page/index.html to configure the iframe element src attribute with the extension ID from step 1.

  3. Using a local web server, use Chrome to open page/index.html.

When you open the page, it should send the string "hello" to the extension. The extension will reverse the string and send it back to the web page.

About

Proof of concept for messaging Chrome extension from web page.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published