Skip to content

Instantly share code, notes, and snippets.

View ejalxndr's full-sized avatar

Ethan Alexander ejalxndr

View GitHub Profile
@ejalxndr
ejalxndr / library.js
Last active May 20, 2023 17:30
check when new game is clicked / loaded into view
//TIPS
//by the time this script is injected, the dom MAY be loaded
//alert function breaks CEF
console.log('hello from patcher current page -> ' + document.title);
function game_selected(name, appid)
{
console.log(`game: ${name}, appid: ${appid}`)
}