Skip to content

Instantly share code, notes, and snippets.

@ElectroHeavenVN
Last active September 2, 2025 03:50
Show Gist options
  • Select an option

  • Save ElectroHeavenVN/ded1eb9c791018ec134ab6f0cff57f2f to your computer and use it in GitHub Desktop.

Select an option

Save ElectroHeavenVN/ded1eb9c791018ec134ab6f0cff57f2f to your computer and use it in GitHub Desktop.
Decrypt and log Zalo's HTTP requests and WebSocket traffic. The new version is here: https://github.com/ElectroHeavenVN/Zalo-F12
// ==UserScript==
// @name ZaloDecryptor
// @namespace http://tampermonkey.net/
// @version 1.1.3
// @description Decrypt and log Zalo's HTTP requests and WebSocket traffics
// @author ElectroHeavenVN
// @match https://chat.zalo.me/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=zalo.me
// @grant none
// @run-at document-start
// @updateURL https://gist.github.com/ElectroHeavenVN/ded1eb9c791018ec134ab6f0cff57f2f/raw/ZaloDecryptor.user.js
// @downloadURL https://gist.github.com/ElectroHeavenVN/ded1eb9c791018ec134ab6f0cff57f2f/raw/ZaloDecryptor.user.js
// ==/UserScript==
(function () {
setTimeout(() => {
let types = window.webpackJsonp.push([[Math.random()], {}, [["Vp9m"]]]).TOAST_TYPE;
window.webpackJsonp.push([[Math.random()], {}, [["Vp9m"]]]).ZToastManagerHolder.getZToastManagerByWindowId('1').show({
noBackground: false,
darkmode: false,
textKey: 'Please install the new version at: https://github.com/ElectroHeavenVN/Zalo-F12',
type: types.INFO,
duration: 15000
});
}, 5000);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment