1

I'm looking for a Chrome plugin that allows me to save scripts and execute them as if they were being run from the Console window.

There are occasions when I write a small script to do some laborious task on a website. I run these scripts from the Console. For example:

  • Trigger downloads sequentially from a site
  • Edit some known selected text to convert it from markdown to HTML.

I would like to be able to save these scripts and easily re-execute them - ideally from something like a right-click menu.

1
  • 1
    You don't need a plugin, you can simply use the existing bookmark feature and save JavaScript code as the bookmark URL. Using it that way is often called bookmarklet.
    – Robert
    Commented Feb 3, 2022 at 19:53

1 Answer 1

1

Install a user script manager, e.g. the Greasemonkey or Tampermonkey plugins, and check out their script-repositories such as Greasyfork.org.

For example, I use the "all [Heise forum] comments on one page" script, and some IMDB enhancements.

AFAIK, these Userscript Managers don't rely on the browser console though.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.