Amazon Shift Sniper | Real-Time Automation Chrome Extension by Pasindu PiumalAmazon Shift Sniper | Real-Time Automation Chrome Extension by Pasindu Piumal

Amazon Shift Sniper | Real-Time Automation Chrome Extension

Pasindu Piumal

Pasindu Piumal

Real-Time Automation Chrome Extension for Amazon Hiring & Scheduling

Chrome Extension Development · Browser Automation · Real-Time Monitoring · Manifest V3
Amazon Shift Sniper is part of a broader series of 6 production Chrome extensions I developed around Amazon hiring and workforce scheduling workflows.
The core challenge was simple to describe but difficult to engineer reliably: detect new shift opportunities as quickly as possible, react to page changes in real time, preserve authenticated session state, and recover automatically when the portal entered an unexpected state.
What started as a high-speed shift monitor evolved into a wider browser automation system covering real-time slot detection, booking workflows, multi-profile control, OTP verification, live statistics, session recovery, and resilient Manifest V3 execution.
Full case study:

The Challenge

Time-sensitive browser automation becomes much harder once the environment is dynamic.
Amazon hiring and scheduling pages can change state quickly. A slot may appear and disappear within seconds. Sessions can expire. Authentication may require verification codes. Pages can enter invalid states, and some UI elements may exist inside complex or nested DOM structures.
A simple script that checks for a button and clicks it is not enough.
The system needed to:
Detect opportunities with very low latency
React reliably when page content changed
Preserve authenticated session context
Recover from temporary failures
Handle multi-step authentication workflows
Continue operating within Manifest V3 service-worker limitations
Synchronize actions across multiple browser profiles
Expose live status information to the user

1. Amazon Shift Sniper

Real-Time Slot Monitor & Automation Engine

The main Chrome extension continuously monitors Amazon hiring and scheduling pages for newly available shifts or interview slots.
When a matching opportunity appears, the system detects it in real time and executes the configured browser action.

Key Features

Sub-second slot detection
Configurable monitoring intervals
Real-time DOM state monitoring
Multi-profile broadcast triggering
Automatic retry logic
Main World + Isolated World script execution
Session-aware browser automation
Live alerts and status UI
Controlled cooldown and recovery logic

Verified Upwork Project


2. Amazon Hiring Automation + OTP Handling

Another extension in the same series automated the Amazon hiring workflow itself.
The automation handled:
Login → Verification → Application Flow → Confirmation
A major part of this system was automated OTP handling.
The extension could retrieve verification emails through IMAP, extract the verification code, submit it into the hiring workflow, and respond automatically when verification failed.
If a code was rejected, the workflow could:
Wait for a cooldown period
Retrieve the newest verification email
Extract the latest code
Retry the verification step
Restart the workflow when necessary

Key Features

Gmail OTP retrieval through IMAP
Verification-code parsing
Self-healing verification workflow
Automatic retry handling
Workflow restart logic
Hiring-flow automation

Verified Upwork Project


3. Chrome Extension + SaaS Dashboard

The broader Amazon automation series also included a full-stack product pairing a Chrome extension with a backend SaaS dashboard.
This architecture added extension-to-server communication, remote state synchronization, live activity monitoring, backend APIs, and a centralized dashboard.

Key Features

Manifest V3 Chrome extension
Extension-to-server synchronization
Real-time activity data
Backend API integration
Remote monitoring dashboard
Full-stack browser automation architecture

Verified Upwork Project


4. Amazon Real-Time Slot Tracker

A separate extension focused on high-fidelity live data extraction from Amazon hiring and scheduling pages.
The extension surfaced operational statistics as the underlying page changed.

Data Tracked

Job title
Total positions
Open positions
Filled positions
Available slots
Soft matches
Hard matches
Denied applications
MutationObserver-based monitoring and targeted DOM extraction allowed the dashboard to update automatically without requiring constant manual refreshes.

Verified Upwork Project


5. Amazon Portal Session Recovery

Long-running automation cannot assume every page will remain valid forever.
The hiring portal could enter states such as:
Expired sessions
Timeout pages
404 pages
Broken confirmation URLs
No-availability screens
Interrupted navigation states
I built a recovery layer that identifies known failure patterns and automatically attempts to return the browser to the correct workflow.

Key Features

URL pattern detection
Automatic URL correction
Timeout recovery
Dead-end page detection
Retry-with-cooldown logic
Session workflow recovery

Verified Upwork Project


6. AWS WAF & Shadow DOM Recovery

One of the more technically demanding parts of the series involved detecting and recovering from verification or challenge states rendered inside nested Shadow DOM structures.
Standard DOM selectors are not always enough when elements exist inside nested component trees.
The system therefore included Shadow DOM traversal and challenge-state detection.
When a temporary verification or blocked state appeared, normal automation could pause, enter a controlled cooldown path, and continue when the page returned to a valid state.

