external-script Questions

2

Once upon a time, there were many heated debate on <script> in <head> or <body>. Many SO posts had already pointed out the best practice / rule of thumb is to place the <scrip...
Pulsar asked 1/3, 2017 at 22:57

3

Solved

Let me clarify what I want to do. I have a python script in my local machine that performs a lot of stuff and in certain point it have to call another python script that must be executed into a do...
Boito asked 26/7, 2017 at 10:23

3

Solved

I want to run the following script to pre-populate a model of mine with names etc...But I get an error. The script is first_names = first_names.split('\n') last_names = last_names.split('\n') phon...
Sharl asked 26/11, 2013 at 15:0

1

Solved

I want to hide the source of JS from direct access. So I thought to produce a disposable JS file. I use a temporary session cookie. The cookie is set before including JS file and expires then. ra...
Intuit asked 21/4, 2018 at 12:3

3

I am trying to load a 3rd party script from web, instead of making a local copy of it and be able to use the 3rd party script's global variables and functions after the script loads. Update: Her...
Acquittance asked 9/6, 2016 at 15:12

7

We give out a piece of javascript tags such as <script src="http://ours.com/some.js"></script> which site owners put on their site like http://example.com and in this javascript tag we ...
Zootechnics asked 28/8, 2015 at 0:33

3

Solved

I'm loading an external script that uses callback function, which returns some specific data. If this data is not received error should be displayed. Here is the code I've made: <script> //...
Frannie asked 11/6, 2016 at 9:21

3

I have trouble loading and executing external js-script into my chrome extension. Looks the same as this question, but I still cant't figure out why it doesn't work in my case. The idea is that I ...

2

Solved

I have a couple PHP scripts used for AJAX queries, but I want them to be able to operate under the umbrella of Joomla's authentication system. Is the following safe? Are there any unnecessary lines...
Ammieammine asked 15/3, 2010 at 7:0

4

I'm maintaining a legacy javascript application which has its components split into 4 JS files. They are "Default.aspx", "set1.aspx", "set2.aspx" and "set3.aspx". The ASPX pages writes out compres...
Nab asked 8/4, 2009 at 5:59
1

© 2022 - 2024 — McMap. All rights reserved.