-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
I am frustrated because the extension currently does not support the Chinese version of LeetCode (leetcode.cn). While it works perfectly on the global site (leetcode.com), many users in the Chinese community primarily use the .cn domain for local features and faster access. Currently, the extension does not recognize the page or activate its features when navigating to leetcode.cn.
Describe the solution you'd like I would like the extension to support leetcode.cn as a valid domain. Specifically:
Update the extension manifest to include permissions for ://.leetcode.cn/*.
Ensure that the content scripts and logic triggered on leetcode.com are also executed on leetcode.cn.
Add leetcode.cn to the options/permissions toggle list in the extension settings.
Describe alternatives you've considered I have tried manually enabling permissions through the browser's extension management page, but since the extension's internal logic is often hardcoded to check for .com URLs, the features still do not appear correctly on the Chinese site.
Additional context The UI of leetcode.cn is almost identical to the global version, so the existing selectors and logic should require minimal adjustment to work on the Chinese domain.