0

Hello every single one :)
I want to introduce you how to enable Javascript in web browsers where it's disabled..
This is only a try I'm going to make... And I want someone to kindly correct me if I'm wrong, or to say I'm right if I'm so.
To enable a JS code we write it between the following tags:

<!--
OUR JS CODE
--!>

IS IT TRUE??
Thank you.

3
Contributors
4
Replies
5
Views
6 Years
Discussion Span
Last Post by Pro2000
0

Nope, you can't force browsers' javascript to ON. <!-- code --> is used to hide javascript from very old browsers which didn't support javascript at all.

Otherwise they would render the script as text.

Today, we really don't need to use <!-- code --> . I never use it.

Airshow

Edited by Airshow: n/a

0

So how do some websites execute Javascript on my web browser while I have already disabled the use of it?

0

You can view the script being used by simply right-clicking in any space on the web-page. Then choose "View source" or "View page source"..
Then see the code being executed.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.