Skip to content

Instantly share code, notes, and snippets.

View tmcpro's full-sized avatar

Tyler McIntyre tmcpro

View GitHub Profile
@tmcpro
tmcpro / auto-safe-resume.js
Created March 21, 2025 14:17
Automatically clear the ChatGPT Operator alerts/"mark safe and resume" to keep the agent running
/*
Paste this into your Google Console, you may need to type `allow paste` to enable it
The goal of this script is to automatically clear the alert on ChatGPT Operator that
often pops up saying its getting conflicting instructions from the page.
*/
// Auto-click "Mark safe and resume" button whenever it appears
(function() {
console.log("🟢 Auto Resume Script activated - watching for 'Mark safe and resume' buttons");
// Function to find and click the button