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 ;]
--
Jonas Raoni Soares Silva
http://www.jsfromhell.com