4 ms·
Tell HN: You Can Revert Your Slack UI
Firefox addon is awaiting approval. However in the meantime, open up console and type this in - then hit refresh:
localStorage.setItem("localConfig_v2", localStorage.getItem("localConfig_v2").replace(/\"is_unified_user_client_enabled\":true/g, '\"is_unified_user_client_enabled\":false'))
Addon will be available here: https://addons.mozilla.org/en-US/firefox/addon/slackrevert/
If you're on Chrome: sorry. I'm not paying the developer fee.
- Raed667 3y agoI guess this will work until they remove the feature flag. If you have a chrome build I can publish it for you. My email is in my profile.
- gabrielsroka 3y agolocalStorage.setItem('localConfig_v2', localStorage.getItem('localConfig_v2').replace(/"is_unified_user_client_enabled":true/g, '"is_unified_user_client_enabled":false')) For folks who might be wondering, the fee to publish in the Chrome store is $5 one time. Safari I believe is $100 a year. Firefox is free.
- IdiranVibe 3y agoAny way to do this in the desktop app?
- darksoulranger 3y agoFor mac you can get dev tools by either launching slack with export SLACK_DEVELOPER_MENU=true; open -a /Applications/Slack.app to make this persistent you can use. launchctl setenv SLACK_DEVELOPER_MENU true and then right click and inspect element and add the scripts
- tra3 3y agoIs there anyway to automate slack without going the api route (since it requires workspace admin approval)? I want to start by having a global shortcut in macOS that sets me away and disables notifications. I don’t want to click anywhere.
- wlonkly 3y agoI haven't tried it myself, but you can use AppleScript and System Events to foreground an app and send it keystrokes, find UI elements, and click things. It might be a little bit tricky because of the Electron part, but I think that will amount to inconvenience rather than blocking you outright.
- Pro4TLZZ 3y agojavascript:(async function () { localStorage.setItem("localConfig_v2", localStorage.getItem("localConfig_v2").replace(/\"is_unified_user_client_enabled\":true/g, '\"is_unified_user_client_enabled\":false')); location.refresh(); }) (); Copy this to a bookmark and then press it whilst you're on Slack web
- Pro4TLZZ 3y agochange .refresh to .reload
- rmjacque 3y agofor ubuntu(VM installed w/SNAP): export SLACK_DEVELOPER_MENU=true; /snap/bin/slack snap update snap upgrade right-click an element and inspect, switch to dev console: localStorage.setItem("localConfig_v2", localStorage.getItem("localConfig_v2").replace(/\"is_unified_user_client_enabled\":true/g, '\"is_unified_user_client_enabled\":false')) restart slack