mirror of
https://github.com/Dasemu/X-GeoBlock.git
synced 2026-11-26 23:36:11 +00:00
feat: redesign controls and configure cloud cache
This commit is contained in:
1 parent
070e07845c
commit
e12164c312
15 files changed
+178
-78
No files matched your search
@@ -7,7 +7,7 @@
|
||||
3. On a cache miss, the extension first parses `https://x.com/<user>/about`, then asks the current X page to run the authenticated `AboutAccountQuery` and reads `about_profile.account_based_in`.
|
||||
4. If both direct methods fail, an invisible same-origin frame renders the `/about` URL. A static network rule removes CSP and `X-Frame-Options` only from matching `/about` subframe responses. The content script reads the location row and immediately destroys the frame. This does not create a browser tab or window.
|
||||
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.
|
||||
6. The content script hides the post when the country matches. Followed accounts are exempt by default; the user can disable that exemption.
|
||||
|
||||
Failed or ambiguous lookups fail open: the post remains visible. Empty results are never cached. Successful local and cloud lookups expire after 30 days. The user can clear the entire cache from the settings page at any time.
|
||||
|
||||
|
||||
Reference in new issue
Block a user