Skip to content

Can't prevent some browsers events #56

@alexfrad

Description

@alexfrad

Hi,
I've been trying to add this to a website for quite some times. Everything works fine on Chrome and Opera, but when comes the time for Firefox and Edge the browser actions happen before the ComboKey's one.
For example:

$(document).ready(function () {
    var cb = new Combokeys(document);
    cb.bind('option+t', function(e) { debugger; console.log('Hello World'); return false; });
}

When doing the action on Firefox the 'Tools Menu' appear and then I get to do on debugger, etc.
In Edge, firing alt+d select the browser navigation bar.
Some help would be nice!
Thanks, Alexandre.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions