Jobbsökarkompis helps you stay on top of your job search in Sweden by automatically tracking applications on arbetsformedlingen.se and giving you quick access to your application information and settings.
  • JavaScript 83.5%
  • HTML 8.9%
  • CSS 7.3%
  • Makefile 0.3%
Find a file
Jimmy Berglund 2f9535edbb
All checks were successful
CI / test (push) Successful in 1m1s
Add screenshots to README
Exclude docs/ from the web-ext package.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 14:45:22 +01:00
.forgejo/workflows Add web-ext lint, build in CI and update docs 2026-11-01 10:58:14 +01:00
docs/screenshots Add screenshots to README 2026-11-18 14:45:22 +01:00
icons Replace icon with a paper plane 2026-11-03 12:44:51 +01:00
src Save ad text and contacts, track CV/letter versions 2026-11-03 12:15:40 +01:00
tests Save ad text and contacts, track CV/letter versions 2026-11-03 12:15:40 +01:00
ui Save ad text and contacts, track CV/letter versions 2026-11-03 12:15:40 +01:00
.gitignore Ignore .amo-upload-uuid in git and web-ext packages 2026-11-01 11:46:26 +01:00
AGENTS.md Save ad text and contacts, track CV/letter versions 2026-11-03 12:15:40 +01:00
LICENSE Licensing 2025-10-21 22:01:14 +02:00
Makefile Keep .env secrets out of git and web-ext packages; add make sign 2026-11-01 11:00:32 +01:00
manifest.json Version bump 2026-11-03 12:44:57 +01:00
package-lock.json Migrate to vitest with proper imports from source 2026-04-07 13:39:29 +02:00
package.json Version bump 2026-11-03 12:44:57 +01:00
README.md Add screenshots to README 2026-11-18 14:45:22 +01:00
THIRD-PARTY-LICENSES Licensing 2025-10-21 22:01:14 +02:00
vitest.config.js Add shared core (src/shared.js) and fix test setup 2026-11-01 10:57:52 +01:00
web-ext-config.mjs Add screenshots to README 2026-11-18 14:45:22 +01:00

Jobbsökarkompis

Firefox extension (Manifest V2) that helps you keep track of your job search on the Swedish job market (Platsbanken / Arbetsförmedlingen) and makes the monthly activity report quicker.

Popup with saved and applied jobs Statistics page with key figures and charts

Screenshots use made-up demo data.

Features

  • Save jobs straight from Platsbanken. A "Spara jobb" button sits on every ad page. On search results, jobs you've already saved are marked with their status.
  • Track each application. A job's status goes Sparad → Sökt → Intervju → Erbjudande/Avslag, alongside its applied date, deadline and notes. Jobs from other sites can be added by hand.
  • Interview rounds. Log each step with a date, type and note: Telefon, Video, På plats, Test (efter urval) or Övrigt. Upcoming rounds show up in the popup. A test you get after being moved forward counts as progress but not as an interview. Automatic tests sent to everyone straight after applying aren't logged.
  • Activity report helper. On Aktivitetsrapportera → Lägg till aktivitet a panel lists the month's jobs.
    • Fills in the form with one click ("Fyll i" / "Fyll i nästa").
    • Lets you mark each job as reported, and shows progress ("4 av 6 rapporterade").
    • Has a month picker.
  • Goal and reminders. You can set a monthly application goal. The toolbar badge shows how many jobs you've applied for this month. Notifications remind you to file the activity report (by the 14th), warn before a saved job's application deadline, remind you the day before and on the day of an interview or test, nudge you to follow up on applications with no reply (21 days by default), and remind you to back up if you haven't exported in 30 days.
  • Estimated travel times. Search results show rough travel times from your home address. They're straight-line estimates, not real routes.
  • Popup.
    • Searchable list grouped by month, with status filters.
    • Job card with one-click status, notes, and the other fields behind "Redigera uppgifter". Autosaves, with undo on delete.
    • A small monthly chart, plus a link to the full statistics.
  • Statistics page (opens in a new tab).
    • Key figures, with a choice of period.
    • Applications over time, with a moving average and your goal.
    • Outcomes per month (interviews, tests, rejections, offers), and a funnel: saved → applied → moved forward → interview → offer.
    • The interview process: rounds by type, how many interviews jobs went through (and how often that ended in an offer), and the median days between rounds.
    • Breakdowns by role, municipality/county, scope and employment type, and by weekday.
    • How much of each month you've reported, applications still waiting for an answer, and upcoming deadlines.
    • Every chart can also be shown as a table.
  • Light and dark theme. It follows the system theme, or you can pick one in the settings.
  • Ad text and contacts. Saving a Platsbanken job also keeps the ad text (readable after the ad is removed) and the contact persons, with e-mail and phone links.
  • CV/letter versions. Note which CV and cover letter you sent; the stats page shows reply rates per version.
  • No reply. Applications without any reply are flagged in the popup. Mark that you followed up (restarts the clock), or set the status to "Inget svar" to close them. They still count as applied but not as responses.
  • Your data stays in the browser. You can export to JSON or CSV (Excel) and import again with duplicate detection. Upcoming interviews can be exported to your calendar (.ics); re-importing updates the events instead of duplicating them.

