You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is understandable because the websites Glarity supports are extensible, and matching sites in the manifest is too much hassle.
But you should enhance the code to change irrelevant pages as little as possible. I believe this error is caused by not checking whether the site is in the supported site list and assuming something should be there to proceed.
Also, I think you should avoid injecting css this way. It's uncontrollable, you should let the content-script.js inject the css after checking it is a supported site.
The text was updated successfully, but these errors were encountered:
Describe the bug
Glarity is causing javascript error on every other website that is not in the supported site list, including but not limited to:
Desktop (please complete the following information):
You are injecting content script on every website
This is understandable because the websites Glarity supports are extensible, and matching sites in the manifest is too much hassle.
But you should enhance the code to change irrelevant pages as little as possible. I believe this error is caused by not checking whether the site is in the supported site list and assuming something should be there to proceed.
Also, I think you should avoid injecting css this way. It's uncontrollable, you should let the content-script.js inject the css after checking it is a supported site.
The text was updated successfully, but these errors were encountered: