the purpose of CORS is to make sure things which are only on the intranet stay only on the intranet and things which require credentials keep requiring credentials. if your thing doesn't fit either of those cases please just let people use scripts with them