Age/sensitive-media bypass for X.com via initial-state and JSON feature-switch patching (Alt+. toggles the dot indicator; click it for diagnostics)
Dette er versioner af dette script, hvor koden er blevet opdateret. Vis alle versioner.
# AgebypassX v2.4.0## Added* Added **type-preserving feature writes** for boolean, string, and numeric feature-switch values.* Added **verified writes** with read-back validation to confirm patched values actually stick.* Added per-flag diagnostics: * `found` * `changed` * `writeFailed`* Added detailed **gate-hit counters** for: * `__INITIAL_STATE__` * `Object.assign` * `JSON.parse` * `Response.json`* Added **birthdate diagnostics** with `seen`, `changed`, and `failed` counters.* Added type-preserving and verified birthdate patching.* Added heuristic detection of potentially related age/sensitive-media feature keys.* Added recent error tracking for easier debugging.## Improved* Improved status handling so the indicator only recovers after a genuine successful gated patch.* Separated **hook/traversal health** from individual feature-write failures.* Improved recursive traversal error propagation.* Improved handling of frozen, non-writable, throwing, or silently rejecting properties.* Increased the `Response.json()` structural pre-scan depth for safer feature detection.* Improved diagnostics shown when clicking the status indicator.* Improved handling of different X feature-state formats: * Direct values * `{ value: ... }` * `{ feature, enabled }`## Fixed* Fixed transient errors leaving the status indicator permanently red.* Fixed unrelated JSON/response activity incorrectly restoring the indicator to green.* Fixed numeric birthdate coercion which could incorrectly convert a year such as `1990` to `1`.* Fixed missing target flags not appearing as `0` in diagnostics.* Fixed successful-write counters being incremented without verifying the value actually changed.* Fixed possible state loss when AgebypassX loads after `window.__INITIAL_STATE__` has already been populated.* Fixed an edge case where a throwing existing `__INITIAL_STATE__` getter could be replaced with an unusable accessor.* Fixed feature values being written using the wrong type when X stores switches as strings or numbers.## Changed* Renamed the script from the old **Webpack Edition** description to accurately reflect the current architecture.* Removed the unused `@connect none` metadata.* Current releases use application-state and parsed-response interception instead of webpack chunk interception.* `GM_info.script.version` is now used when available while retaining a safe fallback version.## Architecturev2.4.0 continues to use four interception layers:* `window.__INITIAL_STATE__`* `Object.assign`* `JSON.parse`* `Response.prototype.json`No webpack interception, additional fetch interception, polling, or unnecessary anti-detection hooks were added.
🆕 Modern Architecture: Completely rewritten to use webpack chunk interception🎯 Enhanced Detection: Targets SensitiveMediaSettingsQuery and related modules📊 Advanced Status: Detailed statistics, debug API, and enhanced tooltips🔧 Multiple Fallbacks: Network request hooking and GraphQL query interception🎨 Better UI: Animated status indicator with rich hover information🐛 Improved Debugging: Console API and comprehensive error reporting
v1.2 - Critical Fix- Fixed CSP violation preventing script execution- Enhanced visual indicator with better visibility- Added click handler for status checking- Improved error handling and console logging- Script now works properly on X/Twitter
Fixed Autoupdate IDs