Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Tell HN: You Can Revert Your Slack UI
17 points by apimade on Sept 14, 2023 | hide | past | favorite | 11 comments
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.



For 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


THANK YOU! This is amazing.


Thank you


  localStorage.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.


for 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


javascript:(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


change .refresh to .reload


Is 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.


I 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.


I 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.


Any way to do this in the desktop app?




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: