I need to find out whether new File has been uploaded to my drive or not using API's,但我想知道谷歌硬盘中文件夹ID的格式,即当你打开谷歌硬盘中的文件夹时出现在地址栏中的ID,即https://drive.google.com/drive/u/0/folders/<this part>之后的内容。
纯粹是一种好奇,但是为什么Chrome (31)在从JS控制台执行(无效)语句SyntaxError: Unexpected token }时会引发void呢?我理解JS引擎应该引发语法错误-- void需要一个参数。我不明白}和它有什么关系。在使用javascript:void或在网页中从地址栏执行相同的无效语句时,会产生更合理的SyntaxError: Unexpected end of input。
假设我在地址栏e.g-http://example.com?file=https://rawgithub.com/eligrey/FileSaver.js/master/FileSaver.js中的url中有一个文件名i.e-https://rawgithub.com/eligrey/FileSaver.js/master/FileSaver.js" typ