⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 antivirus.js

📁 javascript source code part2
💻 JS
字号:
/*
   antivirus.js
   - determine whether the latest antivirus software is installed
   - assumes existence of following regkey:
    HKCU\Software\AntiVirusVendor\LatestUpdate
*/

var iVirusRet;

function CheckAntiVirusStatus()
{
   var iInstVer = objShell.RegRead
                  ("HKCU\\Software\\AntiVirusVendor\\LatestUpdate");

   if (iCurrVer > iInstVer)
   {
      iVirusRet = objShell.Popup (getResource("resUpgrade"), // window msg   
                  0,                                         // no auto-hide
                  "Antivirus upgrade required",              // window title
                  48 + 4);                                   // window styles 
                                                      // exclamation + yes/no 
   }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -