3

Quickbooks Online's web app for macros overrides Chrome's command+shift+t command to open the last closed tab. Is there a way to make Chrome win this fight, or disable Quickbook's keyboard shortcut?

0

option 1:

  • disable JavaScript

    enter image description here

option 2:

  • use an extension and block individual scripts

option 3:

  • use Tampermonkey script:

    // ==UserScript==
    // @name           disable CTRL+SHIFT+T
    // @description    stop website from highjacking keyboard shortcuts
    //
    // @run-at         document-start
    // @include        *
    // @grant          none
    // ==/UserScript==
    keycodes = [84];
    (window.opera ? document.body : document).addEventListener('keydown', function(e) { if (keycodes.indexOf(e.keyCode) != -1 && e.ctrlKey) { e.cancelBubble = true; e.stopImmediatePropagation(); } return false; }, !window.opera);

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.