WAFeatureEnabler
WAFeatureEnabler copied to clipboard
Script that enables all AB features in WhatsApp Web.
WAFeatureEnabler
Script that enables all AB features in WhatsApp Web.
Usage
- Open WhatsApp Web in your browser.
- Press F12 to open the developer tools.
- Go to the console tab.
- Paste the script.
const features = {};
const getABPropConfigValue = require('WAWebABProps').getABPropConfigValue;
console.log("FeatureName\t\t\t\tOriginal Value\t\t\t\tnew Value");
require('WAWebABProps').getABPropConfigValue = function(featureName) {
const retVal = getABPropConfigValue(featureName);
let newValue = retVal;
if (typeof retVal === "boolean") {
newValue = true;
}
if (features[featureName] === undefined) {
console.log(`[+] ${featureName.padEnd(30)} ${retVal.toString().padEnd(30)} ${newValue.toString()}`);
}
features[featureName] = retVal;
return newValue;
}