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

Can I load WebPage without loading image? #1592

Closed
zheung opened this issue May 6, 2015 · 2 comments · Fixed by #1732
Closed

Can I load WebPage without loading image? #1592

zheung opened this issue May 6, 2015 · 2 comments · Fixed by #1732

Comments

@zheung
Copy link

zheung commented May 6, 2015

Can I load WebPage without loading image?
it seems not work like that:

mainWindow = new BrowserWindow({
    'width': 1280,
    'height': 720,
    'web-preferences': {
        'javascript': false, //also not work
        'images': false
    }
});
@zcbenz
Copy link
Member

zcbenz commented May 8, 2015

Currently there is no option for it.

@zheung
Copy link
Author

zheung commented May 8, 2015

https://github.com/atom/electron/blob/master/docs/api/browser-window.md
but these options in the docs

should be removed from the docs?

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

Successfully merging a pull request may close this issue.

2 participants