Title: JavaScript code with WordPress
Last modified: January 25, 2024

---

# JavaScript code with WordPress

 *  Resolved [naijamomo](https://wordpress.org/support/users/naijamomo/)
 * (@naijamomo)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/javascript-code-with-wordpress/)
 * Hello. I want to complete the following code below to disable download on my 
   website but I don’t know what else to add please help me out.
 *     ```wp-block-code
       const app = require('download-app');
   
       app.install();
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjavascript-code-with-wordpress%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/javascript-code-with-wordpress/#post-17373639)
 * If you are trying to prevent visitors from ripping streamed audio, you really
   cannot. If you send data out on request, one way or another it can be captured
   by someone with adequate tools or knowledge. The only way to prevent data from
   being captured is to not send it out in the first place.
 * Of course then no one can listen to audio. You could make it unattractive to 
   rip, such as only providing a brief sample that’s encoded at a low bitrate.
 *  Thread Starter [naijamomo](https://wordpress.org/support/users/naijamomo/)
 * (@naijamomo)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/javascript-code-with-wordpress/#post-17373755)
 * thanks, I really appreciate for the advice 💕

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘JavaScript code with WordPress’ is closed to new replies.

## Tags

 * [how-to](https://wordpress.org/support/topic-tag/how-to/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 3 replies
 * 3 participants
 * Last reply from: [naijamomo](https://wordpress.org/support/users/naijamomo/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/javascript-code-with-wordpress/#post-17373755)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
