How to get rid of masterPage.js debug messages?

When I run my published website I see the following message on the browser’s debug console: “Loading the code for the site. To debug this code, open masterPage.js in Developer Tools.”

I do not see this page anywhere. How do I find it?

1 Like

Its running the Site Code

Thank you shan for this very helpful and detailed comment! Do you also know the answer to the first question - How to GET RID of masterPage.js debug messages?

On Site - I accidently deleted the default $w.onReady - code. Since then, the masterPage.js debug message appears. However, when I put the default $w.onReady -code back, it won’t dissapear. Any help?

@roggejaques The reference to masterPage.js , or other .js files, is for using the browser’s debugging features. See the article Client-Side Source Files for information about advanced client-side debugging.

Great, thank you! Guess I‘ll need to learn java then to get rid of the message :slight_smile: … and all I did was to delete the onReady function in the site and put it back on. But all I can find so far is lot‘s of information to what it is, but not how to solve it … :smile:

@roggejaques I get this message all the time - no connection to the onReady() function or other code changes. The message provides developers information to assist in debugging with the browser debugging tools. As far as I know, there is no way to get rid of the message - even if you become the world’s Javascript expert. And when you do (become the world’s expert), don’t forget me when you’re rich and famous. :blush:

Glad to hear that. Thank you! Worried, that I messed something up!