I have a Google Spreadsheet and custom function needs to be like this.
$(window).on('unload', e => {...
but it is not working on .gs only in html.$(window).on('unload', e => {...
but I guess this is not possibleAppreciate suggestions and solutions. Thank you...
Unfortunately, this is currently not possible to do via Google Apps Script.
You can however let Google know that this is a feature that is important for the Sheets API and that you would like to request they implement it. Google's Issue Tracker is a place for developers to report issues and make feature requests for their development services. The page to file a Feature Request for Apps Script is here .
I hope this is useful to you!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.