Detect if URL DataURL or an http accessed file