thats what i got so far
function onReady(callback) {
if (document.readyState === "complete") window.setTimeout(callback, 0);
else window.addEventListener("load", callback, false);
}
onReady(function() {
removeit("new");
});
function removeit() {
el = document.querySelector("#toolbarCurtain");
if (el) {
el.style.setProperty("display", "", null);
} * * EXEC COMMAND
return;
}
the " **EXEC COMMAND" thing is where i want to call a function that is in the site itself. the function is called drawPlayer(), and when i type drawPlayer() in the chrome console it works. i can't make my script call the function, how do i do that?