passbe/beef-migration-test-3 — Issue #186: Add beefjs API function to detect screen settings
Author: passbe
Created: 2011-12-08 23:36:40+00:00
State: open

This function will detect browser window and screen settings. It will run automatically when a new hooked browser connects to the framework. The results will be displayed in the main tab of the hooked browser.

The function will be available for modules to use from the browser side via beefjs API. Also, the results will be available on the server side as they will be stored in the database.

The following snippet may be useful:
var sw = screen.width;
var sh = screen.height;
var sd = screen.colorDepth;

Also, the source from following issue show special conditions:
http://code.google.com/p/beef/issues/detail?id=121

Google Code Issue: http://code.google.com/p/beef/issues/detail?id=123