Skip to content

Instantly share code, notes, and snippets.

View itsamirhn's full-sized avatar
🦉
Work & Study

Amir Hosseini itsamirhn

🦉
Work & Study
  • Divar
  • Tehran - IRAN
View GitHub Profile
@Osb0rn3
Osb0rn3 / gamee.js
Created September 12, 2023 22:30
JavaScript code for generating checksum for Gamee
// Include the crypto-js library dynamically
var script = document.createElement('script');
script.src = 'https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.9-1/crypto-js.js';
script.onload = function () {
// The script has loaded, now you can use CryptoJS
function extractGameId() {
// Replace this with your actual logic to extract the game ID from the DOM
const iframe = document.querySelector('iframe[src*="game-"]');
if (iframe) {