Title: [Plugin: Processing JS] Message for IE users
Last modified: August 20, 2016

---

# [Plugin: Processing JS] Message for IE users

 *  [Gerald](https://wordpress.org/support/users/gerital/)
 * (@gerital)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-processing-js-message-for-ie-users/)
 * As processing.js doesn’t work on Internet Explorer (despite some simple examples
   on IE9) I give a message to IE users. The easiest way (but probably not the most
   elegant) consists in two modifications of the plugin:
 * 1. Deactivate processing.js reference in header because of erros it produces 
   on IE changing line 32 of processing-js.php:
 *     ```
       if (isset($_SERVER['HTTP_USER_AGENT']) && (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') == false)) {
       	wp_enqueue_script('processing-js', plugin_dir_url(__FILE__) . 'js/processing-1.3.6.min.js');
       }
       ```
   
 * 2. Show error message instead of Canvas adding code to line 8 of js/init.js and
   putting the rest of the code inside else statement:
 *     ```
       if (jQuery.browser.msie) {
       	jQuery(document).ready(function($){
       		var script = jQuery("script[type*=processing]").get(0);
       		jQuery(script).after("<p>IE doesn't support canvas, please use Firefox or Chrome.</p>");
       	});
       }
       else {
       	//original javascript code of init.js
       }
       ```
   
 * [http://wordpress.org/extend/plugins/processingjs/](http://wordpress.org/extend/plugins/processingjs/)

The topic ‘[Plugin: Processing JS] Message for IE users’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/processingjs.svg)
 * [Processing JS](https://wordpress.org/plugins/processingjs/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/processingjs/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/processingjs/)
 * [Active Topics](https://wordpress.org/support/plugin/processingjs/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/processingjs/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/processingjs/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Gerald](https://wordpress.org/support/users/gerital/)
 * Last activity: [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-processing-js-message-for-ie-users/)
 * Status: not resolved