Antonio Ooi Antonio Ooi - 12 days ago 5
Javascript Question

Does Google Drive no longer allow JavaScript file referencing from other website?

I just noticed that all my javascript files hosted on Google Drive no longer work, which previously officially allowed by Google. All variables and function calls become undefined (as indicated in Chrome console), but all the while, they were working fine. Below is my link reference:

<script charset='utf-8' src='https://googledrive.com/host/0B_kAR1YCVojTQnlmMXA0cWhfNGM' type='text/javascript'/>


The access permission had been set to public all the time and it is still remain as public. In my HTML file, I call the function as shown below:

<script type="text/javascript">setDefaultShow(13, 13);</script>


This had been working fine until recently. May I know what else could it be wrong? Could it be due to that, Google Drive no longer allows javascript file referencing from other website? If the answer is 'Yes', any other alternative to host my javascript files?

Thanks in advance!

Answer

I just got off the phone with Google and they're aware of the problem. They still allow the hosting of javascript files on GoogleDrive, it's just not working for some people and hasn't been for last day and a half. In the meantime (or probably from now on) I'm using Amazon's Simple Storage Service: http://aws.amazon.com/s3/