Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 

Repository files navigation

Auto Refresher & Message Sender Extension

Overview

This Chrome extension automates the process of sending messages to Operator at regular intervals. It's designed to automatically fill in a message field and click the submit button on a specified interval, making it useful for tasks that require periodic interaction with the Operator interface.

Features

  • Timed Message Sending: Automatically sends a message at regular intervals
  • Persistent Timer: Maintains the timer state even when the popup is closed
  • Visual Countdown: Shows exactly when the next action will occur
  • Status Updates: Provides real-time feedback about actions
  • Start/Stop Controls: Easily control the automation process

Structure

Files

  • manifest.json: Extension configuration and permissions
  • popup.html: The UI for the extension popup
  • popup.js: Main logic for the extension
  • content.js: Content script (currently unused)
  • background.js: Background script for service worker

How It Works

  1. The extension injects JavaScript into the active tab to automate interactions
  2. It uses Chrome's storage API to maintain state between popup openings
  3. It calculates timing based on the actual interval running in the page
  4. It provides visual feedback through the countdown timer and status messages

Usage

  1. Set Interval: Enter the time in seconds between actions
  2. Enter Message: Type the message you want to send repeatedly
  3. Start Automation: Click the "Start" button to begin
  4. Monitor Progress: The countdown timer shows when the next action will occur
  5. Stop Automation: Click the "Stop" button to end the process

Permissions

  • scripting: Required to inject and execute scripts in tabs
  • tabs: Required to access the active tab
  • storage: Required for persistent state between popup openings
  • host_permissions: Required to access specific domains (operator.chatgpt.com)

Development

The extension is built using standard web technologies:

  • HTML for the popup interface
  • CSS for styling
  • JavaScript for the logic
  • Chrome Extension APIs for browser integration

Future Enhancements

  • Add support for more complex interaction patterns
  • Implement error recovery mechanisms
  • Add customizable message templates
  • Improve targeting for different web interfaces

agent-emancipator-extension

About

Simple extension for chrome to auto work with agents

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors