Skip to content

Add GitHub Chat as a Chrome extension#7

Open
martrend33 wants to merge 7 commits into
inquid:masterfrom
martrend33:master
Open

Add GitHub Chat as a Chrome extension#7
martrend33 wants to merge 7 commits into
inquid:masterfrom
martrend33:master

Conversation

@martrend33

Copy link
Copy Markdown

Summary

Adds a Manifest V3 Chrome extension that injects a GitHub Chat toggle on github.com pages. The toggle appears in the lower-right corner, opens a compact iframe panel when the chat endpoint allows embedding, and falls back to an Open Chat action for endpoints that block iframes.

What changed

  • Adds a GitHub-only extension manifest.
  • Adds a content script to inject the toggle, iframe panel, and current-page context.
  • Adds fixed lower-right UI styles.
  • Adds an options page so maintainers can configure the deployed chat endpoint without editing source.
  • Adds a fallback for github-chat.com, which currently sends X-Frame-Options: DENY.

Verification

  • Parsed manifest.json successfully from the forked GitHub copy.
  • Ran node --check on content-script.js from the forked GitHub copy.
  • Ran node --check on options.js from the forked GitHub copy.

Refs inquid/github-chat#1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant