work with x.com

This commit is contained in:
kawamataryo 2023-07-25 10:29:21 +09:00
parent 02db2c9e3e
commit 5ab29ca929
2 changed files with 4 additions and 1 deletions

View File

@ -35,7 +35,8 @@
"manifest": {
"host_permissions": [
"https://bsky.social/*",
"https://twitter.com/*"
"https://twitter.com/*",
"https://x.com/*"
],
"browser_specific_settings": {
"gecko": {

View File

@ -11,6 +11,8 @@ export const STORAGE_KEYS = {
export const TARGET_URLS_REGEX = [
/^https:\/\/twitter\.com\/[^/]+\/following$/,
/^https:\/\/twitter\.com\/[^/]+\/followers$/,
/^https:\/\/x\.com\/[^/]+\/following$/,
/^https:\/\/x\.com\/[^/]+\/followers$/,
]
export const MESSAGE_TYPE = {