An ultra-sleek, modular Chrome Extension designed for Salesforce CRM administrators and developers. It serves as a rapid record manager to perform bulk Delete, Insert, and Update pipelines directly from the browser popup using your active Salesforce browser session—without configuring integrations or sharing API credentials. Features an interactive dashboard, automatic Object Name prefix-resolution, cancellation control, and color-coded status tracking.
- ⚡ Zero-Configuration Authentication: Instantly securely inherits session cookies (
sid) from active Salesforce tabs (supports standard, custom, My Domain, and Visualforce URLs). - 🗑️ Auto Prefix-Resolution: Delete records by raw IDs; the extension dynamically queries Salesforce SObject metadata on the fly to match ID key-prefixes to correct Object API names automatically.
- 📤 Bulk Insert & Update: Input arrays of JSON records directly. Insert new entries, or patch existing ones using their
Idfields. - 🛑 Abort & Control: Cancel operations mid-stream with a single click of the pause/cancel button, allowing safe checkpoints.
- 🎨 Interactive Color-Coded Logs: Real-time status reporting with multi-color highlights:
Successin GreenAlready Deletedin OrangeFailedin Red
- 🚀 Enterprise Resiliency: Equipped with exponential backoff retry algorithms and configurable rate-limiting (100ms throttle by default).
flowchart TD
subgraph Client [Chrome Extension UI]
Input[User Input: Action, Object API Name, Data Payload]
Validate{Validator: parsers.js}
UI[Status Dashboard: Rich HTML Counters]
end
subgraph Auth [Security & Context Layer]
Cookie[Chrome Cookies API: Read active tab context]
Domain[Normalize Domain: Map Lightning/VF to MyDomain]
end
subgraph API [Salesforce REST Engine]
Prefix[Prefix Resolver: Map ID prefixes to Object Names]
Batch[HTTP Execution Queue: Rate-limiting & Backoff Retries]
end
Input --> Validate
Validate -- Validated Payload --> Cookie
Cookie --> Domain
Domain -- Auth Token & Domain --> API
API --> Prefix
Prefix --> Batch
Batch -- Real-Time Updates & Results --> UI
SF-Record-Deleter/
├── icon48.png # Extension icon (48x48)
├── icon48.svg # Vector source of extension icon
├── gemini-svg.svg # Custom vector assets
├── popup.html # Main popup structure, CSS styles & layout
├── popup.js # Main orchestrator & UI controller
├── src/ # Modular business logic (ES Modules)
│ ├── api/
│ │ └── salesforce.js # Cookie extractors, prefix mappings & execution flow
│ ├── config/
│ │ └── config.js # Global configuration parameters & constants
│ └── utils/
│ └── parsers.js # Payload parser, ID validator & logger helper
├── manifest.json # Extension configuration manifest
└── README.md # Documentation
001xx000003DGb1AAG
003xx000004TmiHAAS
[
{ "Name": "Acme Corp", "Industry": "Technology" },
{ "Name": "Cloud Solutions", "Industry": "Consulting" }
][
{ "Id": "001xx000003DGb1AAG", "Industry": "Healthcare" },
{ "Id": "001xx000003DGb2AAG", "Industry": "Finance" }
]- Clone this repository locally:
git clone https://github.com/kaileyventures/SF-Record-Deleter.git
- Open Google Chrome and navigate to
chrome://extensions/. - Enable Developer mode (toggle in the top-right corner).
- Click on Load unpacked (top-left corner).
- Select the
SF-Record-Deleterroot folder. - Open a Salesforce tab in Chrome, click the extension icon, and begin processing records!
- HTML5 / CSS3 – Glassmorphic style design with responsive layouts and customized color accents.
- JavaScript (ES Modules) – Modern modular design allowing clean, componentized logic importing.
- Salesforce REST API – Integration with SObjects REST endpoints (using
v58.0metadata endpoints). - Chrome Extension API (MV3) – Manifest V3 compliant popup scripts and session permission scopes.
Distributed under the MIT License. See LICENSE for more information.
