Hack Forums
Chrome - Access TamperMonkey script Function from JS Console - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45)
+--- Forum: Grayhat • Purple Team • Hybrid Security (https://hackforums.net/forumdisplay.php?fid=449)
+---- Forum: Website Hacking (https://hackforums.net/forumdisplay.php?fid=43)
+---- Thread: Chrome - Access TamperMonkey script Function from JS Console (/showthread.php?tid=4584863)



Chrome - Access TamperMonkey script Function from JS Console - _Wozniak_ - Dec 14, 2014

I've looked into unsafeWindow but it seems to be for doing the reverse of what I want.
I have a function hide(bool) that I want to call from the JS console in chrome, but it cant be called, I even tried changing the context from the console to the tampermonkey's context, with no luck/ change. Ive tried things from stackoverflow too.

Is this possible?