Open Slack in Browser, not App

Automatically open links in browser instead of app.

目前为 2021-11-18 提交的版本。查看 最新版本

  1. // ==UserScript==
  2. // @name Open Slack in Browser, not App
  3. // @namespace SlackINBrowser
  4. // @version 0.1
  5. // @description Automatically open links in browser instead of app.
  6. // @author hacker09
  7. // @match https://*.slack.com/archives/*
  8. // @match https://*.slack.com/app_redirect?channel=*
  9. // @icon https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcR-jZviTc8TfzP5qMACAzl_IutS4ajjAL_uhw&usqp=CAU
  10. // @run-at document-end
  11. // @grant none
  12. // ==/UserScript==
  13.  
  14. (function() {
  15. 'use strict';
  16. window.onload = function() {
  17. document.querySelector("button.c-button-unstyled.p-download_modal__not_now").click();
  18. }
  19. })();