jpillora / xdomain

A pure JavaScript CORS alternative
https://jpillora.com/xdomain/
3.13k stars 269 forks source link

Test script tag src with lower case #193

Open Abrissirba opened 8 years ago

Abrissirba commented 8 years ago

An easy mistake you might do is to write XDomain instead of xdomain in the script tag. If you do so the attribute API will not work. Therefore I think the check always should be made with a lower cased version of the script src.