-
Notifications
You must be signed in to change notification settings - Fork 1
Run JS Code Bookmark
SparkTricks edited this page Dec 6, 2022
·
1 revision
-
If your bookmark bar is already activated, skip this step. Otherwise, press
Ctrl+Shift+B. -
Copy this text below:
javascript:var prmpt = prompt("Enter the code.");try{eval(prmpt);alert('done')}catch(e){alert(e)}-
Right click on the bookmark bar and click
Add Page. -
Type the name you want for the bookmark into the Name box. I'd recommend naming it
Run JS Code. -
Paste the text into the URL text bar.
-
Below the URL section, click
Main Bookmarks. -
Press Done.
You MUST click the bookmark on the page you want the code to run on, otherwise it won't work.
Sometimes it might not work.