Google Apps Script How to link to JS or CSS file on Google Drive

Lisa-Marie picture Lisa-Marie · Feb 27, 2013 · Viewed 10.5k times · Source

Can I keep style.css or anyscript.js hosted on a folder on Google Drive and then include the script with a link to the file in Drive? If so.. how?

And here I mean GAS for use on Google Sites... so the script is not located in Google Drive

Answer

Ursus picture Ursus · Oct 4, 2014

Google seem to have changed it.

At the time of writing, a link to the raw data works with the following link format:

https://drive.google.com/uc?id=YOUR_DOCUMENT_ID