Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move js hooks into separate js files #42

Closed
velocityzen opened this issue Jan 26, 2016 · 2 comments
Closed

move js hooks into separate js files #42

velocityzen opened this issue Jan 26, 2016 · 2 comments
Labels

Comments

@velocityzen
Copy link

Also it can be a folder, jshooks for example, to inject all *.js to a webview from.

@0xWDG
Copy link
Collaborator

0xWDG commented Jan 26, 2016

Sorry, but I don't think that is an enhancement, that only makes the injecting and the interaction more difficult than needed.

In a while we'll support custom JavaScript, and maybe custom css. (See #36 )

@0xWDG
Copy link
Collaborator

0xWDG commented Aug 21, 2016

It is a folder now.

If you open the app and make a folder in Contents/Resources called JavaScript
(so: WebShell.app/Contents/Resources/JavaScript)
and put there the JavaScript files WebShell will load it

If you open the app and make a folder in Contents/Resources called CSS
(so: WebShell.app/Contents/Resources/CSS)
and put there the CSS files WebShell will load it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants