javascript - chrome app add local script and script from url -


i'm starting chrome app. things doesn't work security reason.

<script src='https://code.jquery.com/jquery-1.11.0.min.js'></script> <script src='app.js'></script> 

so how add 2 kind of script app? tried different things in manifest file none of them have been successfull

the simplest way avoid security issues download jquery-1.11.0.min.js , place in script directory. ensure won't have security soap issues. include files this:

<script src='/example_local_directory/jquery-1.11.0.min.js'></script> <script src='/example_local_directory/app.js'></script> 

Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -