Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
var panelLogin = require("panel").Panel({
contentURL: "http://www.mozilla.org",
width: 800,
height: 500,
contentScript: "window.addEventListener('click', function(event) {" +
"console.log('clicked');" +
"});",
contentScriptWhen: "ready"
});
panelLogin.show();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment