answersLogoWhite

0

One way to determine this is by entering this into the URL/link box in your browser: javascript:alert('hi') When you press enter, a little popup saying 'hi' should show. If it does, JavaScript is on.

User Avatar

Wiki User

13y ago

Still curious? Ask our experts.

Chat with our AI personalities

ViviVivi
Your ride-or-die bestie who's seen you through every high and low.
Chat with Vivi
LaoLao
The path is yours to walk; I am only here to hold up a mirror.
Chat with Lao
BlakeBlake
As your older brother, I've been where you are—maybe not exactly, but close enough.
Chat with Blake
More answers

JavaScript is built into all modern browsers by default. JavaScript only exists inside the browsers context, so unlike Python or Java, there's nothing else needed on your system.

If you're getting error messages about your browser's JavaScript, it's time to update your browser to a newer version.

User Avatar

Wiki User

12y ago
User Avatar

I don't know if there is a shorter way to check for sure, besides JavaScript not working on sites, but just follow the instructions for whatever browser you are on.

Chrome: Wrench icon (option menus) > Options > Under The Hood > Content Settings > Check if "Allow all sites to run JavaScript" is enabled

Firefox: Click on the Firefox button (Tools for Windows XP) > Content > Check if JavaScript is enabled.

(For Firefox you may have to open the Advanced menu and to see what settings are enabled in JavaScript)

Safari: Choose Safari > Preferences > Click on Security > See if Enable JavaScript is checked

Internet Explorer: Tools > internet Options > Click on Custom Level > Scroll to Scripting section > Check if Active Scripting is enabled.

Opera: Tools > Preferences > Advanced > Content > Check if Enable JavaScript is checked.

This answer is to check for the users. I'm sorry if you are looking to see if it is enabled in the actual code. However if it is disabled and you want to see if it is from your code, The obvious answer would be if the checker for JavaScript ran or not :).

User Avatar

Wiki User

13y ago
User Avatar

Add your answer:

Earn +20 pts
Q: How to check if javascript is enabled?
Write your answer...
Submit
Still have questions?
magnify glass
imp