Build a Test-Gated Manifest V3 Extension for Safe X Tab Automation
Описание и применение
Пошаговый процесс безопасной установки и проверки расширения X Likes Automator, включая проверку тестов, настройку ограничений и наблюдение за поведением при автоматическом лайке.
Задача
Automating actions in a social timeline is easy to start and surprisingly hard to bound.
Результат
The workflow demonstrates how to safely load, test, configure, and observe a Manifest V3 extension that automates likes on X, highlighting permission boundaries, test coverage, and pause behavior.
Рабочий процесс
- Clone the exact stable tag v1.1.0
- Run npm test to verify 171 passing tests
- Load the unpacked extension in the browser
- Pin the extension and open an X home timeline tab
- Configure a conservative session: interval 60s, cap 5, disable repost
- Press Iniciar to start the session
- Observe pause when tab is hidden and resume when visible
- Verify popup counter matches visible page
- Press Parar to stop the session
- Inspect extension details and manifest permissions
Доказательства
Automating actions in a social timeline is easy to start and surprisingly hard to bound.
Run the included checks: npm test
The repository deliberately has no bundling step. Loading the source directory makes the reviewed JavaScript, manifest, popup, icons, and tests visible.
The extension separates decisions from DOM operations. lib/policy.js is a pure decision engine that validates settings, classifies the current X surface, chooses the next eligible post, and decides whether to like, scroll, wait, pause, or stop.
The project also keeps an explicit refusal list. It does not click reply, quote, follow, direct message, login, or cookie controls.
- Дата записи: 2026-11-02T01:58:54.906Z