0.1.2 • Published 7 years ago
chrome-bridge v0.1.2
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))