Skip to content

Commit

Permalink
insert jquery with js
Browse files Browse the repository at this point in the history
  • Loading branch information
cecyurbina committed Apr 4, 2014
1 parent 2665b08 commit f41a43c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
// Optional
"author": "Sandra Cecilia Urbina Coronado",
"background": {
"scripts": ["background.js"/*, "content.js"*/],
"scripts": ["background.js", "js/jquery-2.1.0.min.js", "js/bootstrap.min.js"/*, "content.js"*/],
"persistent": false
},
"content_scripts": [
{
"all_frames": true,
"js": [ "js/jquery-2.1.0.min.js", "js/bootstrap.min.js"],
"matches": ["http://www1.soriana.com/*", "http://www.hebadomicilio.com.mx/", "http://www.walmart.com.mx/*"]
"matches": ["http://www1.soriana.com/*", "http://www.hebadomicilio.com.mx/HEBWeb/BusquedaArticulo/Index?idDepartamento=1", "http://www.walmart.com.mx/*"]

}
],
Expand Down
3 changes: 3 additions & 0 deletions prueba.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
console.log("kakss");

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


function random_val()
Expand Down

0 comments on commit f41a43c

Please sign in to comment.