Title: deactivate javascript
Last modified: February 26, 2020

---

# deactivate javascript

 *  Resolved [oekoplatt](https://wordpress.org/support/users/oekoplatt/)
 * (@oekoplatt)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/deactivate-javascript-2/)
 * Your plugin. It’s very useful. But I cannot deactivate javascript. After deactivating
   and saving options javascript ist activated again.
    What can I do to solve it?
   Thank You in advance.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdeactivate-javascript-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Matt Robinson](https://wordpress.org/support/users/mattyrob/)
 * (@mattyrob)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/deactivate-javascript-2/#post-12483911)
 * [@oekoplatt](https://wordpress.org/support/users/oekoplatt/)
 * Are you using the Blocked Editor (gutenberg) or Classic Editor? Or something 
   else?
 * Where are you trying to disable JavaScript?
 *  Thread Starter [oekoplatt](https://wordpress.org/support/users/oekoplatt/)
 * (@oekoplatt)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/deactivate-javascript-2/#post-12484168)
 * I use gutenberg, but it’s the same result, if I replace gutenberg by TinyMCE.
   
   I try to deactivate js in “Settings” in the register “Appearance”.
 *  [Matt Robinson](https://wordpress.org/support/users/mattyrob/)
 * (@mattyrob)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/deactivate-javascript-2/#post-12486130)
 * [@oekoplatt](https://wordpress.org/support/users/oekoplatt/)
 * Does the setting you are changing say:
 * ‘Use javascript to update IP address in Subscribe2 HTML form data?’
 * If so that simply changes some functionality to collect the IP address of the
   computer submitting the form. If you want to Disable the JavaScript in the form
   field of the Subscribe2 shortcode, that is contained withing the Gutenberg block
   settings or is directly in the shortcode as follows:
 * `[subscribe2 nojs='true']`
 * See this page for more information on the shortcode parameters:
    [https://subscribe2.wordpress.com/support/shortcode-usage-and-parameters/](https://subscribe2.wordpress.com/support/shortcode-usage-and-parameters/)
 *  Thread Starter [oekoplatt](https://wordpress.org/support/users/oekoplatt/)
 * (@oekoplatt)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/deactivate-javascript-2/#post-12486620)
 * OK. Thank You. But if it is the solution, I don’t understand the role of the 
   checkbox ‘Use javascript to update IP address in Subscribe2 HTML form data?’.
   
   However, my issue is solved.
 *  [Matt Robinson](https://wordpress.org/support/users/mattyrob/)
 * (@mattyrob)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/deactivate-javascript-2/#post-12486864)
 * [@oekoplatt](https://wordpress.org/support/users/oekoplatt/)
 * Subscribe2 creates a form for your users to submit an email address, but SPAM
   laws around the world often require an IP address to be collected as well, the
   form invisibly submits this. But if you are behind a firewall, on a work network
   or if the blog uses caching the IP address may be incorrect. That setting enable
   a JavaScript function and library to dynamically update the invisible IP address
   using IPify.org. You may or may not need that.
 * The JavaScript setting in the shortcode for the form simply adds a message to
   the email address field that says something like ‘Enter address here…’ that disappears
   when the box is clicked and reappears if the users leaves the box having entered
   nothing. again, you may want this functionality, you may not – you can turn if
   off using the shortcode parameter mentioned above.
 *  Thread Starter [oekoplatt](https://wordpress.org/support/users/oekoplatt/)
 * (@oekoplatt)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/deactivate-javascript-2/#post-12487113)
 * I understand. But if so my initially questions remains open: Why I cannot deactivate
   checkbox ‘Use javascript to update IP address in Subscribe2 HTML form data?’.
 *  [Matt Robinson](https://wordpress.org/support/users/mattyrob/)
 * (@mattyrob)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/deactivate-javascript-2/#post-12487288)
 * [@oekoplatt](https://wordpress.org/support/users/oekoplatt/)
 * Okay, to check that – you uncheck the box and then click the blue ‘Submit’ button
   below it and when you return to the page the box is checked again?
 *  Thread Starter [oekoplatt](https://wordpress.org/support/users/oekoplatt/)
 * (@oekoplatt)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/deactivate-javascript-2/#post-12487345)
 * Yes. Exactly.
 *  [Matt Robinson](https://wordpress.org/support/users/mattyrob/)
 * (@mattyrob)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/deactivate-javascript-2/#post-12487578)
 * [@oekoplatt](https://wordpress.org/support/users/oekoplatt/)
 * There is a bug in the admin/settings.php page, if you are comfortable editing
   PHP open this file in the WordPress editor or a text editor via FTP.
 * There is a line as follows:
    `$options = array( 'show_meta', 'show_button', '
   ajax', 'widget', 'counterwidget', 's2meta_default' );`
 * Change that to:
    `$options = array( 'show_meta', 'show_button', 'ajax', 'widget','
   counterwidget', 's2meta_default', 'js_ip_updater' );`
 * Save that and try again and it will hopefully work for you.
 *  Thread Starter [oekoplatt](https://wordpress.org/support/users/oekoplatt/)
 * (@oekoplatt)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/deactivate-javascript-2/#post-12490402)
 * Thank You very much. This is the solution.
 *  [Matt Robinson](https://wordpress.org/support/users/mattyrob/)
 * (@mattyrob)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/deactivate-javascript-2/#post-12493464)
 * [@oekoplatt](https://wordpress.org/support/users/oekoplatt/)
 * Thanks for confirming the fix.

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

The topic ‘deactivate javascript’ is closed to new replies.

 * ![](https://ps.w.org/subscribe2/assets/icon-256x256.png?rev=2318630)
 * [Subscribe2 - Form, Email Subscribers & Newsletters](https://wordpress.org/plugins/subscribe2/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/subscribe2/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/subscribe2/)
 * [Active Topics](https://wordpress.org/support/plugin/subscribe2/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/subscribe2/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/subscribe2/reviews/)

 * 11 replies
 * 2 participants
 * Last reply from: [Matt Robinson](https://wordpress.org/support/users/mattyrob/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/deactivate-javascript-2/#post-12493464)
 * Status: resolved