Google Maps History Cleaner 作者: PJ
Removes duplicate Google Maps history entries (from the Firefox history), if coordinates in the URL differ by less than 0.001 degrees (~110 meters).
尚无用户尚无用户
扩展元数据
屏幕截图
关于此扩展
A Firefox WebExtension that removes duplicate Google Maps history entries in the browser’s history, based on coordinates, keeping only entries where the coordinates differ beyond the third decimal place (approximately 110 meters). The extension will monitor visits to https://www.google.com/maps/*, extract coordinates from the URL, compare them to previous entries, and delete duplicates with coordinates that are too similar.
Approach:
Monitor Google Maps URLs: Use the webNavigation.onHistoryStateUpdated API to detect navigation events on Google Maps.
Extract Coordinates: Parse the URL to extract latitude and longitude (e.g., from https://www.google.com/maps/place/.../@<lat>,<lng>,... or https://www.google.com/maps/@<lat>,<lng>,...).
Compare Coordinates: Check if the coordinates differ beyond the third decimal place (0.001 degrees ≈ 110 meters).
Manage History: Use the history API to search for and delete duplicate entries in the browser’s history.
Permissions: Request history, webNavigation, and appropriate host permissions.
Approach:
Monitor Google Maps URLs: Use the webNavigation.onHistoryStateUpdated API to detect navigation events on Google Maps.
Extract Coordinates: Parse the URL to extract latitude and longitude (e.g., from https://www.google.com/maps/place/.../@<lat>,<lng>,... or https://www.google.com/maps/@<lat>,<lng>,...).
Compare Coordinates: Check if the coordinates differ beyond the third decimal place (0.001 degrees ≈ 110 meters).
Manage History: Use the history API to search for and delete duplicate entries in the browser’s history.
Permissions: Request history, webNavigation, and appropriate host permissions.
评分 0(1 位用户)
权限与数据
更多信息
- 附加组件链接
- 版本
- 1.0
- 大小
- 264.75 KB
- 上次更新
- 9 个月前 (2025年8月11日)
- 版本历史
- 添加到收藏集