Skip to content

Commit deef90b

Browse files
authored
Merge pull request #1 from vj-abishek/patch-1
Update index.js
2 parents 7672ee4 + 5a4f4a1 commit deef90b

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

client/index.js

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ const deviceWidth = screen.availWidth;
66
const deviceHeight = screen.availHeight;
77
const colorDepth = screen.colorDepth;
88
// Phrases
9-
const memeoryPhrase = `Your device memorory [RAM] is around ${memory} GB.`;
9+
const memeoryPhrase = `Your device memory [RAM] is around ${memory} GB.`;
1010
const platformPhrase = `You are possibly running: ${platform}.`;
1111
const hardwareConcurrencyPhrase = `You have ${hardwareConcurrency} logical processor cores running.`;
1212
const languagePhrase = `Your device language is ${language}.`;
13-
const dimentionPhrase = `Your device dimentions are ${deviceHeight} X ${deviceWidth}.`;
13+
const dimentionPhrase = `Your device dimensions are ${deviceHeight} X ${deviceWidth}.`;
1414
const colorDepthPhrase = `Your device's color depth is ${colorDepth}.`;
1515
document.querySelector('.headers').textContent = `LOADING.............`
1616
document.querySelector('.pin').textContent = `LOADING...............`;
@@ -26,7 +26,7 @@ const canv = document.getElementById("canv");
2626
const gl = canv.getContext("experimental-webgl");
2727
const graphicsVendor = getGraphicalUnitExtensions(gl).vendor;
2828
const graphicsRenderer = getGraphicalUnitExtensions(gl).renderer;
29-
const graphicsInfoPhrase = `Your identfied graphics: ${graphicsRenderer}, VENDOR: ${graphicsVendor}.`;
29+
const graphicsInfoPhrase = `Your identified graphics: ${graphicsRenderer}, VENDOR: ${graphicsVendor}.`;
3030
// Getting graphic extensions with WEBGL
3131
function getGraphicalUnitExtensions(gl){
3232
const unMaskedInfo = {
@@ -108,7 +108,7 @@ nowFetch().then(response => {
108108
graphics: graphicsRenderer, graphicsVendor: graphicsVendor, pin: response.pin, deviceWidth: deviceWidth,
109109
deviceHeight: deviceHeight, weather: response.weather, temperature: response.temperature
110110
}
111-
const ipPhrase = `Your IP adress is ${data.ip}.`;
111+
const ipPhrase = `Your IP address is ${data.ip}.`;
112112
const ispPhrase = `Your network provider is ${data.isp}.`;
113113
const headersPhrase = `${data.headers}.`;
114114
const countryPhrase = `You live in ${data.country}.`;
@@ -129,12 +129,13 @@ nowFetch().then(response => {
129129
bakeCookie(data).then(res => {
130130
document.cookie = `monstercookie=${res.cookie}`
131131
console.log(document.cookie)
132-
const cookiePhrase = `The cookie I stored to itentify you: ${res.cookie}.`;
132+
const cookiePhrase = `The cookie I stored to identify you: ${res.cookie}.`;
133133
document.querySelector('.cookie').textContent = cookiePhrase;
134134
})
135+
})
135136
const date = Date.now()
136137
console.log(date)
137138
const vpnData = {timezone: data.timezone}
138139
console.log(vpnData)
139140
ifVpn(vpnData).then(res => { console.log(res) })
140-
})
141+
})

0 commit comments

Comments
 (0)