
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).
尚无用户尚无用户
您需要 Firefox 来使用此扩展
扩展元数据
关于此扩展
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 位用户)
权限与数据详细了解
必要权限:
- 获取浏览历史
- 获知浏览器导航时的行为状态
- 访问您在 www.google.com 的数据
更多信息
PJ 制作的更多扩展
- 目前尚无评分
- 目前尚无评分
- 目前尚无评分
- 目前尚无评分
- 目前尚无评分
- 目前尚无评分