Paste Text on Sites That Block It Without Extensions or Browser Hacks

Published

It’s 2022, and there are still annoying sites that block pasting into form fields, for passwords, or your bank’s account and routing numbers. If you look up how to bypass this copy-paste restriction, the three most common solutions all have downsides:

Today, I’ll show you a simple and safe way to paste on any site that blocks it, using any browser. The easiest and fastest way I’ve found to do this is with Keyboard Maestro, and it only requires a single action.

To keep this page light in size, the screenshots are low quality, but if you click on them, you’ll get the high-res image.

  1. Launch Keyboard Maestro
  2. ⌘-N to create a new Macro (or File -> New Macro)
  3. It should look like this: Keyboard Maestro New Macro
  4. In the right pane, replace “Untitled Macro” with a descriptive name like “Paste in sites that block it” Keyboard Maestro Rename Macro

  5. Click on the “New Trigger” green button and select “Hot Key Trigger”, which should be the first choice. Keyboard Maestro New Trigger Button

  6. Type in your desired hot key, such as ⌃⌥⌘P (control-option-command-P), then click on the “New Action” green button at the bottom of the right pane. Keyboard Maestro Insert Token

  7. You should now see an Actions pane on the left that you can search through. Type “insert” in the search field, then double-click on “Insert Text by Typing” Keyboard Maestro Insert Text by Typing Action

  8. With the cursor inside the text field, click on “Insert Token” above the top right of the text field, then choose “Clipboard”, then “System Clipboard”. You can also directly type %SystemClipboard%. Keyboard Maestro Insert System Clipboard Token

  9. Click the Edit button at the bottom of the window to get out of edit mode. And that’s it!

Now, whenever you need to paste something into a field on one of those pesky sites, all you need to do is press your hot key and Keyboard Maestro will insert it into the field one character at a time as if you were typing it yourself, except it will do it much faster.

To take it a step further, you can create macros that will insert specific text without having to first copy it from somewhere like 1Password. For example, I have two separate macros to insert my bank routing and account numbers that I trigger by typing brout and bnum. You can see them listed in the middle Macros pane in the first three screenshots above.

Those macros are very similar to the one above. The only difference is that the trigger is “Typed String Trigger” instead of “Hot Key Trigger”, and instead of %SystemClipboard%, I put in my actual bank routing or account number.

There you have it. I hope you learned something new today. And if you were already doing something similar with a different tool, I’d love to hear about it. Let me know on Twitter or email me.