Better Belgian Council of State
Extension Actions
- Live on Store
Display judgments of the Belgian Council of State with PDF.js and add automatic reference extraction when copying text.
# Better Belgian Council of State
Browser extension for optimized consultation of Belgian Council of State judgments.

## Features
### Full PDF.js Viewer
- **Professional interface** with complete toolbar (zoom, search, navigation, rotation, presentation mode)
- **Annotation and highlighting**: ability to highlight text and save annotated PDFs
- **In-document search** (Ctrl/Cmd+F)
- **Thumbnails and bookmarks** for quick navigation
- **Print and download** with advanced options
### Automatic Reference Detection
- **Smart extraction** of the judgment date and applicant name from PDF content
- **Bilingual display**: toggle between French (C.E.) and Dutch (RvS) reference format
- **Language preference** saved to localStorage (independent from the displayed judgment)
- **Formatted display**:
- French: `C.E., 6 mars 2015, n° 230.432, Mansour`
- Dutch: `RvS 25 november 2004, nr. 137.642, Ingrosso`
### Enhanced Copy with Page Number Citation
- **Automatic page detection**: identifies the PDF page where the copied passage begins
- **Automatic formatting**: text copied to clipboard will be formatted as `"selected text" (C.E., 6 mars 2015, n° 230.432, Mansour, p. 3)`
- **HTML and plain text copy** for maximum compatibility
- **Dedicated button** in top banner
### Smart Download
- **Automatic naming**: `CE 230.432.pdf` or `RvS 230.432.pdf` (follows language toggle)
- **Dedicated button** in top banner
- **Annotations included** in the downloaded file
## Usage
The extension will automatically activate on:
- `https://www.raadvst-consetat.be/Arrets/*`
- `https://www.raadvst-consetat.be/Arresten/*`
1. **Open a judgment** on the Council of State website (URL ending in `.pdf`)
2. **View** the PDF with all PDF.js viewer features
3. **Toggle language** using the FR/NL buttons on the right of the banner
4. **Copy** a passage: the complete reference with page number will be automatically added
5. **Download**: the file will have a standardized name
## Banner Layout
```
[ Copy ] [ Save ] C.E., 6 mars 2015, n° 230.432, Mansour [ FR | NL ]
```
## Treatment of personal data
No personal data whatsoever is treated by this extension.
## Credits
- **Author**: Rafaël Jafferali
- **PDF.js**: Mozilla Foundation (Apache License 2.0)
- **Vibe-coded** with the help of Claude Sonnet 4.6 (Anthropic)
## Release history
- 1.0.0 : first version