A browser extension for Chrome and Firefox that automatically calculates and displays travel times from your specified locations to properties listed on idealista.it.
- πΊοΈ Automatically calculates distances from your locations to each property
- β±οΈ Shows travel time and distance for each configured location
- π Supports multiple travel modes (driving, transit, walking, bicycling)
- βοΈ Easy configuration through popup interface
- π Real-time updates when browsing listings
- π Works on both listing pages and property detail pages
- πΎ Smart caching - distances are cached locally to minimize API calls and improve performance
- π Cross-browser support - Works on Chrome and Firefox
- Go to Google Cloud Console
- Create a new project or select an existing one
- Enable the Distance Matrix API
- Create credentials (API key)
- Copy your API key
- Download or clone this repository
- Open Chrome and navigate to
chrome://extensions/ - Enable "Developer mode" (toggle in top right)
- Click "Load unpacked"
- Select the extension folder
- Download or clone this repository
- Open Firefox and navigate to
about:debugging#/runtime/this-firefox - Click "Load Temporary Add-on..."
- Navigate to the extension folder and select
manifest.json
Note: In Firefox, temporary extensions are removed when you close the browser. For permanent installation, you would need to sign the extension through Mozilla Add-ons.
- Click on the extension icon in your Chrome toolbar
- Add one or more locations (e.g., "Via Roma 1, Milano") - Required
- Each location has its own travel mode selector (π Driving, π Transit, πΆ Walking, π΄ Bicycling)
- You can add the same address multiple times with different travel modes
- Enter your Google Maps API key - Optional (can be added later)
- Click "Save Settings"
Note: You can save your locations first and add the API key later. Without an API key, the extension will show a reminder to configure it on each listing.
- Go to idealista.it
- Search for properties
- The extension will automatically calculate and display:
- Travel time from each configured location
- Distance to the property
- Information appears above the price for each listing
- On detail pages: Information appears before the comments section with enhanced styling
- Google Maps API Key: Required for distance calculations
- Locations: Add multiple locations with individual travel modes:
- π Driving: Car travel time
- π Transit: Public transportation
- πΆ Walking: Walking distance
- π΄ Bicycling: Cycling distance
- Tip: Add the same address twice with different modes (e.g., driving + transit) to compare options
The extension displays distance and travel time information directly in the listing:
π’ Ufficio: 15 min (8.5 km)
π Ufficio: 25 min (8.5 km)
πΆ Casa: 35 min (2.1 km)
The extension uses smart caching to improve performance and reduce Google Maps API usage:
- Distance results are cached locally - Once calculated, distances for a property are stored in your browser
- Cache is indexed by property ID - Each property's distances are stored separately
- Per-location and travel mode - Different origins and travel modes are cached independently
- Persistent across sessions - Cache survives browser restarts
- Automatic cache use - Cached results load instantly without API calls
This means:
- β Faster loading when you revisit listings
- β Lower API costs (fewer calls to Google Maps)
- β Works even when scrolling back through listings you've seen before
- Your API key and locations are stored locally in browser's sync storage
- Distance cache is stored in browser's local storage
- No data is sent to any server except Google Maps API for distance calculations
- The extension only runs on idealista.it
The extension is built using standard WebExtensions APIs and works on:
- Chrome/Chromium - Version 109+
- Firefox - Version 109+
The browser-polyfill.js ensures API compatibility between browsers.
The extension uses the Google Maps Distance Matrix API. Be aware of:
- API usage limits and costs
- Each property check makes one API call per configured location (first time only - results are cached)
MIT License - feel free to modify and use as needed.
For issues or feature requests, please open an issue on the repository.