I am looking to create a chrome extension that enforces a specific CSS style on all websites except for Gmail. However, I am facing an issue where the code in the content scripts section of the manifest.json file is not working as expected. Even though I have specified that Gmail should be excluded from using the css style defined in font.css, it is still being applied.
"content_scripts": [{
"matches": ["http://*/*", "https://*/*"],
"exclude_matches": ["*://mail.google.com/*"],
"css": ["font.css"]
}]
Even after trying the solution suggested here by changing exclude_matches to exclude_globs, the issue persists.
This problem seems to have been reported before as Bug #100106 on this platform. Does anyone have any suggestions on how to resolve this issue? Are there any alternative methods that can be used to achieve the same goal?