So I would like to know in any means, if we could see the source code of an Apps script Project provided with the Web app URL that ends with "/exec" ?
-
If it is one of your script then simply replace "/exec" with "/edit"Serge insas– Serge insas2015-07-01 07:24:35 +00:00Commented Jul 1, 2015 at 7:24
-
No the point is, I would like to know if anyother with the link can view my code?Kavitha Madhavaraj– Kavitha Madhavaraj2015-07-01 08:41:30 +00:00Commented Jul 1, 2015 at 8:41
-
No, this would be a problem indeed...see Jonathon's answer.Serge insas– Serge insas2015-07-01 09:17:29 +00:00Commented Jul 1, 2015 at 9:17
Add a comment
|
1 Answer
If you don't own or have the script shared with you in Google Drive, it is not possible to see the server side code.
2 Comments
Kavitha Madhavaraj
Even the HTML code looks messy when I used View Source Option in browser. So Is it an advantage or disadvantage?
JSDBroughton
The HTML code has been 'cajoled'. This is another security feature. When debugging I sometimes write out the pre-filtered HtmlService output into a variable on the page for inspection in dev tools.