X/Twitter Country Flags & Blocker versjonshistorikk - 2 versjonar
X/Twitter Country Flags & Blocker av incconu_two
X/Twitter Country Flags & Blocker versjonshistorikk - 2 versjonar
Ver forsiktig med eldre versjonar! Desse versjonane er vist som referanse og testformål.Du bør alltid bruke den siste versjonen av eit tillegg.
Siste versjon
Versjon 1.1.0
Sleppt 16. des. 2025 - 55,2 KBFungerar med firefox 109.0 og nyareChangelog V1.1.0
All notable changes to the X/Twitter Country Flags & Blocker extension update V1.1.0.
🚀 New Features
Searchable Country List: Added a search bar inside the popup dropdown to easily find countries when adding them to the blocklist.
In-App Feedback System: Added a feedback form directly in the popup to report bugs or suggest features without leaving the extension.
Update Notifier: The extension now checks GitHub for newer versions and displays a banner or modal if an update is available (useful for manual installs).
Developer Mode: Added a hidden debug panel (activates by clicking the "Location Flag & Blocker" header 5 times) to test updates and clear cache.
⚡ Improvements & Performance
Batch API Submissions: Implemented a writeBuffer system in the content script. Instead of sending data to the cloud API one by one, requests are now batched (every 30 seconds or 50 items), significantly reducing network traffic.
Dynamic GraphQL Detection: The pageScript now "sniffs" the URL to dynamically detect the correct Twitter/X GraphQL Query ID. This makes the extension much more resilient to X.com silent updates.
Header Fallback Mechanism: Added a fallback method to manually construct authentication headers from cookies (ct0 token) if request interception fails.
CSS Injection: Styles for flags (#tf-style) are now injected immediately into the document head to prevent layout shifts.
🛠 Fixes & Stability
Context Invalidation Handling: Added checks (isContextInvalid) throughout the codebase to prevent error logs and crashes when the extension is updated or reloaded while tabs remain open.
Stale Cache Logic: Introduced a CACHE_STALE_DAYS (90 days) setting to keep data longer while prioritizing fresh fetches.
Queue Management: Improved the logic for the Cloud vs. Twitter API processing queues to prevent race conditions.
⚙️ Technical
Manifest V3 Updates: Added a background service worker (background.js) to handle initialization tasks.
Permissions: Updated host_permissions to include the cloud worker API and GitHub raw content (for update checks).
Browser Specific: Updated Gecko/Firefox specific settings and ID.Kjeldekode sleppt under MIT-lisens
Eldre versjonar
Versjon 1.0.0
Sleppt 25. nov. 2025 - 52,69 KBFungerar med firefox 109.0 og nyareKjeldekode sleppt under MIT-lisens