'Check'에 해당되는 글 4건
- 2010/02/18 AMD-V Hyper-V System Compatibility Check Utillity 1.0
- 2009/07/20 Javascript : Microsoft OS & Internet Explorer Agent Check
- 2007/05/29 자바스크립트 키코드를 이용한 엔터 처리
- 2007/05/19 나이가 만 14세 이상인가? Javascript 체크
AMD-V Hyper-V System Compatibility Check Utillity 1.0

http://www.kbench.com/software/?flag=1&pcc=0&pg=1&keyword=&no=34774
집에 있는 PC가 AMD CPU를 사용하고 있어서 가상화(Virtualization)의 필두인 Hyper-V를 지원하는지 궁금해지더군요.
혹시 한번 찾아보니 확인하는 유틸이 있어 스크랩했어요.
이하 내용은 참조 사이트에서 발췌한 설명입니다.
AMD-V Hyper-V System Compatibility Check 유틸리티는 AMD CPU에서 AMD Virtualization 기술과 Microsoft Hyper-V 기술을 지원하는지 여부를 테스트 해주는 기능을 가지고 있습니다.
윈도우 7 에서 지원하는 가상 XP 모드는 사용자의 AMD CPU가 AMD-V(AMD Virtualization) 기술을 지원해야 사용할 수 있습니다.
지금 소개해드리는 AMD-V Hyper-V System Compatibility Check 프로그램을 이용하시면 간단하게 알 수 있습니다.
이 프로그램은 프리웨어입니다.
'System > OS' 카테고리의 다른 글
| debugging tools for windows - Crash Dump (0) | 2011/02/24 |
|---|---|
| Windows 7 64비트 지원 백신 - Microsoft Security Essentials (0) | 2010/03/16 |
| AMD-V Hyper-V System Compatibility Check Utillity 1.0 (0) | 2010/02/18 |
| Install Windows 7 via USB Drive (0) | 2009/09/21 |
| C#, Windows Installer 를 통한 설치 프로그램 목록 얻어오기 (3) | 2009/03/18 |
| MSI파일의 ProductCode 얻기 - How to find the ProductCode .MSI for uninstall (0) | 2009/03/17 |
Javascript : Microsoft OS & Internet Explorer Agent Check

