Page 1 of 1

Does is possible blocking location/geo?

Posted: Sun Dec 01, 2013 9:37 am
by antilocator
Hi experts,
On a page is this script

Code: Select all

<script type="text/javascript">
if (top.location != self.location) { top.location = self.location.href }
</script>

Re: Does is possible blocking location/geo?

Posted: Sun Dec 01, 2013 10:18 am
by access2godzilla
It's a framebuster, not a "geolocation" script.

Noscript doesn't block geolocation (if scripts are allowed) but FF should notify you that a site wants to know your location.

Also, most sites can know your location (without any user side scripting) since they can see the IP address you come from.

Re: Does is possible blocking location/geo?

Posted: Sun Dec 01, 2013 6:48 pm
by antilocator
Ok, thank you

Re: Does is possible blocking location/geo?

Posted: Sun Dec 01, 2013 7:09 pm
by antilocator
changing option geo.enabled ... false doesn't helped. Does Browser haven't possible detection of IP to prevent?

Re: Does is possible blocking location/geo?

Posted: Mon Dec 02, 2013 8:58 am
by access2godzilla
antilocator wrote:changing option geo.enabled ... false doesn't helped. Does Browser haven't possible detection of IP to prevent?
No, nothing can really prevent a site from knowing your IP address, the browser must send out the computers IP address in order to get a response from the server.

It's like a letter you send - if you give out a wrong address, expect your replies to be sent to the wrong address.

Re: Does is possible blocking location/geo?

Posted: Mon Dec 02, 2013 9:47 am
by barbaz
access2godzilla wrote:No, nothing can really prevent a site from knowing your IP address, the browser must send out the computers IP address in order to get a response from the server.

It's like a letter you send - if you give out a wrong address, expect your replies to be sent to the wrong address.
But if you use a proxy, then only the proxy will know your IP address. The website you're viewing will see the IP address of the proxy and thus not know your actual IP address.

Of course, you would have to trust the proxy not to leak sensitive data later or inject malware in the sites you're viewing. Which is why IMO it's actually safer to let websites see your real IP address.