Render content UI on specific URL in SPA

I am using overlay in content ui. I want to show it on a specific url. That's why i use the config below:
export const config: PlasmoCSConfig = {
matches: ["https://*.zillow.com/*_zpid/"]
}
export const config: PlasmoCSConfig = {
matches: ["https://*.zillow.com/*_zpid/"]
}
When i land on a matching url the UI is completely fine. But if i go to another page in this website without matching config url , the UI should be removed. But it doesn't because of single page application. The UI render only when the page reload. How to overcome this problem? Please help me
1 Reply
Asif
AsifOP•13mo ago
Please help me with this.
Want results from more Discord servers?
Add your server