Keep the window permanently in front, shielding the browser from the maximum button, screen IE all keyboard functions?

Source: Internet
Author: User
Tags delete key functions key net window
Buttons | browser | maximize

Ask:

How do I keep a window permanently at the top of all windows?

How to screen out the browser's Maximize button "-"?

How to block all the keyboard features of IE browser? such as: Ctrl + N, Ctrl+p, Ctrl+s, Ctrl+e, Ctrl+h, alt+→, alt+←, and so on.

URGENT and URGENT!!!!!
______________________________________________________________________________________________
Answer 1:
Write your own ActiveX! FindWindow, and then do whatever you have!
______________________________________________________________________________________________
Answer 2:
http://www.21ic.com/
______________________________________________________________________________________________
Answer 3:
<body Onblur=focus () Onresize=resizeto (800,600) onkeydown= ' with (window.event) if (altkey| | Ctrlkey) {alert ("sorry"); Keycode=0;returnvalue=false} ' >

_______________________________________________________________________________________ _____
Answer 4:
<script language= "JavaScript"
Aa=window.open ("aaa.htm", "Win", "fullscreen=1,toolbar= 0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0 ");
Aa.blur ();
Self.focus ();
Aa.resizeto (640,480);
Aa.moveto (screen.availwidth/2-320,screen.availheight/2-240);
Ontopintervalhandle = Aa.setinterval ("Window.opener.aa.focus ();", 10);
</script>
_______________________________________________________________________________________ ___
Answer 5:
aaa.htm:


<meta http-equiv= "Content-type" content= "text/html; charset=gb2312 ">
<noscript><meta http-equiv= "Refresh" content= "0;url=about:noscript" >
</noscript><title> screen right mouse button, CTRL + N, SHIFT+F10, F5 refresh, backspace key </title>
<body
oncontextmenu= "Event.returnvalue=false" >

<script language= "Javascript" ><!--
Screen the right mouse button, CTRL + N, SHIFT+F10, F5 refresh, backspace key
Author:meizz (Plum blossom rain) 2002-6-18

function KeyDown () {
if ((Window.event.altKey) &&
((window.event.keycode==37) | | Shielding ALT + Direction key ←
(window.event.keycode==39))) {//Shielding ALT + Direction key →
Alert ("You are not allowed to use ALT + arrow keys forward or back page!") ");
Event.returnvalue=false;
}

* Note: This is not really shielding ALT + arrow keys,
Because ALT + ARROW keys pop-up warning box, hold down the ALT key,
With the mouse point off the warning box, this shielding method is invalid. Later if
There is a master who has really shielded the Alt key method, please inform. */

if ((event.keycode==8) | | Mask BACKSPACE Delete key
(event.keycode==116) | | Mask F5 Refresh Key
(Event.ctrlkey && event.keycode==82)) {//ctrl + R
event.keycode=0;
Event.returnvalue=false;
}
if ((Event.ctrlkey) && (event.keycode==78))//Shield CTRL + N
Event.returnvalue=false;
if ((Event.shiftkey) && (event.keycode==121))//Shielding SHIFT+F10
Event.returnvalue=false;
if (Window.event.srcElement.tagName = "A" && Window.event.shiftKey)
Window.event.returnValue = false; Screen shift plus left mouse button new page open
if ((Window.event.altKey) && (window.event.keycode==115)) {//Shield ALT+F4
Window.showmodelessdialog ("About:blank", "" "," dialogwidth:1px;dialogheight:1px ");
return false;}
}
/* can also be used to screen all the menu of IE window.open
The first method:
window.open ("Your. htm", "", "toolbar=no,location=no,directories=no,menubar=no,scrollbars=no,resizable=yes,status= No,top=0,left=0 ")
The second way is to open a Full-screen page:
window.open ("Your. asp", "", "Fullscreen=yes")
*/
--></script>
&LT;H2 align=center> Screen Mouse right button, CTRL + N, SHIFT+F10, F5 refresh, backspace </body>
______________________________________________________________________________________________
Answer 6:
Does anyone want to see this page?
______________________________________________________________________________________________
Answer 7:
Brother. You've sent the wrong place.

How do I keep a window permanently at the top of all windows?

How to screen out the browser's Maximize button "-"?

This question suggests you go to the visual c++,visual Basic,delphi to ask.

It's impossible to use JavaScript!!!!!

______________________________________________________________________________________________
Answer 8:
How do I keep a window permanently at the top of all windows?

<body onblur= "Window.focus ()" >
______________________________________________________________________________________________
Answer 9:
The F11 key looks like this also has the necessity to shield!
______________________________________________________________________________________________
Answer 10:
This kind of Web page will only run the popularity.
______________________________________________________________________________________________
Answer 11:
Use
ShowModalDialog

---------
Learn every day and get up well
Www.51windows.com

______________________________________________________________________________________________
Answer 12:
Hey ... showmodaldialog is really the kind of window you need.
Write code, Nature has the above characteristics. :)

<script>
var wo=showmodaldialog (' Www.csdn.net ', ', ', ' dialogwidth:800px;dialogheight:600px;status:no;help:no ');
</script>
================================================================
I am "old" rookie one, please many experts advice!
------Study hard and surf the internet every day! --------
→→→→→→→→→→→→→→→→→→→→
Http://www.boy.net.cn/home0/goldenlove
←←←←←←←←←←←←←←←←←←←←
Thanks to the CSDN assistant for signing my signature automatically.
Www.chinaok.net
================================================================

______________________________________________________________________________________________
Answer 13:
Goldenlove (cool. net)
<script>
var wo=showmodaldialog (' Www.csdn.net ', ', ', ' dialogwidth:800px;dialogheight:600px;status:no;help:no ');
</script>

How do you shield off the button, Sheila?

______________________________________________________________________________________________
Answer 14:
To Autumn
Your onblur=focus.
This is not possible.
Must have a delay process before you can

______________________________________________________________________________________________
Answer 15:
Meizz (Plum blossom rain):
Your method of shielding ALT + Direction key can be completely shielded under the ie6.0.

______________________________________________________________________________________________
Answer 16:
Shielding Ctrl+alt+del?
______________________________________________________________________________________________
Answer 17:
The onkeydown in the body adds the following events to screen out the keyboard
<body >
function Keyhandler (e)
{
event.returnvalue=0;
}
______________________________________________________________________________________________
Answer 18:
In the body of the onkeydown add the following events can be blocked off special keys, such as: Shift+n,ctrl+n, etc.
<body >
function Keyhandler (e)
{
if ((event.shiftkey+ "N") | | (event.ctrlkey+ "N"))
event.returnvalue=0;
}

______________________________________________________________________________________________
Answer 19:
It doesn't make sense.
—————————————————————————————————
I want to do what I do 156838384 ^-^

______________________________________________________________________________________________
Answer 20:
Add one more sentence <body >
______________________________________________________________________________________________
Answer 21:
To Meizz (Plum blossom rain):

So how do you block it in an IFRAME that can be edited? Ctrl + N and the right mouse click?



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.