VLR Extension
A browser extension
This extension provides a compact list of information about upcoming, live, and completed matches.
It uses an API that scrapes data from vlr.gg and returns the results. The API is based on an existing scraper for Valorant data, modified to meet the extension’s needs and improve caching.
The extension is built with Manifest Version 3, a requirement to ensure compatibility once Version 2 is deprecated. However, Manifest Version 3 introduced stricter rules, which caused challenges. For example, background scripts go inactive when the extension isn’t open, preventing periodic updates. Older manifest versions allowed scripts to remain active, but Version 3 alternatives required complex workarounds or internal-only usage, which I avoided.
To address this, the extension fetches data efficiently by saving it in local storage. When reopened, it quickly displays the saved data before updating with the latest information. This ensures a smoother user experience without relying on unsupported methods.