Skip to content
This repository was archived by the owner on Jan 20, 2025. It is now read-only.

Support to Webextensions #3

Open
juninho opened this issue May 14, 2017 · 6 comments
Open

Support to Webextensions #3

juninho opened this issue May 14, 2017 · 6 comments

Comments

@juninho
Copy link

juninho commented May 14, 2017

I'm using Firefox Nightly v.55 and fxdpi is shown as LEGACY.

addons.

@yfdyh000
Copy link

@tiwoc
Copy link
Owner

tiwoc commented May 15, 2017

Thanks for the info; I wasn't aware of that issue. Maybe this can be worked around with the tabs JS API, which at least offers access to the tab's zoom level. This won't scale the browser's chrome, though.

@tiwoc
Copy link
Owner

tiwoc commented Jun 8, 2017

As promised, I took a stab at re-implementing fxdpi as a WebExtension. In the current state of Firefox, this won't fly: I can set the zoom factor for a given tab, but it will be stored as the default zoom factor for the origin of the page. This is not viable because it interferes with the user's manual settings and builds a list of all origins that the user has visited that he can neither view nor clear.

There's an option to change the zoom scope to per-tab so that zooming would be independent of the origin, but it doesn't work yet (WebExtensions: Zoom API's in chrome.tabs don't work correctly). With this, I could switch all tabs to per-tab and set their zoom level. This zoom level, however, would be reset on navigation, which could lead to a lot of flickering.

@tiwoc
Copy link
Owner

tiwoc commented Jun 16, 2017

I filed an API request in Mozilla's bug tracker: https://bugzilla.mozilla.org/show_bug.cgi?id=1373607

Let's see what happens.

@juninho
Copy link
Author

juninho commented Aug 22, 2017

JFYI: A global zoom option is planned for 57, in the (12 years old) bug https://bugzilla.mozilla.org/show_bug.cgi?id=332275

Source: https://www.reddit.com/r/firefox/comments/6v7r2s/a_global_zoom_option_is_planned_for_57/

@tiwoc
Copy link
Owner

tiwoc commented Aug 24, 2017

I voted for it, thanks. This would be a good thing to have.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants