Here we mainly introduce two methods, one is to use JS to handle, and the other is set in the HTML attribute.Method One: JS1:2:Document.addeventlistener ("ContextMenu", function (e) { e.preventdefault ();}, False);3: Using jquery$ (document). On ({ "ContextMenu": function (e) { console.log ("ctx menu button:", E.which); Stop the context menu e.preventdefault (); }, "MouseDown": function (e) { console.log ("Normal mouse Down: ", E.which); }, " Mous
In the IE6 era, browsers did not have tabs paging through this feature. Starting from IE7, IE browser has introduced the TAB function, allowing us to open multiple Web pages at the same time in an IE window, this function has been extended to the current IE10.
In IE7, IE8, this function has always been the same as other browsers. By the IE9, Microsoft has made improvements to the tab feature, introducing the function of the tag group. But in the IE7 to IE9 era, browsers must turn on this featur
First we need to understand why IE9 will pop up the prompts. IE9 defaults to set an open timeout (0.2-second standard time) and IE9 prompts if the total load time used by all load controls exceeds this standard when we open the page. It is not possible to open the prompt manually, so you can wait for the prompt to appear and then modify it.
For the load time that the add-in requires, we can click "Manage Add-ins" in the Program tab of the Internet option and
Win7 To disable IE browser method
1, first click the Start menu, select the Control Panel, as shown in the picture:
2, after the Control Panel window, find the Program option subkey "Uninstall program" and open it, as shown in the figure:
3, at this time pop-up program and function window, we click on the left side of the "Turn on or off Windows features" option
4, Waiting for Windows function window loaded, find Internet Explorer (t
Laptop USB Port Settings Disable Unlock method:
1, first, click on the lower left corner "start-run" or the combination of "win+r", pull up the running window, the following figure
2, then, in the window input "regedit" instructions. Click "OK". The following figure
3, the next step into the Registry Editor window. The following figure
4, according to the hkey_local_machinesystemcurrentcontrosetservices path to
Windows XP and Windows 20,001 can act as HTTP servers, mail servers, and FTP servers, so when Windows XP starts, many services are started, and there are many services that are completely useless for our average users. So it's a good choice to turn them off.
Steps/Methods
Right-click My Computer, select Management/Services and applications/services, and then disable the unwanted service components.
Attention matters
Some services are required b
WIN8 Disabling EFS encryption is as follows:
1, right click on the desktop space, under the desktop pop-up "All applications" option, left click "All applications."
2, drag the right below the scroll bar or scroll down the mouse wheel key to find the "run" option.
3, left click "Run".
4, the second way to enter the "Run" method. Press the "Windows" and "X" keys on the keyboard and click "Run".
5, type secpol.msc, left-click OK.
6.
A feature called insert mode is added to Word 2007 to allow users to control overtype mode using the Insert key. When insert mode is enabled, the user can toggle the insert or overwrite state by using the Insert key. If you are in a overtype state, the user can rewrite the text directly at the cursor to other text.
Before you use this feature, you must first enable it. The following is a detailed procedure for enabling the Word 2007 Insert mode.
1. Click the Office button in the upper-left cor
The Program Compatibility Assistant is a feature within the Win7 operating system that monitors the programs installed and run by the user and detects known compatibility issues. If there is a compatibility problem, the system will play the window to remind the user to use the recommended settings to reinstall. How do you disable the Program Compatibility Assistant service? Let's talk about the Win7. Disables the method of the Program Compatibility As
Method 1: Change the/etc/inittabShieldingCa:12345:ctrlaltdel:/sbin/shutdown-t1-a-R NowOr delete a diverted contentSave exitApplicable object: RedHat4.8 RedHat 5.4 RedHat 5.5Method 2: Change the/etc/init/control-alt-delete.confEdit/etc/init/control-alt-delete.confShieldingStart on Control-alt-deleteExec/sbin/shutdown-r Now "Control-alt-delete pressed"Save exitor save changes to document {recommend using the following methods in shell scripts}#\mv/etc/init/control-alt-delete.conf/etc/init/control-
Recently installed VSFTPD to do FTP service, found that the system user login shell is set to/sbin/nologin, you cannot use the FTP service. Online data said that VSFTPD will be for each FTP login user to check the corresponding login shell in/etc/shells, so you need to add a line of/sbin/nologin. But I/etc/shells the document clearly has/sbin/nologin.
[Plain]View PlainCopy
[Email protected] ~]# vsftpd-v
Vsftpd:version 2.2.2
[Email protected] ~]# Cat/etc/shells
/bin/sh
/bin/bash
/s
routing ip binding 2.png"/>3. Another reliable way is to manage the Internet. Detected in the LAN which computer plugged in with a few mobile phone wifi,wifi, mobile phone models can be detected, and then the IP to do more stringent Internet blocking strategy and related push notification and so on, (each family according to their own work)650) this.width=650; "Src=" http://www.imfirewall.com/blog/zb_users/upload/2017/06/201706231498211269106026.jpg " Title= "201706231498211269106026.jpg" alt=
();The best way:$.ajaxsetup ({cache:false})This is done for all AJAX requests on the page. You do not have to change the finished n interfaces ... Encountered when doing PH projectIf you are performing an AJAX modification, take into account the speed of the Ajax problem, be sure to invoke the query in the Ajax execution callback function. The execution of the command for Ajax is complete and the data is modified successfullyIf the query statement is not written in the Ajax callback function, b
Set Oenableverb = Nothing
Set Odisableverb = Nothing
s = "Verbs:" vbCrLf
For each verb in olanconnection.verbs
s = S vbCrLf Verb.name
If Verb.name = Senableverb Then
Set Oenableverb = verb
Benabled = False
End If
If Verb.name = Sdisableverb Then
Set Odisableverb = verb
End If
Next
' Debugging displays left just ...
'
' MsgBox S ': Wscript.Quit
' MsgBox ' Enabled: " benabled": Wscript.Quit
' Not sure why, but Invokeverb always seemed to work
' for-enable but not
One, the right mouse button is prohibited menu:
There are two ways to disable the right mouse button
1, add the JavaScript event handle in the body tag of the HTML element, the code is as follows:
Copy Code code as follows:
Note: You can also prohibit the right button in the location specified in the Web page. For example, you just want to ban a page in a picture on the right to download, or you just want to be in the page of
Disabled
The code is as follows
Copy Code
To disable a button with ID btn:$ ("#btn"). attr ({"Disabled": "Disabled"});Or$ ("#btn"). attr ("Disabled", "disabled");Cancel Disabled:$ ("#btn"). Removeattr ("Disabled");Or$ ("#btn"). attr ("Disabled", "");
readonlyC
code is as follows
copy code
$ (' input '). attr ("ReadOnly", "ReadOnly")//sets the INPUT element to ReadOnly $ (' inpu
Recommendations on security: Disabling the Http-get and Http-post protocols for XML Web Services that are in use
Microsoft Corporation
February 2002
Summary: For security reasons, Web service operators may need to disable Http-get and Http-post message processing protocols for XML Web services. Disabling these protocols helps prevent external Web sites from maliciously communicating with XML Web services on your Intranet.
Introduction to asp.net XML W
See the MVP using WebClient and WebRequest classes to get the Web page source code so want to write their own point, of course, refer to its approach.
This time I downloaded the Visual Web Developer
The code was written in the previous article,
My btn function is as follows
String urlpage = "";Urlpage = Urltext.text;WebRequest request = WebRequest.Create (urlpage);WebResponse response = Request. GetResponse ();Stream Resstream = Response. GetResponseStream ();StreamReader sr = new StreamReader (
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.