Resource icon

Forum Shortcuts

gouwepeer.nl

Well-known member
gouwepeer.nl submitted a new resource:

Forum Shortcuts - Create shortcuts on your forum.

Easily create shortcuts on your forum.
Create a new template (keybord_shortcuts) and enter the code for the desired shortcuts.
Example with 3 shortcuts:
JavaScript:
<script>
      
          document.addEventListener('keydown', function(event) {
      // Check if the pressed key is the 'A' key and both the Ctrl and Alt keys are pressed
      if ((event.key === 'a' || event.key === 'A') && event.ctrlKey && event.altKey) {
        // Define the URL you want to navigate to
        let...

Read more about this resource...
 
Cool idea! It may be better to use the kbd HTML tag instead of button so the shortcuts don't act clickable:

 
Back
Top Bottom