Skip to content

Instantly share code, notes, and snippets.

@ly4096x
ly4096x / teamsautohang.js
Created November 14, 2021 07:23
Teams meeting auto hangup
// ==UserScript==
// @name New Userscript
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://teams.microsoft.com/*
// @icon https://www.google.com/s2/favicons?domain=teams.microsoft.com
// @grant none
// ==/UserScript==
# if updating, use line 28-32 only
cat << EOF > req.in
[ req ]
default_bits = 4096
distinguished_name = req_distinguished_name
prompt = no
string_mask = utf8only
x509_extensions = myexts