# \[Pro\] javascript

**URL:** <https://discourse.softpress.com/t/pro-javascript/24659>\
**Category:** Off Topic\
**Created:** [January 20, 2021, 7:56pm UTC](https://discourse.softpress.com/t/pro-javascript/24659 "2021-01-20T19:56:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![billyk](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/b/6de8d8/32.png) [@billyk](https://discourse.softpress.com/u/billyk)\
**Post date:** [January 20, 2021, 7:56pm UTC](https://discourse.softpress.com/t/pro-javascript/24659/1 "2021-01-20T19:56:46Z")

</div>

Is there a way to hide some javascript from source code viewers?

Billy

* * *

offtopic mailing list  
email@hidden  
Update your subscriptions at:

> **[Information for existing FreewayTalk / Groups.io users](https://discourse.softpress.com/t/information-for-existing-freewaytalk-groups-io-users/24891)**
>
> The purpose of this topic is to provide information about the migration from FreewayTalk and Groups io to Discourse and the differences in Discourse, as well as a place to discuss the good or bad of the migration. For those previously subscribing...

---

<div class="post-metadata">

**Author:** ![waltd](https://discourse.softpress.com/user_avatar/discourse.softpress.com/waltd/32/2720_2.png) [@waltd](https://discourse.softpress.com/u/waltd)\
**Post date:** [January 20, 2021, 8:07pm UTC](https://discourse.softpress.com/t/pro-javascript/24659/2 "2021-01-20T20:07:51Z")

</div>

No. JavaScript is an interpreted language, and it must be sent in the clear to the browser in order for it to be evaluated and run. That said, there are JS “minifiers” that crush readable code down to a form that only a machine could love, with every function name and variable reduced to a single letter or so. But that’s not the same thing as hiding it really, anyone who can read code can figure it out, it’s just unpleasant to read.

If you can “view source”, then you can read all the HTML, JS, CSS, SVG, etc. that a Web site might include. That’s a feature, not a bug. That’s how everyone learns how to use these languages.

Walter

> On Jan 20, 2021, at 2:56 PM, billy kimmel [email@hidden](mailto:email@hidden) wrote:
> 
> Is there a way to hide some javascript from source code viewers?
> 
> Billy
> 
> * * *
> 
> offtopic mailing list  
> email@hidden  
> Update your subscriptions at:  
> [Information for existing FreewayTalk / Groups.io users - Site Feedback - Softpress Talk](https://freewaytalk.softpress.com/person/options)

* * *

offtopic mailing list  
email@hidden  
Update your subscriptions at:  
[https://freewaytalk.softpress.com/person/options](https://freewaytalk.softpress.com/person/options)
