This article is a mirror article of machine translation, please click here to jump to the original article.

View: 15202|Reply: 0

[Easy language] Easy language blocking prohibits hypertext browsers from right-clicking on the code

[Copy link]
Posted on 1/25/2015 2:53:05 PM | | |
Version 2

Thread ID = Take process thread identifier_ (Hypertext browse box 1. Take window handle (), process ID)
hook handle = set system hook_ (7, & hook function, 0, thread ID)



.subroutine hook function, integer type
.parameter hook code, integer type
.Parameter Parameter 1, integer type
.Parameter Parameter 2, integer type
.local variable focus handle, integer type
.local variable class name, text type

Class Name = Take Blank Text (255)
Focus Handle = Get Focus Window_ ()
Get Class Name_ (Focus Handle, Class Name, 256)
If true (class name = "Internet Explorer_Server" and parameter one = 517)
    Back (1)
If it really ends
Return (call next hook_ (hook handle, hook code, argument one, argument two))






Previous:Baidu Search engine has enabled the SSL+HTTP protocol to encrypt transmissions
Next:Citrix launches XenServer 6.5
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com