Google App Script htmlservice Dialog Process Does Not Work with Firefox

Asked 2 years ago, Updated 2 years ago, 109 views

I wrote the following code because I wanted to display the dialog on the spreadsheet in GAS.

I tried running this on a spreadsheet, but it works with Google Chrome, but it doesn't work with Firefox.
(Dialog does not appear, but script is successful)
Why?
showModalDialog was the same with showModelDialog.

function showdlgtest(){
  varhtml=HtmlService.createHtmlOutputFromFile("newtest");
  Logger.log(html)
  varui=SpreadsheetApp.getUi();
  Logger.log(ui)
  ui.showModalDialog(html, "sample")

}

newtest.html

<!DOCTYPE html>
<html>
  <head>
    <base target="_top">
  </head>
  <body>

  </body>
</html>

google-apps-script firefox

2022-09-30 17:11

1 Answers

It's solved.
https://addons.mozilla.org/ja/firefox/addon/google-shortcuts-all-google-se/
It seems that the spreadsheet does not work properly when is inserted


2022-09-30 17:11

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.