Notice
Recent Posts
Recent Comments
Link
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Archives
Today
Total
05-11 00:19
관리 메뉴

zyint's blog

익스플로러 컨텍스트 메뉴에 기능 추가 본문

예전글들

익스플로러 컨텍스트 메뉴에 기능 추가

진트­ 2008. 9. 4. 20:56

익스플로러 컨텍스트 메뉴에 기능 추가

설명

마이크로소프트 인터넷 익스플로러(Microsoft Internet Explorer)에서 페이지에 오른쪽 클릭시 나타나는 메뉴에 사용자가 기능을 추가할 수 있다.

 

미리보기

contextmenu1.jpg

 

기능 추가 예제

  1. @echo off
    rem context menu implementation for face search on the web.
    rem (C)AppliedDevice, 2008
    rem visit http://www.applieddevice.com for more information.

    echo ^<SCRIPT LANGUAGE=”JavaScript”^> > %destfile%
    echo open(’http://phobos.applieddevice.com/facedb/fs.php?imgurl=’ >> %destfile%
    echo + escape(external.menuArguments.event.srcElement.href)) ; >> %destfile%
    echo ^</SCRIPT^> >> %destfile%

    rem add IE context menu
    reg ADD “HKCU\Software\Microsoft\Internet Explorer\MenuExt\얼굴인식 웹 검색” /f /ve /t REG_SZ /d “%destfile%” > NUL
    reg ADD “HKCU\Software\Microsoft\Internet Explorer\MenuExt\얼굴인식 웹 검색” /f /v Contexts /t REG_DWORD /d 2 /f > NUL

 

기능 삭제 예제

  1. del %windir%\web\facesearch.htm
    reg DELETE “HKCU\Software\Microsoft\Internet Explorer\MenuExt\얼굴인식 웹 검색” /f /va

 

참고자료

http://www.applieddevice.com/wp/?p=28

 

 

이 글은 스프링노트에서 작성되었습니다.

Comments