By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,952 Members | 1,937 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,952 IT Pros & Developers. It's quick & easy.

WINDOW.EVENT

P: n/a
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.

Dec 29 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
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

Dec 29 '05 #2

P: n/a
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

--
Michael Winter
Prefix subject with [News] before replying by e-mail.
Dec 29 '05 #3

P: n/a
Michael Winter escreveu:
On 29/12/2005 14:01, Jonas Raoni wrote:
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.


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 :)

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


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

Dec 30 '05 #4

P: n/a
Jonas Raoni <jo********@gmail.com> wrote:
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...

--
Christopher Benson-Manica | I *should* know what I'm talking about - if I
ataru(at)cyberspace.org | don't, I need to know. Flames welcome.
Dec 30 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.