I use tampermonkey to write javascript file to do an action in a loaded website in the chrome browser.
There is a javascript function in the loaded website suppose with name A() that returns a text string .
function A() can be called in console of chrome inspection by writing A() and then Enter and returns the text string in the console .
My question is How to call and use function A() in my tampermonkey javascript file ? I mention that function A() is in a javascript file that can be shown in Global Listeners - DOMContentLoaded in the chrome inspection .