Hi guys I'm here with a post about all the info about the client that can be gathered with javascript.
IP ADDRESS:
var ip;
function getip(json){
ip = json.ip;
}
Using JSON is probably the easiest way to get the client's IP address.
BROSWER NAME AND VERSION
var navigatorCodeName = navigator.appCodeName;
var navigatorName = navigator.appName;
var navigatorVersion = navigator.appVersion;
Simple and clear.
CLIENT PLATFORM
var platform = navigator.platform;
ARE COOKIES ENABLED?
var cookiesEnabled = navigator.cookieEnabled;
PLUGINS
var txt;
txt+="Number of detected plugins: " + navigator.plugins.length + "<br>";
for(i = 0; i<navigator.plugins.length; i++){
txt+="Plugin N°" + i+1 + " --> name = " + navigator.plugins[i].name + " --> location = " + navigator.plugins[i].filename + "<br>";
}
alert(txt);
First of all we gather the number of plugins, then we make a list of them.
HISTORY LENGTH IN THE CURRENT SESSION
var historyLength = window.history.length;
CLIENT'S LOCATION
if(google.loader.ClientLocation){
visitor_lat = google.loader.ClientLocation.latitude;
visitor_lon = google.loader.ClientLocation.longitude;
visitor_city = google.loader.ClientLocation.address.city;
visitor_region = google.loader.ClientLocation.address.region;
visitor_country = google.loader.ClientLocation.address.country;
visitor_countrycode = google.loader.ClientLocation.address.country_code;
}
else{
alert("Script were unable to get your location");
}
I hope you'll find these stuffs useful, here is a demonstration of them.
If you have any question just comment.
Bye, Dami
sabato 22 febbraio 2014
mercoledì 5 febbraio 2014
Behringer c1u review and sound test
HI guys today I'm here with this short review of behringer c1-u mic.
It's a condenser usb microphone, it works well with acoustic instruments (piano, guitar, voice) it costs about 70$ and for its price it gives good quality sound.
Of course if you have to record a piano professionally isn't the right mic but for homemade recordings it's good.
In the box there is the mic, the support for the mic, and a 6m long usb cable.
Here is a simple sound test of the microphone with my upright piano (song: the great gig in the sky by pink floyd):
I hope you enjoyed the post, if you have any question just ask :)
Bye, Dami
It's a condenser usb microphone, it works well with acoustic instruments (piano, guitar, voice) it costs about 70$ and for its price it gives good quality sound.
Of course if you have to record a piano professionally isn't the right mic but for homemade recordings it's good.
In the box there is the mic, the support for the mic, and a 6m long usb cable.
Here is a simple sound test of the microphone with my upright piano (song: the great gig in the sky by pink floyd):
I hope you enjoyed the post, if you have any question just ask :)
Bye, Dami
Iscriviti a:
Post (Atom)