dotfiles/scripts/f-around-firefox
DannyDannyDanny 2253bdde5d Add WebSocket support and content command to faf script
- Add WebSocket connection functions for Firefox Remote Debugging Protocol
- Implement CDP Runtime.evaluate protocol communication
- Add 'content' command to fetch HTML from tabs via WebSocket
- Add get_tab_html() function to orchestrate HTML retrieval
- Increase connection timeout for RDP requests
2026-02-01 15:03:42 +01:00
..
faf.py Add WebSocket support and content command to faf script 2026-02-01 15:03:42 +01:00
flake.nix Rename firefox-tabs to f-around-firefox (faf) and add to PATH 2026-01-30 18:26:15 +01:00
plan.md Rename firefox-tabs to f-around-firefox (faf) and add to PATH 2026-01-30 18:26:15 +01:00
README.md Rename firefox-tabs to f-around-firefox (faf) and add to PATH 2026-01-30 18:26:15 +01:00

f-around-firefox (faf)

Get information about Firefox's open tabs from the command line.

Usage

faf [method] [rdp_port]

Methods:

  • session, s - Read from Firefox session files (default)
  • rdp, r - Use Remote Debugging Protocol
  • both, b - Try both methods

Examples:

faf                    # Use session files (default)
faf rdp                # Use RDP on default port 6000
faf rdp 9222           # Use RDP on port 9222