While browsing job postings on Naukri.com, I noticed something frustrating. Whether a job had 105 applicants or 3,900 applicants, the UI showed the exact same badge: "100+ Applicants".

For job seekers trying to gauge competition and response rates, 100+ Applicants is virtually meaningless. There is a massive difference between applying to a role with 110 applicants versus a role flooded with 4,000 applications.

I decided to open DevTools, inspect Naukri's network traffic, and build a browser extension to fix it.


1. Finding the Underlying Data

I opened Chrome DevTools Network panel, filtered for Fetch/XHR requests, and navigated through a few job postings.

Naukri's web client fetches JSON job details from internal API endpoints like /jobapi/v3/job/.... When inspecting the raw response payloads, the server wasn't returning rounded strings. It was returning raw integers:

{
  "applyCount": 3781,
  "vacancy": 12,
  "viewCount": 18450
}

The UI was intentionally rounding applyCount down to 100+ or 500+ before rendering the HTML. The actual exact numbers were already sitting in memory in the browser.


2. Chrome Extension Architecture (Manifest V3)

I built Naukri Exact Applicants as a privacy-first Manifest V3 extension.

Because modern Chrome extensions run content scripts in an isolated execution environment, content scripts cannot directly inspect page-level window.fetch or XMLHttpRequest objects. To capture the network responses reliably without making secondary duplicate requests, I designed a multi-layer architecture:

EXTENSION DATA INTERCEPTION PIPELINE MANIFEST V3 MAIN WORLD (Page Context) mainWorldScript.js Hooks window.fetch & XMLHttpRequest in page memory Intercepts /jobapi/ JSON responses -> applyCount: 3781 window.postMessage ISOLATED WORLD contentScript.js Content script coordinator. Validates active jobId & security. Dispatches extracted data payload to sub-modules SPA NAVIGATION navigationObserver.js Monitors SPA soft navigations: • pushState & popstate events • MutationObserver DOM changes Triggers updates on page switches DOM INJECTION uiInjector.js TreeWalker native text replacement: 100+ Applicants ➜ 3,781 Applicants + Openings (12) & Views (18.4k) badges Zero layout shifts or UI flicker

Key Modules:

  • mainWorldScript.js: Injected into Chrome's MAIN execution world (world: "MAIN" in Manifest V3). It hooks fetch and XMLHttpRequest.prototype.open to intercept responses matching Naukri job API patterns and broadcasts extracted data via window.postMessage.
  • contentScript.js: Listens for postMessage events in the isolated content script world, extracts and validates the job ID, and dispatches data to sub-modules.
  • apiFetcher.js: Handles intercepted API data payload parsing, fallback network checks, and response validation.
  • jobDetector.js: Extracts internal numerical job IDs from URL paths (e.g. job-listings-...-<jobId>) or DOM datasets.
  • navigationObserver.js: Naukri operates as a Single Page Application (SPA). As you click between job listings, the page doesn't reload. navigationObserver.js listens to pushState, replaceState, popstate, and DOM mutations to trigger instant updates on soft navigations.
  • uiInjector.js: Uses a DOM TreeWalker to locate the exact text nodes displaying 100+ Applicants and updates them in place with exact counts (e.g. 3,781 Applicants). It also appends subtle dark badges for Openings (12) and Views (18.4k).

3. Handling Edge Cases & Privacy

Exact vs. Rounded Data

The extension never guesses or extrapolates numbers. If a job listing payload contains an exact applyCount, it displays the exact value. If Naukri's response payload only contains a rounded range, the extension displays what is available without fabricating numbers.

Zero Telemetry & Privacy-First

I wanted this tool to be 100% private:
  • No external backend servers.
  • No analytics or tracking scripts.
  • No database.
  • Minimal permissions: only storage (for local extension popup options) and host permission for naukri.com. All network inspection and DOM manipulation happen locally inside the user's browser.

4. Demo Video & Build Share

I posted a video walkthrough showing the extension in action on X:

View original post on X →

5. Source Code

The extension is open-source under the MIT license on GitHub: