chrome-bridge
v0.1.2
Published
bridge between chrome content script and page
Downloads
16
Readme
chrome-bridge
Bridge between Chrome extension content scripts and the page.
Usage
import { call } from 'chrome-bridge'
call(() => window.appData)
.then(data => console.log(data))
const url = '/'
call((url) => window.jQuery.get(url), [url])
.then(html => console.log(html))