From 3722bdecb0e8876936681c1775e52ecee8d7cc59 Mon Sep 17 00:00:00 2001
From: Federico Brigante
You can customize the keyboard shortcuts by clicking the gear icon in the upper-right corner and selecting "Manage Extension Shortcuts".
+You can customize the keyboard shortcuts by visiting Chrome’s extensions shortcuts page. Copy-paste this URL: chrome://extensions/shortcuts
You can find information on how GhostText works and how to troubleshoot any issues on its repo.
If you find this useful, consider supporting its development by donating or sponsoring me on GitHub.
Made with 🍕 by fregante.
diff --git a/source/options.js b/source/options.js index 36d1e12..8412db4 100644 --- a/source/options.js +++ b/source/options.js @@ -1,3 +1,9 @@ import optionsStorage from './options-storage.js'; optionsStorage.syncForm(document.querySelector('form')); + +if (location.protocol.startsWith('moz-')) { + document.documentElement.classList.add('firefox'); +} else if (location.protocol.startsWith('chrome-')) { + document.documentElement.classList.add('chrome'); +}