Open Slack in Browser, not App

Automatically open links in browser instead of app.

Zainstaluj skrypt?
Skrypt zaproponowany przez autora

Może Ci się również spodobać. Redirect YT video to embedded video

Zainstaluj skrypt

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name         Open Slack in Browser, not App
// @namespace    SlackINBrowser
// @version      3
// @description  Automatically open links in browser instead of app.
// @author       hacker09
// @match        https://*.slack.com/ssb/redirect
// @icon         https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcR-jZviTc8TfzP5qMACAzl_IutS4ajjAL_uhw&usqp=CAU
// @run-at       document-end
// @grant        none
// ==/UserScript==

(function() {
  'use strict';
  window.onload = function() {
    document.querySelector("a.c-link:nth-child(3)").click();
  };
})();