I'm working on a chrome extension, and am trying to call an existing function the page via a content script. when i type in the F12 console "pagefunction(x,y,z)"
. I get an immediate result, but calling it from my content script returns the error (in chrome f12 console): Uncaught Reference Error: pagefunction is not defined at... (content script & anonymous)
Does this mean that the injected script does not have access to the page script? and if so, how do i gain access to the function through my content script?