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/
More Related Contents:
- Is there a JavaScript / jQuery DOM change listener?
- How to wait until an element exists?
- How to use jQuery in chrome extension?
- Chrome Extension how to send data from content script to popup.html
- Why will jQuery not load in Facebook?
- Change matching words in a webpage’s text to buttons
- Can’t trigger click with jQuery in a Chrome extension
- In a Chrome Extension content script, must I wait for document.ready before processing the document?
- Chrome Extension “Refused to load the script because it violates the following Content Security Policy directive”
- tabs.executeScript – passing parameters and using libraries?
- How do I check if an element is hidden in jQuery?
- How can I convert this from jQuery to standard javascript?
- What’s the difference between ‘$(this)’ and ‘this’?
- Detect element content changes with jQuery
- How can I select an element by name with jQuery?
- jQuery object and DOM element
- Handling key-press events (F1-F12) using JavaScript and jQuery, cross-browser
- JQuery document.ready vs Phonegap deviceready
- Can a site invoke a browser extension?
- jquery, find div class name at a certain position while scrolling
- How to format a phone number with jQuery
- jQuery.getScript alternative in native JavaScript
- How to stop an animated gif from looping
- Is there a ‘has focus’ in JavaScript (or jQuery)?
- Detect browser wrapped lines via javascript
- Animating Multiple Markers
- How to interpret documentation for optional JavaScript parameters [duplicate]
- javaScript: Can a comma occur after the last set of values in an array?
- How to add font types on Quill js with toolbar options?
- How can I reorder elements with JavaScript?