How to generate a system beep

A

Anz

Is there any JavaScript function to generate a Beep sound from
system ?,
is it possible to make system Beep using JavaScript function ?
 
E

Evertjan.

Anz wrote on 29 jul 2008 in comp.lang.javascript:
Is there any JavaScript function to generate a Beep sound from
system ?,
is it possible to make system Beep using JavaScript function ?

If you mean using plain Javascript clientside in a browser without
compromizing security:

No, no.
 
T

Thomas 'PointedEars' Lahn

Anz said:
Is there any JavaScript function to generate a Beep sound from
system ?,
No.

is it possible to make system Beep using JavaScript function ?

Maybe.


PointedEars
 
P

Peter Michaux


What a unnecessarily cryptic response that is just cluttering news
readers. Are you looking to increase you post count?

---

I believe what Thomas is struggling to imply is that if the user agent
(e.g. a browser) provides an API that could produce a beep or allow
some other technique like including Flash movie, for example, than a
beep could be initiated by a JavaScript function which calls that API.
The JavaScript language itself does not have such a function.

Peter
 
E

Evertjan.

Peter Michaux wrote on 29 jul 2008 in comp.lang.javascript:
What a unnecessarily cryptic response that is just cluttering news
readers. Are you looking to increase you post count?

Thomas is not cryptic at all.

The idea that the questions "Is there any?" and "Is it possible?"
should(!) be answered bij anything else as
'Yes', 'No', 'Maybe' or 'Dunno'
is preposterous.

This is usenet and not a helpdesk.

Even so the second answer should also be a firm "no" if plain clientside
javascript in one of the more common browsers with default security
settings is ment.
 
J

Jorge

Even so the second answer should also be a firm "no" if plain clientside
javascript in one of the more common browsers with default security
settings is ment.

javascript:document.write("\x07"); //Grrr, damn it !

:)

--Jorge.
 
E

Evertjan.

Jorge wrote on 30 jul 2008 in comp.lang.javascript:
javascript:document.write("\x07"); //Grrr, damn it !

:)

Like in?:

<a href='javascript:document.write("\x07");'>Grrr, damn it !</a>

or

<script type='text/javascript'>
document.write("\x07");
</script>

IE testing:

Does not sound[,] right[.?]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top