OLX/Otomoto Ban + Viewed + Rating — WebExtension
A cross-browser WebExtension for Chrome, Firefox, Opera, Edge, and other Chromium-based browsers. Ban listings, rate sellers, and sync across devices via GitHub Gist.
Zero dependencies on Google, Apple, or Microsoft ecosystem. Only uses GitHub Gist for cloud sync, localStorage for local persistence, and standard WebExtension APIs.
Installation
Download the extension package (.zip)
Chrome / Brave / Edge
- Download and extract the
.zipto a folder - Go to
chrome://extensions/ - Enable Developer mode (top right)
- Click Load unpacked → select folder
- Done
Firefox
- Download and extract the
.zipto a folder - Go to
about:debugging#/runtime/this-firefox - Click Load Temporary Add-on
- Select any file in the folder
- Done (temporary; reload on browser restart)
For permanent installation, submit to Firefox Add-ons (AMO).
Opera
- Download and extract the
.zipto a folder - Go to
opera://extensions/ - Enable Developer mode
- Click Load unpacked extension → select folder
- Done
Features
- Ban/unban listings with dark overlay
- Rate sellers with star system (3★ red, 2★ yellow, 1★ blue)
- Comment notes on listings (50 char max)
- View tracking with eye icon
- Cross-browser support (Chrome, Firefox, Opera, Edge, Brave)
- Cross-device sync via GitHub Gist (5-minute automatic sync)
- Privacy-first — only accesses GitHub Gist
Usage
Listing Cards (Search Results)
Each card shows a dark chip overlay with eye icon (viewed listings), star rating (click to cycle), comment box, and BAN toggle. Banned listings fade to 35% opacity with grayscale filter.
Detail Pages (Single Listing)
Bottom-right corner shows similar controls. Banned items show a red banner with ban date/time, comment, and UNBAN button.
Sync
Everything is stored in browser localStorage. Optional GitHub Gist sync merges data across devices using field-level timestamps (newest wins per field).
Setup
- Visit any OLX or Otomoto listing page
- Open DevTools (F12) → Console — you should see
[BG] Service worker initialized - Look for control chips on listing cards
Enable Gist Sync
- Create a GitHub token at https://github.com/settings/tokens with
gistscope only - Set it in the extension options page or via console:
chrome.runtime.sendMessage({ action: 'setToken', payload: { token: 'ghp_your_token_here' } }, r => console.log(r))
Troubleshooting
- Chips not showing? Check you’re on
olx.plorotomoto.pl, refresh the page, check console for[Content] Initialized - Sync not working? Verify token is set and valid (classic tokens expire after 1 year)
- Data loss? Your Gist is preserved on GitHub; reinstall and re-set token
Development
extension/
├── manifest.json
├── background.js
├── content.js
├── options.html
├── options.js
├── README.md
└── images/
├── icon-16.png
├── icon-48.png
└── icon-128.png
Source files: ../../development/olx-oto-ban-addon/
License
Same as original userscript (modify as needed for personal use).
Credits
- Original userscript: piotereks (Tampermonkey)
- WebExtension port: Zero-Google build for Firefox/cross-browser compatibility