Created
February 3, 2010 18:49
-
-
Save callison-burch/293884 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script language="Javascript" src="http://gd.geobytes.com/gd?after=-1&variables=GeobytesCountry,GeobytesCity,GeobytesRegion,GeobytesIpAddress"></script> | |
<script language="Javascript"> | |
<!-- | |
function getUserInfo() { | |
var userDisplayLanguage = navigator.language ? navigator.language : navigator.userDisplayLanguage; | |
var browserInfo = navigator.userAgent; | |
var country = sGeobytesCountry; | |
var city = sGeobytesCity; | |
var region = sGeobytesRegion; | |
document.mturk_form.userDisplayLanguage.value = userDisplayLanguage; | |
document.mturk_form.browserInfo.value = browserInfo; | |
document.mturk_form.country.value = country; | |
document.mturk_form.city.value = city; | |
document.mturk_form.region.value = region; | |
} | |
getUserInfo(); | |
// --> | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment