How apinanaivot/ikea-3d-model-download-button works
This Tampermonkey userscript adds a localized download control to IKEA product pages, finds the 3D model URL, then fetches and saves the GLB using product details for its filename. The main flow is page setup → button discovery → URL selection or capture → download. It also supports manual button selection and observes dynamically loaded page content. The map is based on the README and the single indexed source file; these components therefore share that implementation path.
Main entry points: ikea-3d-model-downloader.user.js URL selection
Components 14
Page UI
- Page setup
ikea-3d-model-downloader.user.js - Button discovery
ikea-3d-model-downloader.user.js - Localized button
ikea-3d-model-downloader.user.js - Manual recovery
ikea-3d-model-downloader.user.js
Model Access
- URL capture
ikea-3d-model-downloader.user.js - Viewer scan
ikea-3d-model-downloader.user.js - URL selection
ikea-3d-model-downloader.user.js
Download
- GLB fetch
ikea-3d-model-downloader.user.js - Filename builder
ikea-3d-model-downloader.user.js - Browser save
ikea-3d-model-downloader.user.js
Other components
- Shopper
- IKEA product page
- Model host
- Browser
Connections 19
- Shopper → IKEA product page: opens
README.md - IKEA product page → Page setup: runs script
ikea-3d-model-downloader.user.js - Page setup → Button discovery: starts discovery
ikea-3d-model-downloader.user.js - Page setup → URL capture: installs observers
ikea-3d-model-downloader.user.js - Button discovery → Localized button: creates button
ikea-3d-model-downloader.user.js - IKEA product page → Viewer scan: exposes viewer
ikea-3d-model-downloader.user.js - Shopper → Localized button: clicks
README.md - Shopper → Manual recovery: requests recovery
ikea-3d-model-downloader.user.js - Manual recovery → Localized button: sets up button
ikea-3d-model-downloader.user.js - Localized button → URL selection: requests download
ikea-3d-model-downloader.user.js - URL selection → URL capture: checks captured URLs
ikea-3d-model-downloader.user.js - URL selection → Viewer scan: checks viewers
ikea-3d-model-downloader.user.js - URL selection → GLB fetch: fetches selected URL
ikea-3d-model-downloader.user.js - URL selection → Browser save: triggers model view
ikea-3d-model-downloader.user.js - GLB fetch → Model host: requests model
ikea-3d-model-downloader.user.js - GLB fetch → Filename builder: passes blob
ikea-3d-model-downloader.user.js - IKEA product page → Filename builder: provides title
ikea-3d-model-downloader.user.js - Filename builder → Browser save: sets download name
ikea-3d-model-downloader.user.js - Browser save → Browser: downloads file
ikea-3d-model-downloader.user.js