Skip to content

Alert HTML of Part Bookmark

SparkTricks edited this page Dec 6, 2022 · 1 revision

Alert HTML of Part

Instructions

  1. If your bookmark bar is already activated, skip this step. Otherwise, press Ctrl+Shift+B.

  2. Copy this text below:

javascript:var prmpt = prompt("Enter the code.");try{eval(prmpt);alert('done')}catch(e){alert(e)}
  1. Right click on the bookmark bar and click Add Page.

  2. Type the name you want for the bookmark into the Name box. I'd recommend naming it Alert HTML of Part.

  3. Paste the text into the URL text bar.

  4. Below the URL section, click Main Bookmarks.

  5. Press Done.

Tip

You MUST click the bookmark on the page you want the code to run on, otherwise it won't work.

Note

You must hover over the part to get the HTML. To get rid of the alerting, refresh the page.