Questions tagged [external-script]

73 questions
30
votes
2 answers

Any good reason not to use which site owners put on their site like http://example.com and in this javascript tag we want to dynamically include a third-party js such as which can…

Kuldeep Kapade
  • 1,095
  • 3
  • 12
  • 17
13
votes
3 answers

Chrome extension: load and execute external script

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 want to have in my content script some default…
jenush
  • 173
  • 1
  • 1
  • 6
9
votes
3 answers

Javascript onload and script callback functions, which takes the precedence?

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: