Microsoft Store Lightbox Gallery

A minimalist lightbox gallery for Google Play Store with multi-image panorama viewing, dynamic resolution, gap controls, and saved settings.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Autor
Mochamad Adi
Dnevne instalacije
0
Ukupnih instalacija
1
Ocjene
0 0 0
Verzija
4.1
Stvoreno
10.08.2026.
Ažurirano
10.08.2026.
Size
25,3 KB
Licenza
MIT
Primjenjuje se

Microsoft Store Lightbox Gallery

A powerful, feature-rich Tampermonkey userscript that completely upgrades the default screenshot viewer on the Microsoft Store web version. Designed to bypass the store's restrictive native UI, this script provides a modern, full-screen, and highly customizable lightbox gallery experience.

✨ Key Features

  • Shadow DOM Piercing: Engineered with advanced event interception to seamlessly bypass Microsoft Store's native web components (<screenshot-viewer>), ensuring a flawless and conflict-free overlay experience.
  • Multi-Image Panorama View: Perfect for panorama screenshots! You can choose to display 1, 2, or 3 images side-by-side simultaneously in a unified view.
  • Dynamic Resolution Control: Force the Microsoft Store CDN to serve the image quality you need. Switch between High Res (1080p), Med Res (720p), or Low Res (original thumbnail) to balance clarity and performance.
  • Adjustable Image Gaps: Choose between a "Default Gap" for standard viewing or "No Gap" to stitch continuous panorama screenshots perfectly together.
  • Smart Memory (Persistent Settings): Your layout, resolution, and gap preferences are automatically saved in your browser's local storage and applied instantly every time you open a gallery.
  • Technical Image Metadata: Instantly see the exact image dimensions (Width x Height), file format (WEBP, PNG, JPG), and calculated file size (KB/MB) fetched dynamically in the background.
  • Elegant UI & Modals: A clean, non-intrusive top bar with drop-down menus neatly organized inside a Settings modal.

⌨️ Keyboard Shortcuts

Navigate through the gallery effortlessly using these quick shortcuts:

  • (Right Arrow) : Next Image
  • (Left Arrow) : Previous Image
  • F : Toggle Fullscreen mode
  • H : Hide/Show the User Interface (Top bar and Thumbnails)
  • ESC : Close modals or exit the gallery

🖱️ Mouse Controls

  • Zoom In/Out: Scroll your mouse wheel up or down over the image.
  • Pan & Drag: Click and drag the image to look around when zoomed in (works seamlessly even with multiple images displayed).
  • Click to Zoom: Single click on the image to instantly zoom in (2.5x scale), click again to reset.

🚀 How to Use

  1. Install a userscript manager extension like Tampermonkey or Violentmonkey in your web browser.
  2. Install this script.
  3. Open any app or game page on the Microsoft Store.
  4. Click on any screenshot in the gallery carousel.
  5. Enjoy the upgraded lightbox viewer! Click the Settings (gear icon) on the top right to customize your viewing layout.

🛠️ Compatibility

Tested and optimized for modern web browsers (Chrome, Edge, Firefox, Brave). This script utilizes event.composedPath() and MutationObserver to ensure it works reliably even as the Microsoft Store dynamically loads its content.