16
Before we can start using JavaScript (or jQuery) it must be enabled in the web browser, most have it enabled by default — if you haven’t changed the settings you don’t have to do anything, if you are not sure, read on.
I give details for enabling JavaScript on the three most common desktop web browsers; at the time of writing these were (in order): Chrome (69%), Firefox (11%) and Internet Explorer (6%) — IE still?). I got the data from GlobalStats.
I’m using Chrome as my browser of choice; at the time of writing (February 2019), it was on version 72.0.3626.109 this being the most up to date version.
To check your version click the
button at the top right of the screen, it looks like this: , in the dropdown click and . It will display a tab showing the current version:To make sure that JavaScript is enabled, click the
button at the top right of the screen () and select from the dropdown, this opens a new tab with various settings displayed, scroll to the bottom of the page and expand the section.The first entry in the advanced section is
and the bit we are looking for is under (highlighted in orange):Click the arrow on the far right to expand the selection; we’re looking for JavaScript (the sixth entry, Figure 16.4). If this is set to , then JavaScript is enabled and all is well, if not, click the arrow and flick the switch at the top to enable it:
Now just close the tab, any changes will have been saved.
Enabling JavaScript in the Firefox browser
To check your version click the open menu button at the top right of the screen, it looks like this: , in the dropdown click
and . It will display a pop-up showing the current version:It seems to me that Firefox really don’t want you messing about with JavaScript settings, it’s a right palaver to change them. Forget the menu button, it’s not there.
Brace yourself.
In the address bar (where you type a web address) type: about:config. Figure 16.7
This opens the scary “void warranty!” display, treat it with the contempt it deserves and click (can’t have too many exclamation marks).
This opens up the super, user-friendly configuration page:
Type javascript in the search box at the top and look for the entry in the list (both highlighted).
The
must have a in the column, if it hasn’t just double click the entry to change it. It will be automatically saved.Fuck me Firefox. I was looking under the menu options for ages. Maybe it’s this sort of thing that puts people off using Firefox in the first place. It’s basic stuff put it on the settings page.
Sigh.
I can’t believe that IE is still the third most popular desktop browser, it’s holding fairly steady at 6% market share, Edge is at 4%. — Anyway:
My version of Internet Explorer is version 11 (I had to do a bit of digging to find it on my machine, I don’t normally use it and I didn’t have any links left to it. It was there though and I was surprised to find that it is still installed as part of Windows 10), to be specific version 11.0.9600.18282. I think this is the latest version.
To check your version click the tools button at the top right of the screen, it looks like a cogwheel: , in the dropdown click
. It will display a pop-up showing the current version:To make sure that JavaScript is enabled, click the tools button at the top right of the screen () and select Figure 16.11).
from the dropdown, this opens a pop-up with various settings tabs, select the tab (Click the custom level button (highlighted) to open the Internet Zone security pop-up (Figure 16.12):
Scroll down to
(it’s in alphabetical order, it’s near the bottom) and then find (it’s not called JavaScript).Make sure that the option is enabled (highlighted in Figure 16.12) by clicking enable.
Click ok to make the change, this will open an Figure 16.11) to close the whole thing.
, click and then click on the security tab (There are plenty of online results for how to enable JavaScript on any browser, just google enable javascript on name-of-brower.
The following site gives a good explanation for all the common browsers: www.enable-javascript.com.