Skip to content

Commit

Permalink
add example of manifest for chrome ext
Browse files Browse the repository at this point in the history
  • Loading branch information
zhelezkov committed Jul 15, 2024
1 parent 2d825e8 commit f75ec55
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,17 @@ class MyActionAdapter implements ActionAdapter {
setupTwitterObserver(new MyActionAdapter());
```

#### Manifest

```json
"content_scripts": [
{
"matches": ["https://twitter.com/*", "https://x.com/*", "https://pro.x.com/*"],
"js": ["src/contentScript.ts"],
}
]
```

## Learn More:

- [Join our Discord](https://discord.gg/saydialect) - join the community and ask us a question

0 comments on commit f75ec55

Please sign in to comment.