Add crossorigin attribute on scripts
-
Hi folks,
I am using a CDN on various pages and tracking JS-errors with Google Tag manager to increase customer satisfaction. Anyway browsers prevent error reporting for security reasons when script are loaded from a CDN giving “Line 0: Script error”
Though I have added the Access-Control-Allow-Origin header. What’s left is the crossorigin attribute on script tags. How can I have it added to the minified CDN files?
Kind regards
Mike
- The topic ‘Add crossorigin attribute on scripts’ is closed to new replies.