Web Page에서 브라우저와 OS에 따라 다른 조치를 해야 하는 경우가 있습니다.
그래서 브라우저에서 받아올 수 있는 User Agent 값을 분석해서 이에 이용하게 되죠.
다음과 같이 값을 체크하는 부분을 공통으로 작성하여 가져다가 쓰면 좋을 것 같네요.
테스트 페이지(Test page): BrowserTest.html
<html>
<head>
<title>Browser Agent Test</title>
<script type="text/javascript">
function BrowserIs()
{
var agt = navigator.userAgent.toLowerCase();
this.osver = 1.0;
if (agt)
{
var stOSVer = agt.substring(agt.indexOf("windows ") + 11);
this.osver = parseFloat(stOSVer);
}
this.major = parseInt(navigator.appVersion);
this.nav = ((agt.indexOf('mozilla')!=-1)&&((agt.indexOf('spoofer')==-1) && (agt.indexOf('compatible')==-1)));
this.nav2 = (this.nav && (this.major == 2));
this.nav3 = (this.nav && (this.major == 3));
this.nav4 = (this.nav && (this.major == 4));
this.nav6 = this.nav && (this.major == 5);
this.nav6up = this.nav && (this.major >= 5);
this.nav7up = false;
if (this.nav6up)
{
var navIdx = agt.indexOf("netscape/");
if (navIdx >=0 )
this.nav7up = parseInt(agt.substring(navIdx+9)) >= 7;
}
this.ie = (agt.indexOf("msie")!=-1);
this.aol = this.ie && agt.indexOf(" aol ")!=-1;
if (this.ie)
{
var stIEVer = agt.substring(agt.indexOf("msie ") + 5);
this.iever = parseInt(stIEVer);
this.verIEFull = parseFloat(stIEVer);
}
else
this.iever = 0;
this.ie3 = ( this.ie && (this.major == 2));
this.ie4 = ( this.ie && (this.major == 4));
this.ie4up = this.ie && (this.major >=4);
this.ie5up = this.ie && (this.iever >= 5);
this.ie55up = this.ie && (this.verIEFull >= 5.5);
this.ie6up = this.ie && (this.iever >= 6);
this.ie7up = this.ie && (this.iever >= 7);
this.ie8up = this.ie && (this.iever >= 8);
this.win16 = ((agt.indexOf("win16")!=-1)
|| (agt.indexOf("16bit")!=-1) || (agt.indexOf("windows 3.1")!=-1)
|| (agt.indexOf("windows 16-bit")!=-1) );
this.win31 = (agt.indexOf("windows 3.1")!=-1) || (agt.indexOf("win16")!=-1) ||
(agt.indexOf("windows 16-bit")!=-1);
this.win98 = ((agt.indexOf("win98")!=-1)||(agt.indexOf("windows 98")!=-1));
this.win95 = ((agt.indexOf("win95")!=-1)||(agt.indexOf("windows 95")!=-1));
this.winnt = ((agt.indexOf("winnt")!=-1)||(agt.indexOf("windows nt")!=-1));
this.win32 = this.win95 || this.winnt || this.win98 ||
((this.major >= 4) && (navigator.platform == "Win32")) ||
(agt.indexOf("win32")!=-1) || (agt.indexOf("32bit")!=-1);
this.os2 = (agt.indexOf("os/2")!=-1)
|| (navigator.appVersion.indexOf("OS/2")!=-1)
|| (agt.indexOf("ibm-webexplorer")!=-1);
this.mac = (agt.indexOf("mac")!=-1);
this.mac68k = this.mac && ((agt.indexOf("68k")!=-1) ||
(agt.indexOf("68000")!=-1));
this.macppc = this.mac && ((agt.indexOf("ppc")!=-1) ||
(agt.indexOf("powerpc")!=-1));
this.w3c = this.nav6up;
}
function ObjectStripShow(obj, outputDivId)
{
var outputStr = "";
for (var i in obj) outputStr += i + " = " + eval('obj.' + i) + "<br/>\n";
if (outputDivId == null || document.getElementById(outputDivId) == null)
document.write(outputStr);
else
document.getElementById(outputDivId).innerHTML = outputStr;
}
window.onload = function()
{
var bi = new BrowserIs();
ObjectStripShow(bi, 'output');
};
</script></head>
<body>
<div id="output">
</div>
</body>
</html>
결과(Result ):
osver = 5.2
major = 4
nav = false
nav2 = false
nav3 = false
nav4 = false
nav6 = false
nav6up = false
nav7up = false
ie = true
aol = false
iever = 7
verIEFull = 7
ie3 = false
ie4 = true
ie4up = true
ie5up = true
ie55up = true
ie6up = true
ie7up = true
ie8up = false
win16 = false
win31 = false
win98 = false
win95 = false
winnt = true
win32 = true
os2 = false
mac = false
mac68k = false
macppc = false
w3c = false
'Web > JavaScript' 카테고리의 다른 글
| Javascript - Element Opacity Control for Cross Browser (0) | 2010/02/18 |
|---|---|
| Ext JS 3.0 (0) | 2009/09/23 |
| Javascript : Microsoft OS & Internet Explorer Agent Check (0) | 2009/07/20 |
| Javascript – 이벤트 추가 (0) | 2009/05/08 |
| 스크립트에서 클라이언트 프로그램 실행 시키는 방법 (3) | 2009/02/17 |
| [js]브라우저의 오른쪽 상단의 X표시를 누르거나 창을 닫을때 이벤트 잡기! (1) | 2009/01/05 |
일반적으로 하나의 폼에서 다중의 submit을 구현하거나
페이지에서 키코드를 막거나 기타 여러가지에서 키 이벤트를 처리한다.
function checkEnter(evt)//window.event
{
if ( evt.keyCode == 13 )//ENTER KEY CODE
{
return false;
}
else
{
return true;
}
}
위 코드는 엔터에 해당하는 키코드를 받아 false를 리턴해주는 이벤트 델리게이트다.
따라서 onkeypress 등의 이벤트에 써주면 유용하게 사용할 수 있다.
ps. 각 키에 대한 이벤트 코드를 잘 정리해둔 사이트가 있네요 ^ ^
아래 링크를 확인하세요~
http://27m.net/v8/bbs/view.php?id=information&no=331
http://www.phpschool.com/gnuboard4/bbs/board.php?bo_table=tipntech&wr_id=23836
'Web > JavaScript' 카테고리의 다른 글
| 간만에 자바스크립트 99단 소스 (0) | 2007/07/03 |
|---|---|
| 자바스크립트 (0) | 2007/06/16 |
| 자바스크립트 키코드를 이용한 엔터 처리 (0) | 2007/05/29 |
| 자바스크립트 trim() 메소드 구현 (1) | 2007/05/27 |
| 자바스크립트로 이메일 체크 (0) | 2007/05/26 |
| password 필드를 javascript로 유효성 검사 (0) | 2007/05/25 |
Trackback : http://i-ruru.com/trackback/52
-
Subject 필요할때 찾으면 없는 이벤트 키코드(event.keyCode)
2009/02/13 15:58
뭐든 꼭 필요할때 찾으면 없는 이상한 머피의 법칙;;그중에 하나가 이벤트 키코드다.그래서 귀찮아도 남겨 놓는게 좋을 것 같다는 생각이 들었다.개별 키코드를 알고 싶은 경우 아래와 같은 함수를 이용해서 하나 하나 눌어보는 방법;;;;function keyCheck(){ alert("키번호는 [..
나이가 만 14세 이상인지 확인하려면 어떻게 해야할까?
뭐 여러가지 방법이 있겠지만
가장 간단한 방법을 소개한다.
(GNU Board 에서 발췌한 소스)
if (typeof(f.mb_birth) != 'undefined') {
var todays = 20070512;
// 오늘날짜에서 생일을 빼고 거기서 140000 을 뺀다.
// 결과가 0 이상의 양수이면 만 14세가 지난것임
var n = todays - parseInt(f.mb_birth.value) - 140000;
if (n < 0) {
alert("만 14세가 지나지 않은 어린이는 정보통신망 이용촉진 및 정보보호 등에 관한 법률\n\n제 31조 1항의 규정에 의하여 법정대리인의 동의를 얻어야 하므로\n\n법정대리인의 이름과 연락처를 '자기소개'란에 별도로 입력하시기 바랍니다.");
return;
}
}
- 나의 생일이 '19810115'의 형식으로 f(form 객체).mb_birth(input text의 textbox의 id) 에 저장되어 있다.
- 오늘의 날자를 구한다.
- 오늘의 날자에서 내 생일을 뺀다.
- 140000을 더 뺀다.
- 결과값이 0보다 작으면 만 14세가 지나지 않은것이다.
- 결과값이 0보다 크거나 같으면 만 14세 이상이다.
'Web > JavaScript' 카테고리의 다른 글
| 자바스크립트 라이브러리들의 벤치마크 (0) | 2007/05/22 |
|---|---|
| 주민등록번호 체크 자바스크립트 (0) | 2007/05/22 |
| 나이가 만 14세 이상인가? Javascript 체크 (0) | 2007/05/19 |
| 거꾸로 시간 카운트 되는 자바스크립트 (0) | 2007/05/16 |
| 화면의 특정부분만 인쇄하는 자바스크립트 (2) | 2007/05/15 |
| 시간 거꾸로 초 세는 자바스크립트 new Date() (0) | 2007/05/01 |
Prev




