Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/emvaized/text-reflow-on-zoom-mobile

Userscript and browser extension which reflows all text after a pinch gesture on phone
https://github.com/emvaized/text-reflow-on-zoom-mobile

extension extension-chrome extension-firefox firefox-addon firefox-android mobile opera reflow text text-reflow userscript

Last synced: 12 days ago
JSON representation

Userscript and browser extension which reflows all text after a pinch gesture on phone

Awesome Lists containing this project

README

        

# Text reflow on zoom (mobile)

[![Greasy Fork Downloads](https://img.shields.io/greasyfork/dt/514789?label=Greasyfork+installs&logo=greasyfork)](https://greasyfork.org/scripts/514789-text-reflow-on-zoom-by-pinch-gesture-mobile)
[![Mozilla Add-on](https://img.shields.io/amo/users/text-reflow-on-zoom-mobile?color=%23FF6611&label=Firefox+users&logo=Firefox)](https://addons.mozilla.org/firefox/addon/text-reflow-on-zoom-mobile/)
[![Mozilla Add-on Stars](https://img.shields.io/amo/stars/text-reflow-on-zoom-mobile)](https://addons.mozilla.org/firefox/addon/text-reflow-on-zoom-mobile/)
[![GitHub Release](https://img.shields.io/github/v/release/emvaized/text-reflow-on-zoom-mobile?&label=latest+release)](https://github.com/emvaized/text-reflow-on-zoom-mobile/releases)

This tool tries to fit all text on page to the screen width after pinch gesture on phone.
It was created to replicate text reflow feature from Opera Mobile, but in any browser.

It is available as [Userscript](https://raw.githubusercontent.com/emvaized/text-reflow-on-zoom-mobile/refs/heads/main/src/text_reflow_on_zoom.js), and as a browser extension ([Firefox addon](https://addons.mozilla.org/firefox/addon/text-reflow-on-zoom-mobile/), but you can install it manually in any browser after downloading the latest [release](https://github.com/emvaized/text-reflow-on-zoom-mobile/releases)).

#### Demo

## Support ❤️
If you enjoy this project, please consider supporting further development by making a small donation using one of the services below 🙏

Support on Ko-fi   Donate using Liberapay   Donate Bitcoin

## Possible issues

This addon is relatively new and experimental, so some problems might occur. Please feel free to share your thoughts, ideas and suggestions by creating an [issue ticket](https://github.com/emvaized/text-reflow-on-zoom-mobile/issues/new)!

- Some reflowed text elements might be horizontally misaligned, if they are positioned inside a parent element with tricky alignment rules

- The script attempts to guess text element which you were zooming into, and scrolls it into view after reflow. But it doesn't work reliably all the time

- Some elements with text might not reflowed, for example `div` elements, or `span` elements with inline display styling

## Privacy 🛡️
This tool doesn't collect any private data. It is fully open source, and you can see the code on Github. It requires access to all urls in order to function properly.

## Contributing

If you have any ideas on how it can be improved, please let me know using a [feedback](https://greasyfork.org/en/scripts/514789-text-reflow-on-zoom-by-pinch-gesture-mobile/feedback) form on Greasyfork, or by opening a [new issue ticket](https://github.com/emvaized/text-reflow-on-zoom-mobile/issues/new) or pull request here on Github.