Skip to content

Instantly share code, notes, and snippets.

@renshuki
Last active March 9, 2019 10:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save renshuki/6402732a397bd24a14ad6aba9905533e to your computer and use it in GitHub Desktop.
Save renshuki/6402732a397bd24a14ad6aba9905533e to your computer and use it in GitHub Desktop.
Reset CKEDITOR (ALT+0) keystroke using a Tampermonky/Greasemonkey script to avoid "Accessibility Instructions" to pop up
// ==UserScript==
// @name Reset CKEDITOR Accessibility Instructions (ALT+0)
// @namespace http://tampermonkey.net/
// @version 0.1
// @description If you have your Mac configured with a French keyboard CKEDITOR pops up "Accessibility Instructions" every time you try to make an "@"
// @author renshuki
// @match *
// @grant none
// ==/UserScript==
(function() {
CKEDITOR.config.keystrokes = [ [CKEDITOR.ALT + 48, null] ];
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment