【MACRO】Google Apps Script 質問スレ【DRIVE】 (968レス)
上下前次1-新
抽出解除 レス栞
リロード規制です。10分ほどで解除するので、他のブラウザへ避難してください。
128(1): デフォルトの名無しさん [sage] 2014/11/28(金)12:01 ID:dYLaj0CI(1/3)
以前はEMULATEDがデフォだったが
最近はNATIVEがデフォに切り替わった
というところまでは読んだ
このページ見るとNATIVEが書き換えないみたいなんだけど
https://developers.google.com/apps-script/guides/html/restrictions
Rewritten code
In the EMULATED sandbox mode, Caja inspects and substantially rewrites all HTML
and JavaScript before the page loads.
This results in a substantial slowdown in loading times relative to the newer NATIVE mode.
Because code is rewritten, it also becomes difficult to debug.
In NATIVE mode, although comments are still stripped from client-side code,
the code is only rewritten if it contains variables or named functions at the top level,
or if it uses the typeof operator to refer to a variable directly.
The examples below show how to avoid code rewrites in NATIVE mode.
✘Don't — code will be rewritten ✓Do — code will not be rewritten in NATIVE mode
図は逆だよね
129: デフォルトの名無しさん [sage] 2014/11/28(金)12:06 ID:LBNEaAKa(2/2)
>>128
まぁ、だからといって、どちらも制限があるのには違いないけれどね。
あくまでも、ドノーマルで実行するよりかは制限が緩いので、使えるかも
って感じ。
なるべくシンプルに構築するのがHTML Servicesの基本だね。でなけれ
ば、UiApp Servicesを使えって話になってくると思う。
上下前次1-新書関写板覧索設栞歴
スレ情報 赤レス抽出 画像レス抽出 歴の未読スレ AAサムネイル
ぬこの手 ぬこTOP 0.035s