Closed loveshdongre closed 8 months ago
hi @natzelo Removed some unused manifest properties, however earlier icon was active on leetcode.com and disabled on other websites is not functioning yet. Would you be able to check it.
Thanks working on this issue!
Sure! @loveshdongre
Hi @loveshdongre , I looked into the issue and it seems to a bug in the manifest v3 itself. The stack overflow solutions seem to suggest programmatically disabling the extension on non-host websites.
https://stackoverflow.com/a/67437555 https://stackoverflow.com/a/69599087
Although they work, they however all seem to be very hacky workarounds which are not robust. How would you suggest going about this issue?
@natzelo Firstly, really appreciate for putting in the hours to find the root cause of the issue 🙏
I'm more inclined towards this solution: https://stackoverflow.com/questions/69598656/prevent-popup-if-current-tab-url-is-not-permitted-in-manifest-v3/69599087#69599087 It appears more API-oriented solution and less hacky.
Thanks for the work!
Removed few unused properties of manifest. However, earlier leetcode icon was activate on only leetcode.com and was disabled on other website is not working yet