Results 1 to 2 of 2

Thread: รบกวนชี้แนะเรื่อง javascript กับ firefox ครับ ติดมาสองสามวันแล้ว

  1. #1
    Senior Member retool2's Avatar
    Join Date
    Aug 2008
    Location
    Under Relocation
    Posts
    178


    คือผมพยายามที่จะ inject การกด key ใน firefox กับ javascript ครับ
    ซึ่งปกติแล้ว เวลาที่เรากด key ตัว (e) จะมีค่าในนั้น event.keyCode อะไรประมาณนั้นอะครับ
    เวลาเรากดปุ่ม ctrl จะมีค่า event.ctrlKey = true ขึ้นมาซึ่งเอาไปใช้งานในการตรวจสอบได้
    ซึ่งผมต้องการ inject ให้มันหลอกว่าเรากด crtl ไว้ตลอดเวลาแต่จริงๆไม่ได้กด
    ใช้ทำงานกับ javascript นะครับ

    ตัวอย่าง javascript ที่ใช้ test ctrl key นะครับ
    [code]
    <script>
    function pressed(e){

  2. #2
    Senior Member retool2's Avatar
    Join Date
    Aug 2008
    Location
    Under Relocation
    Posts
    178


    ผมได้คำตอบแล้วนะครับ ใช้วิธีการดังนี้
    **Hidden Content: To see this hidden content your post count must be 1 or greater.**

Similar Threads

  1. Replies: 2
    Last Post: 19-10-2009, 04:30 AM
  2. วิธีการเร่งและเพิ่มความเร็วให้กับ Firefox ครับ
    By putter in forum ทิปหรือเคล็ดลับการคอมพิวเตอร์ต่างๆ
    Replies: 0
    Last Post: 23-12-2008, 09:10 PM
  3. FTP บน Firefox โดยใช้ addon ครับ
    By zabzab in forum แนะนำ Software ต่างๆ
    Replies: 0
    Last Post: 12-09-2008, 08:09 AM
  4. แนะนำ firefox 3 beta ครับ
    By bagita in forum แนะนำ Software ต่างๆ
    Replies: 0
    Last Post: 11-07-2008, 05:11 PM
  5. ช่องโหว่ ใน firefox 2 ที่จะแก้ใน firefox 3 ครับ
    By hansa in forum Hacking, Exploit Articles/Tutorial/Techniques
    Replies: 0
    Last Post: 27-02-2008, 05:08 PM

Members who have read this thread : 0

Actions : (View-Readers)

There are no names to display.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •