/    Sign up×
Community /Pin to ProfileBookmark

how to detect if user browser is javascript enable?

Hi guys,

is there anyway to detect if if user browser is javascript enable?

regards,
Mark

to post a comment
JavaScript

6 Comments(s)

Copy linkTweet thisAlerts:
@CrazyMerlinDec 23.2005 — Hmmm, I think I have a script for that somewhere...... ;0)
Copy linkTweet thisAlerts:
@RavindraDec 23.2005 — Hi!,

I am very that this can be done by writing a small javascript code on the page that will fire an event through the javascript. if it returns anything that means your browser has javascript enable otherwise it is disabled. I hope this will help you out. If not then send me a message I will show you how to do that ok bye for now.

Ravindra
Copy linkTweet thisAlerts:
@kmthienauthorDec 23.2005 — i am pretty poor in javascript...pls show me ! Thanks in advance !
Copy linkTweet thisAlerts:
@PrismaticDec 23.2005 — If a user has JavaScript enabled within their browser, then you will not be able to run scripts on the page, or bypass the setting. Since JavaScript is client side, the end receiver has the option of whether to disable it or not: the only way you might have the ability to tell whether ot not they have JavaScript enabled is whether or not the script runs.
Copy linkTweet thisAlerts:
@felgallDec 23.2005 — <script type="text/javascript">

document.write('Javascript is enabled');

</script>

<noscript>Javascript is disabled</noscript>
Copy linkTweet thisAlerts:
@kmthienauthorJan 03.2006 — [B]thanks a lot man ![/B]
×

Success!

Help @kmthien spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...