HAUS DOWNLOAD FOR X — v1.1

WHY v1.0 FAILED
v1.0 used the browser's recent video.twimg.com network requests as a fallback.
Modern X playback can make many requests for fragments/segments. A segment may
still end in .mp4 even though it is not a complete standalone movie, which is why
some downloads were tiny and QuickTime could not play them.

WHAT v1.1 CHANGES
• Removes the guessed-network-segment fallback completely.
• Hooks X's own API responses in the page context.
• Reads video_info.variants from X's tweet/media data.
• Chooses the highest-bitrate variant whose content type is video/mp4.
• Associates that MP4 with the actual tweet ID.
• Refuses to download HLS playlists or partial media segments.
• Button still appears directly over videos.
• Downloads still go to Downloads / Haus Download.

INSTALL
1. Remove/disable Haus Download v1.0.
2. Unzip v1.1.
3. Open chrome://extensions
4. Turn Developer mode on.
5. Click Load unpacked.
6. Select haus-download-for-x-v1.1
7. FULLY reload x.com.

TESTING
For the first test, open a tweet's dedicated page and let the video appear.
Click ✦ save.

If the tweet data was loaded before the extension hook could observe it, reload
that tweet once. After installation, the hook runs at document_start.

Only download/reuse media you have the right or permission to use.


V1.2 — PHOTO SUPPORT
• Adds ✦ SAVE directly over X/Twitter post photos.
• Works with single-photo and multi-photo posts.
• Each photo in a multi-photo post gets its own save button.
• Ignores avatars, icons, emojis, and small UI images.
• Requests the original-size pbs.twimg.com image where X exposes one.
• Keeps the working v1.1 full-MP4 video logic unchanged.
