Skip to content

Commit

Permalink
insert jquery in HEB site
Browse files Browse the repository at this point in the history
  • Loading branch information
cecyurbina committed Apr 4, 2014
1 parent f41a43c commit b3260c1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion background.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ chrome.browserAction.onClicked.addListener(function(tab) {
chrome.tabs.insertCSS(null, {
file : "css/custom.css"
});
chrome.tabs.executeScript(null, {file:"js/jquery-2.1.0.min.js"});
chrome.tabs.executeScript(null, {file:"js/bootstrap.min.js"});
chrome.tabs.executeScript(null, {file:"prueba.js"});

});

3 changes: 2 additions & 1 deletion prueba.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
console.log("kakss");
var rows = $('tr');
console.log(rows);

document.getElementsByTagName("head")[0].innerHTML += '<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>';

Expand Down

0 comments on commit b3260c1

Please sign in to comment.