On a site I am trying to access a function inside a userscript to call it with a custom argument except I can only find it by typing on Chrome's console the following :
getEventListeners(window).keydown[0].listener
or by looking at the event listeners directly on the section under the HTML document on Chrome
This function comes from a script which can be found in the sources here:
Does anybody know how can I access that function?
Here is the client.js: https://raw.githubusercontent.com/GodWoold/code/master/client.js and the function I am looking for is located line 157 and you can find it by searching for:
b(b){++q.di;q.Mi=a;q.tj();a.Sf(b);q.tj();--q.di}