dinislam
dinislam
PD🧩 Plasmo Developers
Created by dinislam on 7/27/2024 in #🔰newbie
Content script runs on all URLs. Doesn't respect the config.matches.
Pretty much as described in the title. I configured the context script according to Plasmo docs, but it doesn't behave as expected.
export const config = {
matches: ["https://x.com/*"],
} satisfies PlasmoCSConfig;
export const config = {
matches: ["https://x.com/*"],
} satisfies PlasmoCSConfig;
I expect it to only run on x.com, instead it runs on every origin. Am I doing this right?
4 replies