Firefox上的伪造位置 [英] Fake location on Firefox
本文介绍了Firefox上的伪造位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想更改浏览器上的位置,我导航到
i want to change the location on my browser, i navigate to
about:config
我设置了
geo.enabled
设为true
然后
geo.wifi.uri
我放
data:application/json,{"location":{"latitude":xxx,"longitude":yyy,"accuracy":10}}
这些更改之后,我重新启动了浏览器,我使用的是firefox 54,但当我对其进行验证时,它告诉我我的真实位置,为什么它不起作用?我做错了什么?
I restart the browser after those changes, i am using firefox 54, but when i verify it, its telling me my real location, why it is not working? what i am doing wrong?
推荐答案
我正在将Firefox 74.0与Selenium/Python 3.141.0配合使用,以下内容使我进入了纽约市.这可以手动或与硒一起使用.
I am using Firefox 74.0 with Selenium/Python 3.141.0 and the following places me in NYC. This works manually or with selenium.
geo.prompt.testing, True
geo.prompt.testing.allow, True
geo.provider.testing, True
geo.provider.network.url, "data:application/json,{"location": {"lat": 40.7590, "lng": -73.9845}, "accuracy": 27000.0}"
这篇关于Firefox上的伪造位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文