This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set soundMenu to "" | |
set airPodsToggle to "" | |
set ancToggle to "" | |
set transparencyToggle to "" | |
tell application "System Events" | |
tell its application process "ControlCenter" | |
set menuBarItems to menu bar items of menu bar 1 | |
repeat with mbi in menuBarItems | |
if name of mbi contains "Sound" then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Browser extension | |
// - Firefox: https://addons.mozilla.org/pl/firefox/addon/shark-javascript-injector/ | |
// - Other browsers (source code): https://github.com/rossinek/javascript-injector-webextension | |
// Options: | |
// - hosts: https://github.com/notifications* | |
// - uses shortcuts | |
const isVisible = (elem) => { | |
if (!elem) return true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Browser extension | |
// - Firefox: https://addons.mozilla.org/pl/firefox/addon/shark-javascript-injector/ | |
// - Other browsers (source code): https://github.com/rossinek/javascript-injector-webextension | |
// Options: | |
// - hosts: https://*.harvestapp.com/time* | |
// - uses shortcuts | |
const isVisible = (elem) => { | |
if (!elem) return true; |