title: Using a page's functions in a Chrome extension
body: <p>I have a Chrome extension which is injecting some code into a web page (I know that part's working), which is trying to call a function that is part of the original web page. The function works fine from the console, but gives an error when the extension calls it. I assume this is some sort of security feature, but is there a way to get around it? Please help!</p>
  
  <p>PS. It's just for one website, if that helps</p>