Permissions

Permission Why
storage Saved jobs and settings (local only)
activeTab Detect the Platsbanken ad open in the current tab
alarms, notifications Activity report, deadline, interview, follow-up and backup reminders
platsbanken-api.arbetsformedlingen.se Fetch ad details (title, company, location, deadline)
nominatim.openstreetmap.org Geocode your home address (only when you save it)

Installation

  1. Build the extension:
    make build
    
  2. Open Firefox and go to about:debugging
  3. Click "Load Temporary Add-on"
  4. Select archive.zip from the project directory

Development

npm install       # Install dependencies
npm test          # Run tests (vitest)
npm run lint      # Lint the extension (web-ext)
make build        # Build archive.zip
make all          # Clean and build

Run a single test:

npx vitest run tests/url.test.js

Tests run with TZ=America/New_York (see vitest.config.js), so any date code that wrongly uses UTC fails.

Project Structure

  • src/shared.js: helpers shared by every part of the extension (URLs, local dates, job model, storage, reminders). It is a plain script that sets globalThis.JJK, so content scripts can load it and modules can import it for its side effect.
  • src/background.js: event page. It owns the Platsbanken API, migrates data, and handles reminders and the badge.
  • src/contentScript.js: Platsbanken search badges, saved chips and the save button.
  • src/contentShowJobs.js: the activity report panel.
  • src/routers/, src/utils/geo.js: the travel-time estimate.
  • ui/shared/: theme (CSS custom properties) and UI helpers (toast, export).
  • ui/popup/: the popup (scripts/list.js, detail.js, stats.js, current-ad.js).
  • ui/settings/: the settings page.
  • ui/stats/: the statistics page (scripts/compute.js holds the pure, tested calculations; charts.js wraps Chart.js).
  • tests/: Vitest unit tests (tests/setup.js provides an in-memory browser mock).

Data model

browser.storage.local:

  • data: array of jobs: { id, title, headline, company, location, region, scope, employmentType, url, savedDate, appliedDate, rounds, interviewDate, offerDate, rejectedDate, noReplyDate, followUpDate, status, notes, docVersion, contacts, reportedAt, deadline, estimated, enrichedAt }
    • contacts: [{ name, position, email, phone }], filled from the Platsbanken ad and editable (the first one).
    • docVersion: free text naming the CV/cover letter sent; the stats page breaks reply rates down by it.
    • rounds: [{ id, date, type, note, estimated }], where type is phone | video | onsite | interview | test | other.
    • interviewDate is derived: the date of the first interview-type round (tests don't count).
  • schemaVersion: currently 4. Older data is migrated on startup:
    • v1 jobs are treated as applied.
    • Step dates that are missing but implied by the status are estimated from the applied date (or the saved date) and listed in estimated. They count in trends but not in "days to response".
    • v3 interviewDate becomes one generic interview round.
  • enrichState: the one-time background fetch that fills in region, employment type, deadline and headline for old Platsbanken jobs is finished.
  • settings: { monthlyGoal, remindersEnabled, reportReminderDay, deadlineReminders, interviewReminders, followUpDays, backupReminderDays, theme }
  • adText:<jobId>: { text, savedAt }, the ad description as plain text, saved when the job is saved (and backfilled once for older Platsbanken jobs). Kept out of data so the job list that's rewritten on every change stays small (~4–6 kB per ad). Texts of deleted jobs are pruned on startup. JSON export inlines them as adText/adTextSavedAt, and import restores them.
  • lastBackupAt: date of the latest JSON export (CSV doesn't count as a backup).
  • homeLat, homeLon, homeAddress, geocodeBase
  • reminderState: bookkeeping so each notification is only sent once.

License

GPL-3.0-or-later