Javascript – OneTrust: Check if OneTrust is used in the project and wait for it to have fully finished loading
I am having difficulty adjusting several of my TypeScript files to load depending on OneTrust, whether it's available or not on pageload, and if available, only loading certain TypeScript scripts when specific cookies have been set. Some of the projects…