feat: add location picker and persistent cache

This commit is contained in:
Darío Sevilla committed 2026-10-15 07:33:43 +00:00
1 parent fcea6cf7b7
commit 3811ae9cfc
16 files changed
+163 -39

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@
5. The worker caches the result and compares the country with the configured blacklist.
6. The content script hides the post only when the country matches and the account is not followed.
Failed or ambiguous lookups fail open: the post remains visible. The cache is limited to 2,000 entries and pruned to the 1,500 most recently checked entries when the limit is exceeded.
Failed or ambiguous lookups fail open: the post remains visible. Successful lookups remain cached without expiration. The user can clear the entire cache from the settings page if X changes an account's country or following relationship.
## Browser components
+1 -1
View File
@@ -2,6 +2,6 @@
X GeoBlock does not collect analytics, transmit browsing data to third parties, or operate a remote server.
The extension reads public account About pages from `x.com` using the X session already present in your browser. It stores usernames, detected countries, following status, and lookup timestamps in local extension storage. Settings use synchronized extension storage when browser sync is enabled. You can clear the lookup cache at any time from the settings page or remove all extension data by uninstalling the extension.
The extension reads public account About pages from `x.com` using the X session already present in your browser. It stores usernames, detected countries, following status, and lookup timestamps in local extension storage without automatic expiration. Settings use synchronized extension storage when browser sync is enabled. You can clear the lookup cache at any time from the settings page or remove all extension data by uninstalling the extension.
The extension reads post author links in X timelines only to decide whether to display those posts. It does not read or store post text.