Score of 4
4
votes
Can users pretend they have a different location with navigator.geolocation or is it save?
Anything done in client-side JavaScript can be overridden by the user, you can't trust it for any security-related purpose.
Some IP geolocation services can identify VPN addresses -- I think MaxMind ...
Score of 1
1
vote
TypeError: Cannot read property 'access_token' of undefined
The issue is that router.use runs on all the requests, including the home page, login redirect and auth callback before the cookie is even set.
When the cookie is not set, key is undefined, and ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
javascript × 2522054jquery × 585320
html × 500183
css × 220691
reactjs × 206035
node.js × 176324
php × 131474
angularjs × 119207
ajax × 102615
arrays × 92961
json × 78389
typescript × 63642
angular × 52725
vue.js × 45036
regex × 37433
asp.net × 34038
react-native × 33829
express × 33388
forms × 28855
c# × 28338
dom × 28017
google-chrome × 26794
object × 26754
twitter-bootstrap × 26653
d3.js × 26244