This Chrome extension displays Google Maps ratings directly next to doctors' names on the Doctolib website, saving you the hassle of checking their ratings in a separate tab.
- Shows Google Maps ratings (stars, rating score, and number of reviews) next to each doctor's name on Doctolib listings.
- Displays "No rating found" if a doctor has no Google Maps rating.
- Provides a user-friendly popup for enabling/disabling the extension and setting the Google Maps API key.
- Respects user settings and persists them across browser sessions.
- Go to the Google Cloud Console.
- Create a new project or select an existing one.
- Enable the "Places API".
- Create credentials (API key).
- Copy the generated API key.
- Clone this repository:
git clone <your-repository-url>
- Open Chrome.
- Go to
chrome://extensions/
. - Enable "Developer mode" in the top-right corner.
- Click "Load unpacked".
- Select the directory containing this repository.
- Click on the extension icon
- Paste the Google Maps API key into the input.
- Enable or disable the extension according to your preference
- Click save.
The project consists of the following files:
manifest.json
: Contains the metadata of the extension.content.js
: Injects ratings into the Doctolib website.background.js
: Fetches rating data from Google Maps API.popup.html
: Defines the HTML structure for the settings popup.popup.js
: Handles interactions and storage for the popup.
Feel free to fork this repository and submit pull requests with any improvements or bug fixes.
This project is open-source.
- The extension respects your settings and works on all Doctolib pages.
- Make sure your Google Maps API key is not restricted or it will not work
For any questions or feedback, feel free to submit an issue or send me a message on LinkedIn.