Midori Addict (@Midori_Addict) header
Midori Addict (@Midori_Addict) profile picture

Alt Acc.

Joined November 2026
Photo by Midori Addict (@Midori_Addict)
Replying to @Ksea___
here ya go This filter removes X/Twitter's age verification prompt by replacing the AgeVerificationPrompt text in XHR responses. Add it to My filters: x.com##+js(set, __INITIAL_STATE__.featureSwitch.defaultConfig.rweb_age_assurance_flow_enabled.value, false) x.com##+js(set, __INITIAL_STATE__.featureSwitch.user.config.rweb_age_assurance_flow_enabled.value, false) Use the filters below only if the filters above do not work: x.com##+js(trusted-replace-xhr-response, /AgeVerificationPrompt/g, , url:/UserOriginalsTimeline|UserRepliesTimeline|UserRepostsTimeline|UserVideoTimeline|UserPhotoTimeline|UserHighlightsTweets|TweetDetail|TweetResultByRestId|UserTweets|HomeTimeline|HomeLatestTimeline|SearchTimeline|UserMedia|Bookmarks|Likes/) EDIT: I noticed that the filter above doesn't work in the user feed. It's been a while since I checked uBO's syntax, so I'm not sure why, but this approach might work better: !#if !cap_html_filtering x.com##+js(trusted-replace-xhr-response, /AgeVerificationPrompt/g, , url:/UserOriginalsTimeline|UserRepliesTimeline|UserRepostsTimeline|UserVideoTimeline|UserPhotoTimeline|UserHighlightsTweets|TweetDetail|TweetResultByRestId|UserTweets|HomeTimeline|HomeLatestTimeline|SearchTimeline|UserMedia|Bookmarks|Likes/) !#else /UserOriginalsTimeline|UserRepliesTimeline|UserRepostsTimeline|UserVideoTimeline|UserPhotoTimeline|UserHighlightsTweets|TweetDetail|TweetResultByRestId|UserTweets|HomeTimeline|HomeLatestTimeline|SearchTimeline|UserMedia|Bookmarks|Likes/$xhr,1p,domain=x.com,replace=/AgeVerificationPrompt//g !#endif EDIT2: I take a look in uBO doc and I updated the scriptlet to use a regex in the first parameter, replacing AgeVerificationPrompt with /AgeVerificationPrompt/g and added method:GET. The scriptlet filter should now work without problems. EDIT3: Added HomeTimeline|HomeLatestTimeline|SearchTimeline and removed method:GET to apply filtering to the Home, Following, and Search feeds. Additionally, the network filter was updated by replacing the hostname with a regex and including domain=x.com. EDIT4: Added UserMedia to remove prompt/block in media tab in user profile. EDIT5: Added Bookmarks to remove prompt/block in bookmarks page. EDIT6: Added Likes to liked posts tab. EDIT7: Twitter changed the endpoint for some tabs, but it seems to be progressive. So, I kept the old endpoints and added: UserOriginalsTimeline|UserRepliesTimeline|UserRepostsTimeline|UserVideoTimeline. EDIT8: Added UserPhotoTimeline|UserHighlightsTweets. EDIT9: Added filters using set-constant, based on the filter created by paintboth1234 comment EDIT10: Replaced rweb_mvr_blurred_media_interstitial_enabled with rweb_age_assurance_flow_enabled Tested on x.com. It removes the age verification prompt when viewing tweets marked as adult content. NOTE: Since this relies on the current response structure and endpoint names, it may stop working if X changes either in the future.
16
41
5
1,058
135,262
☆
242
1,555
8,862