Chrome Extensions: Use a content script to modify existing scripts on a web page?

I’m creating a chrome extension that needs to hook into another script that already exists on my target web page. For simplicity’s sake, I’m trying to find the following existing script element on a page and add a console.log() to it. <script type=”text/javascript”> var viewModel = new ScenePlayViewModel(”, ‘Ace’, false); viewModel .load(‘jgWJJ2qsxx’) .then(function () { […]