Skip to content

Instantly share code, notes, and snippets.

@furious
Last active May 17, 2021 19:22
Show Gist options
  • Save furious/4d1fb80ec0e6e4280a396bb8fd3f4ddb to your computer and use it in GitHub Desktop.
Save furious/4d1fb80ec0e6e4280a396bb8fd3f4ddb to your computer and use it in GitHub Desktop.
WhatsApp - Enables Audio Speed Feature
// ==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;
});
})();
@furious
Copy link
Author

furious commented May 17, 2021

What this userscript does?

Enables the upcoming Audio Speed feature for WhatsApp

How to use this userscript?

  1. Download an userscript extension for your browser (I recommend the Tampermonkey)
  2. Install clicking here, this will bring up the userscript installation page, confirm the installation.
  3. Access the WhatsApp Web
  4. Enjoy =)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment