answersLogoWhite

0


Best Answer

For very old devices that aren't able to interpret JavaScript you can hide the script by adding the HTML comment block around the script. To keep this block of interfering with the script itself, you have to use JavaScript comment code to the end of the HTML comment block as well.

Here's how.

This technique is almost never employed anymore. The browsers that don't support JavaScript natively are that old.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What hides JavaScript code from browsers and web devices that do not interpret the code correctly?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Is actionscript better than javascript and What is the differences between javascript and Actionscript?

When you can choose between them, Javascript is better simply because it is an open standard supported by all browsers, while Actionscript is proprietary (owned by Adobe) and needs a browser plugin to run. Actionscript is unavoidable when working with Flash. Actually, to make this judgment based on Javascript being open source is too simplistic. Javascript is a prototyped language, and therefore is not truly object-oriented, which can make it slow and difficult to develop large applications in. Actionscript 3.0 is object-oriented and therefore can support complex design patterns and more robust applications. In addition, Javascript is rendered differently depending on the browser supporting it. Therefore, performance of Javascript applications varies widely. Because AS3 runs in the Flash player its performance is consistent across many devices.


Do Apple smartphones and tablets support JavaScript?

Javascript is supported by these two devices however Apple does tend to provide users with their own type of Java system to use. See if that is better liked.


How do devices interpret subnetting information if subnetting is used on a LAN?

Devices interpret subnetting information on a LAN by determining where the traffic originated and routing it to the appropriate area. By creating subnets, it is possible to have segregated areas of a network.


In regards to web development services, is there anything I should be aware of for users viewing my site on mobile devices?

In general, you should check your website on different browsers commonly used. Such web browsers include internet explorer, safari, fire fox and google chrome. In most cases, websites that pass these web browsers would work for mobile devices.


Which characteristics correctly refers to end devices in a network?

Information displays mostly. So readable text and images.


Can you install java for an iPod touch?

Java is used less on mobile devices because of mobile formatted websites. Java is in every internet device. Java is already on your iPod. To disable javascript, click settings>safari>javascript.


What is the advantage of XHTML in developing a webpage?

Here are some advantages that I found while trolling the web: * It is the first step toward a modular and extensible web based on XML. * It provides the bridge for web designers to enter the web of the future, while still being able to maintain compatibility with today's HTML 4 browsers. * It introduces standards. * Some browsers do not have the resources or power to interpret a "bad" markup language. * It can be used by mobile devices. * It is possible to use XML tools with it.


Is one of the more widely used Web browsers for personal computers called Opera?

No, the more widely used web browser for a PC are Internet Explorer and Firefox. Opera is one of the more widely used browsers for mobile devices.


What is a mark up language that enables websites to be displayed more easily on micro-browsers in smart phones and other mobile devices?

XHTML


Arcgis is a platform for what?

ArcGIS is a platform for on-line mapping and geographically analysis. It is easy and ready to use as it is an application across all browsers and devices.


Are your ears used just for hearing?

Yes, your ears are just devices that pick up vibrations and interpret them into "sound".


What is Firefox Opera and Google Chrome?

Firefox, Opera, and Google Chrome are all web browsers. All three are also available on mobile devices.