Skip to content

Commit e17fc2b

Browse files
committed
Only run on github for now.
1 parent f1a8084 commit e17fc2b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

browser-extension/src/entrypoints/content.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ import OverType from "../overtype/overtype";
22

33
export default defineContentScript({
44
main() {
5+
if (window.location.hostname !== "github.com") {
6+
return;
7+
}
8+
59
const ghCommentBox = document.getElementById("new_comment_field") as
610
| HTMLTextAreaElement
711
| undefined;

0 commit comments

Comments
 (0)