var header = DocumentApp.getActiveDocument().getHeader();
var headerfirst = header.getParent().getChild(2).asHeaderSection();
var template = DocumentApp.openByUrl("url here").getHeader();
假設我的分機已使用How can I get the current tab URL for chrome extension?中建議的方法獲取當前活動選項卡的URL,例如, chrome.tabs.query({
active: true,
lastFocusedWindow: true
}, function (tabs) {
// use first tab
UPDATE 2016年11月16日上午9時53 EST 看來很多人仍然看到,儘管谷歌宣稱已經「固定」的問題204級的響應。當我自己測試50次文檔的加載時,其中3次Google返回了204響應。 請訪問此網址,併發布你的不快的評論,讓我們終於可以得到谷歌解決,一旦解決了問題,併爲所有:https://productforums.google.com/forum/?utm_medium=email&