Make Chrome extension content script can use the embedded javascript function

How can my Chrome extension content script can use the embedded javascript functions of current webpage, i.e. embedded in block ?

@abdan, to do what you are asking, you would have to know the markup of the html page before hand so you can target the specific elements. To enable the extension to this you would need to use a combination of a content script and a background script. I suggest reading up on it here.