My extension can download a file through this url: https://docs.google.com/get_video_info?authuser=&docid=....
But when I use it in javascript, without being in an extension I have problem with CORS.
Both use the same code:
$.ajax({
type: "GET",
url: 'https://docs.google.com/get_video_info?authuser=&docid=',
});
Is there any way I can add CORS permission with or without user censorship other than in an extension, as is done in manifest.json?