Skip to content

Instantly share code, notes, and snippets.

@jeffgca
Forked from wbamberg/gist:1112257
Created July 28, 2011 19:00
Show Gist options
  • Save jeffgca/1112268 to your computer and use it in GitHub Desktop.
Save jeffgca/1112268 to your computer and use it in GitHub Desktop.
const self = require("self");
var panelLogin = require("panel").Panel({
contentURL: self.data.url("login.html"),
width: 800,
height: 500,
contentScript: "window.addEventListener('click', function(event) {" +
"console.log('clicked');" +
"}, false);",
contentScriptWhen: "ready"
});
panelLogin.show();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment