Skip to content

Send Javascript to Browser

Description

This action sends javascript to the browser as if you typed it in the console. It can be used to automate tasks in the browser.

Supported browsers:

  • Arc
  • Brave
  • Google Chrome
  • Orion
  • Safari
  • Vivaldi

Setup

To enable this feature, you'll need to permit 'JavaScript from Apple Events' from the browser menu you are using. You need to do this only once.

Safari

Safari Allow Javascript From Apple Events

Google Chrome

Google Chrome Allow Javascript From Apple Events

Tips

  • Test the script in the browser console first. If it works, copy it to the action.