Size Comparator versionshistorik - 4 versioner
Size Comparator av mkrussell411
Size Comparator versionshistorik - 4 versioner
Var försiktig med äldre versioner! Dessa versioner visas för test och referensändamål.Du bör alltid använda den senaste versionen av ett tillägg.
Senaste version
Version 1.0.6
Släppt 1 jul 2026 - 31,87 kBFungerar med firefox 140.0 och senare, android 142.0 och senareFixed the comparison panel failing to appear on SillyTavern and similar touch-optimized pages. The root cause was a CSS layout conflict: SillyTavern applies -webkit-transform: translateZ(0) to the element and position: fixed to , which collapses the html element's height to zero and makes it the containing block for fixed-position descendants. The panel's inset: 0 was resolving against that zero-height container, producing a panel that existed in the DOM but had no height — invisible but technically "alive." Switching to explicit width: 100vw; height: 100dvh bypasses the containing block entirely and always fills the real viewport.
Also hardened the panel's close behavior against ghost clicks on touch-optimized pages. When touch-action: none is set on the page body (as SillyTavern does), the browser fires synthetic pointer and click events nearly synchronously after touchend, which could land on the backdrop or close button the instant the panel appeared and dismiss it immediately. Both close targets now use touchend + preventDefault() as the primary close trigger on real touch, cancelling the follow-up synthetic click, with click listeners added on a 300ms delay so any ghost clicks from the opening tap are ignored before the listeners exist.Källkod släppt under MIT-licens
Äldre versioner
Version 1.0.4
Släppt 30 jun 2026 - 30,66 kBFungerar med firefox 140.0 och senare, android 142.0 och senareFixed an issue on Firefox for Android where tapping a measurement button would open a browser tab that immediately closed. The extension now detects Android directly in the content script using the user agent and shows the in-page comparison panel without routing through the background service worker, eliminating the broken tab-creation code path entirely.
Also fixed a second bug where the in-page bottom-sheet panel would vanish instantly after appearing on mobile. A visibility change listener was closing the panel whenever the document became hidden — a condition that brief browser UI animations (address bar toggling, navigation chrome) can trigger on Android. The panel now only closes when the user explicitly taps the close button or the backdrop.Källkod släppt under MIT-licens
Version 1.0.3
Släppt 8 maj 2026 - 30,8 kBFungerar med firefox 140.0 och senare, android 142.0 och senareVersion 1.0.3
Major Features
🔢 Word Number Recognition- The extension now recognizes measurements written in word form (e.g., "five centimeters", "twenty feet", "one
hundred meters") - Supports numbers from zero to ninety, plus hundred and thousand
- Handles hyphenated and spaced combinations like "twenty-five" and "one hundred fifty"
- Works alongside existing numeric detection (e.g., "5 cm")
📋 Improved Popup Tab Experience- Tab Reuse: The popup now opens once and reuses the same tab for all subsequent comparisons instead of opening new
tabs each time - Smart Updates: When you click a new measurement, the existing popup tab automatically updates with the new
comparison data - Better UX: Popup tab automatically closes when you switch to a different browser tab
📊 Massive Comparison Database Expansion- Added 550+ new reference objects (doubled the database from ~50 to 600+)
- 250 new everyday-to-large-scale comparisons:
- Food items (apples, pizza, donuts, soda cans)
- Animals (cats, dolphins, giraffes, whales)
- Sports equipment (bats, skateboards, bowling balls)
- Vehicles (motorcycles, ships, helicopters)
- Technology (USB ports, laptop screens, drones)
- Architecture (windows, doors, lampposts, bridges)
- Nature (leaves, trees, waves, volcanoes)
- Music instruments (violin, saxophone, drums)
- Astronomy (planets, nearby stars)
- Clothing & Accessories (buttons, rings, necklaces)
- 300+ mega-scale comparisons (new):
- Geographic features (continental widths, ocean sizes, mountain ranges)
- Countries and regions (Russia, USA, Australia, Brazil)
- Major cities (Tokyo, Los Angeles, London metro areas)
- Solar System measurements (planetary orbits, AU distances)
- Stellar distances (light years, parsecs)
- Cosmic structures (galaxies, nebulae, galaxy clusters)
- Black holes and extreme objects
- Observable universe diameter
- Subatomic particles and wavelengths
- Historical landmarks (pyramids, Colosseum, modern skyscrapers)
- Geological features (Mid-Ocean Ridge, San Andreas Fault)
Technical Improvements- Added hashchange event listener to popup for instant updates without page reloads
- Improved background script to track and manage popup tabs intelligently
- Enhanced text node processing to detect word-form numbers in addition to digits
- Better tab lifecycle management (cleanup when tabs are closed)
- Window focus handling for better user experience
User Experience- Cleaner workflow: one comparison tab, infinite measurements
- Auto-closing popup when switching browser tabs keeps your workspace tidy
- More relevant comparisons across vastly different scales
- Better coverage from microscopic (hair width) to cosmic (universe diameter)
Källkod släppt under MIT-licens
- The extension now recognizes measurements written in word form (e.g., "five centimeters", "twenty feet", "one
Version 1.0.2
Släppt 2 maj 2026 - 21,86 kBFungerar med firefox 140.0 och senare, android 142.0 och senareKällkod släppt under MIT-licens