Title: BUG: WordPress Preview in Safari does not support JavaScript
Last modified: August 20, 2016

---

# BUG: WordPress Preview in Safari does not support JavaScript

 *  [Ron Fredericks](https://wordpress.org/support/users/ronf/)
 * (@ronf)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/bug-wordpress-preview-in-safari-does-not-support-javascript/)
 * I discovered that I can not test JavaScript code in my new blog posts using the
   preview feature from Safari.
 * Here is a simple test case:
 * `<a href="javascript:alert('hi');">click to see alert message</a>`
 * This code will call a pop-up link in firefox using the new blog preview page.
   But will not work in Safari. While the simple code snippet works fine in both
   Firefox and Safari if the blog post is published than viewed.
 * Safari version 5.1.7
    MacOS version 10.7.4

The topic ‘BUG: WordPress Preview in Safari does not support JavaScript’ is closed
to new replies.

## Tags

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

 * In: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
 * 0 replies
 * 1 participant
 * Last reply from: [Ron Fredericks](https://wordpress.org/support/users/ronf/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/bug-wordpress-preview-in-safari-does-not-support-javascript/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
