Quentin Santos

Results 46 comments of Quentin Santos

I have been able to reproduce with the provided URL, but not locally. It might be due to some dynamic content: On first page load: ![Capture d’écran_2023-04-19_08-50-48](https://user-images.githubusercontent.com/8493765/232990835-12cafd5a-4e47-4590-881a-3598bc63ef52.png) When refreshing: ![Capture...

It's probably a race condition between content-loading and execution of EverythingMetric. When refreshing, I sometimes get the translation to metric, sometimes not.

The first example is addressed by https://github.com/m1l/Everything-Metric-Firefox/pull/37.

The first case by @andreadistefano was fixed by #34! Only the second one reported by @JoanCharmant left!

Related: https://randomascii.wordpress.com/2023/10/17/localization-failure-temperature-is-hard/

Related: - `1'` → `1'` - `1x1'` → `【0,3 × 0,3 m】` - `1x1x1x1'` → `【NaN × NaN m】` - `1x1x1x1x1'` → `1x【NaN × NaN m】` - `1x1x1x1x1x1'` → `1x1x【NaN...

`location.replace` does what is needed, but only in Chrome. In Firefox, new entries are still added

This is impossible to do on Firefox

The obvious solution is just to not update the hash on Firefox