Google Maps History Cleaner Autor: 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).
Brak użytkownikówBrak użytkowników
Metadane rozszerzenia
O tym rozszerzeniu
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.
Ocenione na 0 przez 0 recenzentów
Uprawnienia i dane
Wymagane uprawnienia:
- Mieć dostęp do historii przeglądania
- Mieć dostęp do aktywności przeglądarki podczas nawigacji
- Mieć dostęp do danych użytkownika na stronie „www.google.com”
Więcej informacji
- Wersja
- 1.0
- Rozmiar
- 264,75 KB
- Ostatnia aktualizacja
- 5 miesięcy temu (11 sie 2025)
- Powiązane kategorie
- Historia wersji
- Dodaj do kolekcji