Tampermonkey® by Jan Biniok

Q402: I want to use an external editor to edit my scripts. How can this be done?

A402 There are multiple possible ways:

  • Chrome (and derivates users) can export and @require the local copy
    • Open Tampermonkey's dashboard, open the script and copy its content.
    • Create a local file and paste the content
    • Remove all content from the script inside Tampermonkey except the "UserScript" header
    • Add a @require tag with the path to the local file that you want to include in the script. For example, if the file is located at C:\Users\[USERNAME]\Documents\myscript.js, you would add the following line to the script:
      // @require       file://C:/Users/[USERNAME]/Documents/myscript.js
      
    • Finally enable local file access.
  • You can try TamperDAV
  • You can try the Tampermonkey Editors extension to edit the script at vscode.dev