Open przemyslawpluta opened 5 years ago
Is there a way to hide scrollbar after launch or configure it on launch?
carlo.launch().then(async app => { app.on('exit', () => process.exit()); await app.load('https://www.buzzfeed.com/'); await app.mainWindow().hideScrollbars(); });
or
carlo.launch({scrollbars: false}).then(async app => { app.on('exit', () => process.exit()); await app.load('https://www.buzzfeed.com/'); });
Why not just inject CSS with overflow: hidden;? Although I don't know how Edit: What about using an iframe to load external content? Then you'd be able to have your own CSS.
overflow: hidden;
Is there a way to hide scrollbar after launch or configure it on launch?
or