From bb2097042864be47ba8a51eb6c6c22b9766d7a94 Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Wed, 25 Oct 2023 09:35:22 -0400 Subject: obs updates --- README.org | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) (limited to 'README.org') diff --git a/README.org b/README.org index c7c0757..ee11f65 100644 --- a/README.org +++ b/README.org @@ -283,7 +283,7 @@ For each track: 1. Install the Tampermonkey extension by going to https://addons.mozilla.org/en-US/firefox/addon/tampermonkey/ . -2. Install the script by clicking on the Tampermonkey extension, choosing *Install New Script*, and pasting in the following: +2. Install the BBB script by clicking on the Tampermonkey extension, choosing *Install New Script*, and pasting in the following: #+begin_src js :eval no // ==UserScript== @@ -331,7 +331,32 @@ For each track: Press =Ctrl+s= to save. - Join an BBB meeting and switch out of full-screen with F11. Check the address bar to see if autoplay is disabled (crossed-out autoplay icon). If it is, click on it and change *Block audio* to *Allow audio and video*. +3. Add this script for IRC: + + #+begin_src js :eval no +// ==UserScript== +// @name Connect to EmacsConf chat automatically +// @namespace https://emacsconf.org/ +// @version 0.1 +// @description try to take over the world! +// @author You +// @match https://chat.emacsconf.org/* +// @icon https://www.google.com/s2/favicons?sz=64&domain=emacsconf.org +// @grant none +// ==/UserScript== + +(function() { + 'use strict'; + setTimeout(() => { + if (document.querySelector('.connect-row')) { + document.querySelector('.connect-row').closest('form').querySelector('button').click(); + } + }, 1000); +})(); + #+end_src + + +4. Join an BBB meeting and switch out of full-screen with F11. Check the address bar to see if autoplay is disabled (crossed-out autoplay icon). If it is, click on it and change *Block audio* to *Allow audio and video*. -- cgit v1.2.3