External javascript that contains jQuery I have been asked to include an external js file into a site where I don't have direct access to modify it and the generated script has jQuery it that references $.

Is it possible to include this without modifying the source js file?

I've added it as below

drupal_add_js("www.domain.com/my.js", array(
      'type' =&gt; 'external',
      'scope' =&gt; 'header',
      'group' =&gt; JS_LIBRARY,
      'every_page' =&gt; TRUE,
      'weight' =&gt; -1,
    ));


But I get undefined errors due to the use of $

Cheers
One way to circumvent this would be by installing the jQuery Dollar module.

This would allow you to avoid $ conflicts.