Forum Discussion
Hi Abhishek,
As part of our 6 month program to encourage users to begin moving off of JavaScript and into native functions we did publish some helpful resources. Depending on the use case for your JavaScript (because it can be very flexible) there are a number of native functions that can help you. For example JavaScript is still supported in our code pages functionality and we have a Code Page Sample App that includes some examples of how to start using code pages to replace common JS functionality.
We have also been making changes to some of our features in product, like our formula syntax so support more options for redirects, popups and more. You can find a list of alternatives to common JS use cases in our Alternatives to common JavaScript Insertion techniques article.
Austin is correct that there are some admins who have chosen to use Service Workers, I would give the same warning we have given in the past about JavaScript Insertion. It isn't a functionality we test for or support, so when we do our normal releases there is the chance that your service workers (like JS before it) can break. Since Service Workers can alter the data sent from QB via the browser of that user it also has security and reliability concerns we warn admins to think about before making use of them. It isn't something we recommend.
------------------------------
Evan Martinez
------------------------------