How do i force javascript to enable?

My WordPress site's revenue depends on Java script. So when the visitor disable Java script for my site, how can I force him to enable Java script?

asked Sep 17, 2019 at 3:29

How do i force javascript to enable?

4

The simple answer is that you can't. The web environment is intentionally made open, so the viewer can adapt websites as they like.

You can however make it harder by having javascript do things to the page that makes it readable, so you have to have javascript enbled to see it. Most trivial would be to hide the elements through CSS display:none and turn them on from javascript. The user can disable javascript as soon as the page has rendered though.

You can show content specifically for non-javascript users using the

answered Sep 17, 2019 at 3:37

khorakhora

11 bronze badge

2

Internet Explorer 9 Internet Explorer 10 Internet Explorer 11 More...Less

Summary

Many Internet Web sites contain JavaScript, a scripting programming language that runs on the web browser to make specific features on the web page functional. If JavaScript has been disabled within your browser, the content or the functionality of the web page can be limited or unavailable. This article describes the steps for enabling JavaScript in web browsers.

More Information

Internet Explorer

To allow all websites within the Internet zone to run scripts within Internet Explorer:

  1. On the web browser menu, click Tools or the "Tools" icon (which looks like a gear), and select Internet Options.

    How do i force javascript to enable?

  2. When the "Internet Options" window opens, select the Security tab.

  3. On the "Security" tab, make sure the Internet zone is selected, and then click on the "Custom level..." button.

    How do i force javascript to enable?

  4. In the Security Settings – Internet Zone dialog box, click Enable for Active Scripting in the Scripting section. 

    How do i force javascript to enable?

  5. When the "Warning!" window opens and asks, "Are you sure you want to change the settings for this zone?" select Yes.

  6. Click OK at the bottom of the Internet Options window to close the dialog.

  7. Click the Refresh button to refresh the page and run scripts.

    How do i force javascript to enable?

To allow scripting on a specific website, while leaving scripting disabled in the Internet zone, add the specific Web site to the Trusted sites zone:

  1. On the web browser menu, click Tools, or the "Tools" icon (which looks like a gear) and select Internet Options.

    How do i force javascript to enable?

  2. When the "Internet Options" window opens, select the Security tab.

  3. On the "Security" tab, select the Trusted sites zone and then click the Sites button.

    How do i force javascript to enable?

  4. For the website(s) you would like to allow scripting, enter the address within the Add this website to the zone text box and click Add. Note: If the address does not begin with "https:", you many need to uncheck "Require server verification (https:) for all sites in this zone". 

    How do i force javascript to enable?

  5. Click Close and then click OK at the bottom of the Internet Options window to close the dialog.

  6. Click the Refresh button to refresh the page and run scripts.

    How do i force javascript to enable?

Google Chrome

To enable JavaScript in Google Chrome, please review and follow the instructions provided at Enable JavaScript in your browser to see ads on your site.

Mozilla Corporation’s Firefox

To enable JavaScript in Firefox, please review and follow the instructions provided at JavaScript settings for interactive web pages.

Need more help?

How do I fix JavaScript is not enabled?

On the web browser menu click on the "Edit" and select "Preferences". In the "Preferences" window select the "Security" tab. In the "Security" tab section "Web content" mark the "Enable JavaScript" checkbox. Click on the "Reload the current page" button of the web browser to refresh the page.

How do I force JavaScript to enable a user?

The simple answer is that you can't. The web environment is intentionally made open, so the viewer can adapt websites as they like. You can however make it harder by having javascript do things to the page that makes it readable, so you have to have javascript enbled to see it.

How do I reinstate JavaScript?

JavaScript.
Click the Tools menu (or click Start, Control Panel, Internet Options)..
Select Internet Options..
Click the Security tab..
Click the Custom Level button..
Click the Reset Custom Settings / Reset To menu and set it to Medium..
Click Yes..

Is JavaScript automatically enabled?

No, you don't have to install JavaScript. Web Browsers such as Chrome have JavaScript automatically built into it - in other words, you always have JavaScript capabilities, so there is no extra software you have to download and install in order to use JavaScript. However!