mirror of
https://github.com/GoogleChrome/chrome-extensions-samples.git
synced 2026-03-27 13:29:34 +07:00
We were using the wrong key when importing settings from a file. Additionally, added a reload to fix an issue where the UI was not updated when new settings were imported. Fixes #1519
chrome.fontSettings
Demonstrates the chrome.fontSettings API by allowing users to modify the styling displayed fonts on webpages.
Overview
Creates a user interface in the extension's options page that allows users to see and modify font settings using chrome.fontSettings to change parameters.
Running this extension
- Clone this repository.
- Load this directory in Chrome as an unpacked extension.
- Pin th extension to the taskbar and click the action button.
- Visit the extension's options page and make changes to the font settings.