Last active
September 21, 2023 07:33
-
-
Save mikaello/1cfbfb149e51ffbc45998495a972e365 to your computer and use it in GitHub Desktop.
Enable slick Slack Workspace view in browser, add script in Tampermonkey extension
This file contains hidden or 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
// ==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