add cross domain file snippet