WINDOW.EVENT

S

spektro

Senhores(as),
não estou conseguindo literatura que me auxilie construir uma
'function' para desabilitar os botoes responsáveis pelo 'refresh' no
browser. Como o botão 'F5', 'ctrl R' e botão direito do mouse.
poderiam me ajudar?
Desde já agradeço.
 
J

Jonas Raoni

spektro escreveu:
Senhores(as),
não estou conseguindo literatura que me auxilie construir uma
'function' para desabilitar os botoes responsáveis pelo 'refresh' no
browser. Como o botão 'F5', 'ctrl R' e botão direito do mouse.
poderiam me ajudar?
Desde já agradeço.

This is an English javascript group, if you want to receive an answer,
write in English =/

--------------------

"I couldn't find literature to construct a function to disable the
buttons responsible for the browser refresh. Like the key F5, Ctrl+R
and the right mouse button. Could anybody help me?

Thanks in advance.

--------------------

I tell you to not control the user... Why do you want to block such
feature?

If you want to block content refreshing just because the users are
making too many requests, make it on the server by analyzing the amount
of requests, you can make the user wait at least 1 minute before you
start feeding content to him again... You can also make something to
auto-update what your users like to refresh, by using the so called
httprequest, that would save some of your bandwidth, whatever...

But you just can't block the browser functions, it's wrong... The user
can close the browser and open it again, he may run your site in a
cellphone or a browser where the refresh key is F9, etc... The browser
is just a host application, the security and everything else is in your
hands ;]
 
M

Michael Winter

On 29/12/2005 14:01, Jonas Raoni wrote:

[snip]
This is an English javascript group, if you want to receive an answer,
write in English =/

Actually, this is an international group and therefore posts in any
language are welcome. However, as there are language-specific groups
(such as the German, de.comp.lang.javascript), these can be a better
alternative in the first instance.

As there is no English-only group, c.l.j does receive predominately
English posts. A poster can, by all means, post in a different language,
but they would be more likely to obtain replies by including an English
translation alongside their preferred language.

See <http://www.jibbering.com/faq/faq_notes/clj_posts.html#ps1Lang>.

[snip]

Mike
 
J

Jonas Raoni

Michael Winter escreveu:
Actually, this is an international group and therefore posts in any
language are welcome.

Hmmm, I don't agree at all, if this group is international, then an
international language should be used... I could write everything in
portuguese, but I doubt people would like to see my strange posts and
it doesn't make sense expecting someone to translate for me...

However, as there are language-specific groups
(such as the German, de.comp.lang.javascript), these can be a better
alternative in the first instance.

Yeah, that's the why I think the language should be respected...
There's a brazilian javascript group on yahoo with more than 2k people,
he could have asked there for example :)


Hmm, not today, I'm going to travel soon... I'll start the year lost in
a trash can xD

Happy new year for everybody hahaha!!!
 
C

Christopher Benson-Manica

Jonas Raoni said:
Hmmm, I don't agree at all, if this group is international, then an
international language should be used... I could write everything in
portuguese, but I doubt people would like to see my strange posts and
it doesn't make sense expecting someone to translate for me...

I'll have to brush upon my Esperanto, I'm afraid. In any case, while
you might not be able to expect a response to your posts in
Portuguese, I don't believe there is any constraint from posting in
that language if you so choose. Of course, establishing topicality
would be somewhat tougher...
 

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

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top