Thread:TheGoldenPatrik1/@comment-24634078-20190305222659/@comment-31984232-20190327230431

Your description was rather vague...

Like this? var keys = {}; $(document).on('keydown', function (e) {	keys[e.which] = true;	// load AjaxEdit if you hit R	if (keys[82]) {		$('#ca-ajax-edit').click;	}	// load FindAndReplace if AjaxEdit is loaded and you hit F	mw.hook('AjaxEdit.session').add(function { if (keys[70]) { $('#ajax-edit__buttons-replace').click; }	});	$('input, textarea').focus(function { return; }); }).on('keyup', function (e) {	keys[e.which] = false; });/**/