Skip to content

Instantly share code, notes, and snippets.

@mikaello
Last active September 21, 2023 07:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikaello/1cfbfb149e51ffbc45998495a972e365 to your computer and use it in GitHub Desktop.
Save mikaello/1cfbfb149e51ffbc45998495a972e365 to your computer and use it in GitHub Desktop.
Enable slick Slack Workspace view in browser, add script in Tampermonkey extension
// ==UserScript==
// @name Enable Slack Workspace Switcher on Desktop
// @namespace slack.com
// @version 1
// @author /u/Karasuni
// @description Enable the otherwise chromebook-only Slack workspace switcher
// @match https://app.slack.com/*
// @match https://app.slack.com/
// @grant none
// @run-at document-start
// ==/UserScript==
(function () {
'use strict';
Object.defineProperty(navigator, 'userAgent', {
value: 'Mozilla/5.0 (X11; CrOS x86_64 10066.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36'
});
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment