Hacker News new | past | comments | ask | show | jobs | submit login

Yeah it's reachable (in unsafeWindow for user script), I eventually find it by something similar.

In your example, you already has a reference of `fn` to use, which isn't the case for my userscript (if I have a reference, I would just use it!).

I have to search based on the features in plain text of the function (using some regexes on `fn.toString()` to check how the arguments look like).




The idea is that you use a breakpoint somewhere where you have a reference to the function to see it then paste the search() function in the debugger console and call it to find it in window


Oh I got it now. Thanks! Will try next time.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: