The example screenshot below is taken from Google Chrome. In general, users can right-click anywhere on the page and select View page source.
... <body oncontextmenu="return false"> <div id="viewDiv"></div> </body> ...
Note: Upon adding the above code snippet, any context menu created to allow edits is now unavailable.
The following image is an example of how the <body> tag looks in a script.
- Web AppBuilder for ArcGIS (Developer Edition): Create or import an app
- ArcGIS for Developers: Sample Code