inject-js-start and inject-js-end issues #1585

Closed
hugomarisco opened this Issue Feb 19, 2014 · 0 comments

Comments

Projects
None yet
2 participants

Hey, I'm trying to make use of inject-js-start/inject-js-end to inject some javascript in every page loaded but it doesn't seem to work.

I'm using a simple alert("injected"); to test it, running under Windows 8.1.

package.json

{
  "name": "nw-demo",
  "main": "index.html",
  "inject-js-end": "init.js"
}

init.js

console.log("injected");

https://github.com/rogerwang/node-webkit/search?q=inject-js-start&type=Issues
https://github.com/rogerwang/node-webkit/search?q=inject-js-end&type=Issues

didn't help...

Thanks in advance for any help!

rogerwang added this to the 0.9.2 milestone Feb 19, 2014

rogerwang closed this in 206830e Feb 19, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment