首页 生产工具 API-Killer-GeoLocation

API-Killer-GeoLocation

用户数 : 0 分类 : 生产工具 扩展大小 : 29.56KiB 最后更新时间 : 2019-07-25 版本 : 2.0.0.7
                            This web-extension breaks down the Geolocation-interface, unlinking all methods such as <code>getCurrentPosition</code> and <code>watchPosition</code>, 
<a href="https://developer.mozilla.org/en-US/docs/Web/API/Geolocation#Methods">developer.mozilla.org/en-US/docs/Web/API/Geolocation#Methods</a>. 

This web-extension will work on each and every hidden IFRAMEs and document, regardless of "tricks" some vendors will try to do.
This web-extension breaks-down the JavaScript support for using anything related to GeoLocation.

This web-extension will also use a an injected "feature policy" (<a href="https://developers.google.com/web/updates/2018/06/feature-policy">developers.google.com/web/updates/2018/06/feature-policy</a>), 
pretty early in the page's life-cycle setting <code>GeoLocation</code> to <code>None</code> through the browser internal permission system. This is experimental but it is another way to help with GeoLocation blocking.

Note1:
while Chrome DOES allow web-extensions to run their JavaScript even when there is no-JavaScript support on the page (either disabled by the browser or "Policy HTTP Header"), 
On Firefox - if there is a some kind of rule that prevents external-javascript to run on the page, this web-extension will no work.

So - on Firefox, it is best if you'll add the following restrictions in the <code>about:config</code> section:
<code>geo.enabled</code> - <code>false</code>
<code>geo.wifi.logging.enabled</code> - <code>false</code>
<code>geo.wifi.uri</code> - <code>https://0.0.0.0/</code>
<code>geo.wifi.xhr.timeout</code> - <code>1</code>

Note2:
web-extensions can also access the GeoLocation API, without 'walking-through' the page's own JavaScript engine, 
https://developer.chrome.com/extensions/declare_permissions
they can do so even without asking from the user to allow geolocation-pin pointing, and there is very little to do once you've installed one of those.. so beware.

                        
查看更多
下载 如何离线安装? Chrome store

分享

全部评论

    展开更多评论

    错误提示保存失败
    成功提示保存成功
    close
    qr-code

    为打击盗链困扰,本站已启用公众号验证
    微信扫码关注上方公众号,回复“插件”二字获得验证码,验证码5分钟内全站有效。

    正在验证
    验证成功
    下载遇到问题?请添加QQ群:398095333
    close
    qr-code

    为打击盗链困扰,本站已启用公众号验证
    微信扫码关注上方公众号,回复“脚本”二字获得验证码,验证码5分钟内全站有效。

    正在验证
    验证成功