BrowserHawk4J Samples

Index of BrowserHawk4J samples.

basics.jsp Demonstrates how to create an instance of the BrowserHawk component and detect basic properties, such as browser type, version, and platform. Start here
popular.jsp Demonstrates how to detect "extended" properties, which are properties that can differ based each user's configuration. In particular we demonstrate some of the more popular BrowserHawk tests such as detecting Flash, screen size, disabled cookies, disabled JavaScript, and broadband vs. dial-up connections. Also demonstrates how to have BrowserHawk automatically cache the test results in the user's session. Requires Professional or Enterprise Edition.
showbrow.jsp Performs a complete analysis of your browser and system setting as detected by BrowserHawk and displays the results.
broadband.jsp Demonstrates how to detect if the user is on a dial-up vs. broadband connection. Requires Professional or Enterprise Edition.
speed.jsp Demonstrates how to detect the user's actual download connection speed (in bits per second) and latency (in ms) using the "Progressive" speed check. Note that the Progressive connection speed check can significantly increase the amount of traffic on your site, which could impact your hosting fees depending on your service plan with your provider. Requires Professional or Enterprise Edition.
uploadspeed.jsp Demonstrates how to detect the user's actual upload connection speed throughput (in bits per second) and upload latency (in ms). Requires Enterprise Edition.
speed-orig.jsp Demonstrates the original approach to detecting the user's actual download connection speed throughput in bits per second. For the highest accuracy the Progressive speed check is recommended instead (see above). Requires Professional or Enterprise Edition.
portcheck.jsp Demonstrates how to detect open ports on which the client can connect to a remote server. Requires Enterprise Edition.
popupcheck.jsp Demonstrates how to detect if the user has blocked popups. Requires Enterprise Edition.
osinfo.jsp Demonstrates how to determine the operating system name, version and architecture. Especially useful for detecting Mac OS 9 and Mac OS X version numbers. Requires Enterprise Edition.
java.jsp Demonstrates how to determine exactly what Java capabilities a browser has (advanced topic). Requires Enterprise Edition.
fontcheck_basic.jsp Demonstrates how to detect if the user has fonts installed that you require. Requires Enterprise Edition.
fontcheck_adv.jsp Provides a more extensive look at detecting installed fonts with BrowserHawk. Requires Enterprise Edition.
browserinfo.jsp Demonstrates how to write a troubleshooting script for your site that collects a user's browser settings automatically and submits them to your technical support team along with notes by the user regarding the problem they encountered with your site. You can customize this script for your own purposes and use it as a troubleshooting tool if you wish. Requires Enterprise Edition.
rules-basic.jsp This example demonstrates Rules Enforcement Technology (RET), where an XML file describes tests to perform and what actions to take with different results. This particular example tests several properties and generates an HTML summary table report.
rules-config.jsp This example demonstrates Rules Enforcement Technology (RET), building an the last example to add a <config> block to alter the behavior and adding CSS commands to suppress the center column.
rules-eval.jsp This example demonstrates Rules Enforcement Technology (RET), showing how to use the JSEval extension features in a RET environment. This example runs a test against the browser's "document.location".
rules-manual.jsp This example demonstrates Rules Enforcement Technology (RET), showing how the getResult() method allows full programmatic access to the test results.
plt-basics.jsp This example demonstrates Page Load Time (PLT), showing how to record and display the elapsed time to retrieve and render a page.
plt-broadband.jsp This example demonstrates Page Load Time (PLT), showing how to record and display the elapsed time to retrieve and render a page for a page that includes extended detection.
BrowserHawk home page

BrowserHawk Knowledgebase

BrowserHawk Pricing and Ordering

Have questions? Check the knowledgebase then contact us