According to your question:
By default, you will see a notification, and using JS + some kind of document / DOM Ready, just delete the notification. Try not to do this in the / onload window, because then you will see a notification until ALL resources of this page, which take more time than the house, are loaded. Thus, everyone who does not have JS will get a message.
But ideally, you just want to have a site that works with or without javascript. Perhaps unobtrusive javascript is a nice search term for you.
CharlesLeaf
source share