Google Chrome Extensions: How to include jQuery in programmatically injected content script?

What about:

chrome.tabs.executeScript(null, { file: "jquery.js" }, function() {
    chrome.tabs.executeScript(null, { file: "content.js" });
});

You can download “jquery.js” from here: http://jquery.com/download/

Leave a Comment