Last active
May 17, 2021 19:22
-
-
Save furious/4d1fb80ec0e6e4280a396bb8fd3f4ddb to your computer and use it in GitHub Desktop.
WhatsApp - Enables Audio Speed Feature
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 WhatsApp - Enables Audio Speed Feature | |
// @namespace whatsappaudiospeed | |
// @version 2.0 | |
// @description Enables the upcoming Audio Speed feature | |
// @author FURiOUS | |
// @match https://web.whatsapp.com/ | |
// @icon https://www.google.com/s2/favicons?domain=whatsapp.com | |
// @require https://raw.githubusercontent.com/pedroslopez/moduleRaid/master/moduleraid.js | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
var ServerProps = window.mR.findModule('ServerProps')[0].default; | |
ServerProps.set('pttPlaybackSpeedEnabled', true); | |
ServerProps.on('change:pttPlaybackSpeedEnabled', () => { | |
ServerProps.__x_pttPlaybackSpeedEnabled = true; | |
}); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What this userscript does?
Enables the upcoming Audio Speed feature for WhatsApp
How to use this userscript?