Title: Refused to execute a JavaScript script.
Last modified: August 20, 2016

---

# Refused to execute a JavaScript script.

 *  Resolved [Aikyrie](https://wordpress.org/support/users/aikyrie/)
 * (@aikyrie)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/refused-to-execute-a-javascript-script/)
 * My theme has customizations and every time I try to update it, I get an error
   in my Console:
 * Refused to execute a JavaScript script. Source code of script found within request.
   
   admin.php
 * I originally thought it might be the theme but it’s specific to one of the WP
   core files.
 * Any ideas?

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/refused-to-execute-a-javascript-script/#post-3531617)
 * What theme are you using? Where did you download it from?
 *  Thread Starter [Aikyrie](https://wordpress.org/support/users/aikyrie/)
 * (@aikyrie)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/refused-to-execute-a-javascript-script/#post-3531838)
 * Themeforest. It’s called Website: themes.kubasto.com/website/
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/refused-to-execute-a-javascript-script/#post-3531839)
 * I’m sorry but as you are using a commercial theme, you need to seek support from
   the theme’s developer/vendor. We do not support commercial themes here.
 *  Thread Starter [Aikyrie](https://wordpress.org/support/users/aikyrie/)
 * (@aikyrie)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/refused-to-execute-a-javascript-script/#post-3531844)
 * Sorry, I thought the issue might be WP core specific since it was an error with
   wp-admin/admin.php.
 * Thanks anyways
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/refused-to-execute-a-javascript-script/#post-3531864)
 * No – the issue is in the theme.

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

The topic ‘Refused to execute a JavaScript script.’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/refused-to-execute-a-javascript-script/#post-3531864)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
