I'm using manifest_version: 3
. My goal is to add a button next to a tweet's content every time the user interacts with a tweet. The URL format for tweets is https://twitter.com/{user_name}/status/{tweet_id}
. Therefore, I've specified in my manifest.json
to only run in these specific URLS. To start, I'm simply running a console.log
in my content script, but it isn't showing up for some reason.
My manifest.json file:
{
"manifest_version": 3,
"name": "Test Extension",
"content_scripts": [
{
"matches": ["https://twitter.com/*/status/*"],
"js": ["content.js"]
}
],
}
content.js
console.log('hit a new tweet')
Any ideas why this is not working? I made sure to load my extension, enable it, and reload it.