meepen / salien-bot

Steam Summer Sale 2018 "Salien" minigame bot - runs in console or browser
MIT License
418 stars 104 forks source link

This is not a bug, but a question. #185

Closed KrisZane closed 6 years ago

KrisZane commented 6 years ago

First of all, so sorry for posting this here, but I couldn't find anywhere else to ask this (or any useful Google results). I am quite intrigued with the context value in the constructor, I haven't seen that used before in userscripts and I can't seem to find out where it comes from. Could you possibly give a short description of where it comes from and what the object references? :P

meepen commented 6 years ago

at the bottom, it calls the function we create with the context argument with window