Learn five quick ways to execute a script for various devices and browsers.
Executing a script is a simple process once you know how to do it. It's easier to do on PCs and laptops, but there are also methods for mobile devices. In some cases it might be also not possible, but we will cover that as well.
Below are the most common ways to run a script on different platforms.
This is the most reliable way to run scripts on most devices. The process is similar across all platforms, but the way to open DevTools varies. Here are the steps for each device type:
You can open the DevTools using any of these shortcuts:
F12 key on your keyboard orCtrl + Shift + J (Windows) or Cmd + Option + J (Mac) orAfter opening DevTools, click on the Console tab at the top. This is where you will paste your script.
Once console is open:
> symbol at the bottom.Ctrl + V).
Safari doesn't include a DevTools console by default, so you need an browser extension:
Troubleshooting iOS:

Standard mobile Chrome doesn't support scripts, so you'll need a different browser:
If you can't open Developer Tools, try this.
javascript: (with the colon!) and then paste your bookmark version script right after it.Important: Many browsers automatically remove the javascript: part when you paste it for security. If it doesn't work, make sure you manually typed javascript: before the script.
If all else fails, you can create a bookmark that runs the script. Remember that you should remove bookmarks and add them again for each new script you want to run.
Ctrl + Shift + B to show it).If none of these methods work, your device or browser might have Administrator Restrictions. This is very common on School Chromebooks or work laptops where the school/company has blocked "Developer Tools" and "External javascript execution" for safety. Unfortunately, there is no way to bypass this without using a personal device.