new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Electron · API · all subjects

web-contents/emulation

2 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

contents.enableDeviceEmulation(parameters) - enable device emulation

Enable device emulation with the given parameters. Parameters: parameters (Object) with screenPosition (string, defaults to 'desktop') - specify the screen type to emulate ('desktop' or 'mobile'), screenSize (Size) - set the emulated screen size (screenPosition == mobile), viewPosition (Point, defaults to { x: 0, y: 0 }) - position the view on the screen (screenPosition == mobile), deviceScaleFactor (Integer, defaults to 0) - set the device scale factor (if zero defaults to original device scale factor), viewSize (Size) - set the emulated view size (empty means no override), scale (Float, defaults to 1) - scale of emulated view inside available space (not in fit to view mode).

contents.disableDeviceEmulation() - disable device emulation

Disable device emulation enabled by webContents.enableDeviceEmulation.

Give your agent this brain