Key Features

Nested Shadow DOM traversal
Challenge-state detection
CAPTCHA interruption detection
Controlled cooldown logic
Retry and recovery workflows
Automation state preservation

Verified Upwork Project


Engineering Architecture

1. Page Context Layer

Some operations needed access to the same authenticated browser context as the hiring portal itself.
For these cases, scripts executed inside the page's Main World, while other extension functionality remained inside Chrome's isolated extension environment.
This dual-context architecture allowed the system to work with native session state while keeping extension functionality separated.

Technologies

Chrome Main World execution
Content scripts
Session-aware browser actions
Chrome scripting APIs
Authenticated page context

2. Real-Time Detection Engine

The monitoring engine combined several techniques:
MutationObserver
Configurable polling
DOM state validation
Filtering logic
Event-driven triggers
Retry rules
The goal was to react quickly without repeatedly performing expensive full-page scans.

3. Automation & Recovery Layer

Once a valid condition was detected, the system dispatched the appropriate browser action.
The same layer also handled temporary failures so one unexpected page state would not terminate the entire automation workflow.

Reliability Features

Automatic retries
Exponential backoff
Jittered timing
Cooldown periods
Session recovery
State validation
Circuit-breaker style failure handling

4. Manifest V3 Background Runtime

Manifest V3 introduces an important challenge for monitoring software: background service workers can be suspended when Chrome considers them idle.
For long-running workflows, persistent state must therefore be designed carefully.
The system used Chrome APIs including:
chrome.scripting
chrome.offscreen
chrome.storage
chrome.alarms
chrome.declarativeNetRequest
Manifest V3 background service workers

Multi-Profile Automation

One later requirement was coordinating multiple isolated browser profiles from a single controller session.
A trigger from the primary browser session could be broadcast to connected profiles, while each browser profile preserved its own independent authenticated state.
This extended the project beyond normal single-tab automation into coordinated multi-session browser workflows.

Technology Stack

Chrome Extension

Manifest V3
Chrome APIs
Content Scripts
Background Service Workers
Main World Execution
Chrome Offscreen API
Chrome Storage
Chrome Alarms

Frontend

React
JavaScript
Tailwind CSS
Lucide Icons

Browser Automation

MutationObserver
DOM Automation
Shadow DOM Traversal
Configurable Polling
Session Management
Multi-Profile Synchronization

Authentication & Integration

IMAP
OTP Parsing
Browser Session Handling
API Integration

Reliability

Retry Logic
Exponential Backoff
Jitter
Cooldown Handling
State Persistence
Error Recovery

Full Stack

Node.js
REST APIs
Extension-to-Server Communication
SaaS Dashboard Integration

Performance

The monitoring architecture was designed for sub-second detection, with the existing project benchmark documenting automated slot detection below 500ms compared with multi-second manual reaction times.
More importantly, the system was designed around reliability.
Temporary network failures, session interruptions, verification problems, invalid page states, and Manifest V3 service-worker lifecycle events were treated as recoverable workflow states rather than reasons for the automation process to stop.

My Role

Chrome Extension & Browser Automation Engineer
I worked across the architecture and implementation of the Amazon automation series, including:
Manifest V3 architecture
Real-time monitoring systems
Browser automation
DOM manipulation
Session-aware execution
Multi-profile synchronization
OTP workflow automation
Error recovery
Shadow DOM handling
Status dashboards
Background runtime management
Extension-to-server synchronization
Across the wider series, 6 related production Chrome extension engagements were delivered through verified Upwork contracts.

What This Project Demonstrates

This project represents the type of browser software I specialize in.
Not simply basic extensions, but production Chrome extensions where reliability depends on handling:
Dynamic Interfaces + Authenticated Sessions + Real-Time Events + Complex Browser States + Background Execution + External Services
The same architecture patterns apply to:
Real-time monitoring tools
Availability trackers
Workflow automation
Browser-based SaaS products
CRM automation
Marketplace monitoring
Notification systems
Data extraction extensions
Multi-step browser workflows

Project Links

Full Case Study

Pasindu Piumal on Upwork

Amazon Shift Sniper

Amazon Hiring Automation + OTP

AI Chrome Extension + SaaS Dashboard

Amazon Real-Time Slot Tracker

Amazon Portal Session Recovery

AWS WAF & CAPTCHA Recovery


Need a Chrome Extension or Browser Automation Product?

I build production Chrome extensions, browser automation systems, real-time monitoring tools, AI integrations, and full-stack SaaS products.
Like this project

Posted Sep 12, 2026

Amazon Shift Sniper is a production Chrome extension built for real-time monitoring and automation across Amazon hiring and scheduling portals and auto apply.