can script src domain work if the domain is a redirect?

They have: 426 posts

Joined: Feb 2005

I have a javascript include file on someone elses site / webpage which I cannot change.

The src attribute points to http://domain.com/jsfile.js, however if I make a redirect from http://domain.com to http://domain1.com will the file still work? My tests are not working using a simple http redirect from my domain host.