How To: Run Scriptish from source

supahgreg edited this page Apr 5, 2011 · 8 revisions

So you've cloned Scriptish's repository, made your awesome changes, and want to test your changes without building an .xpi from source? Then you will want to make an extension proxy file.

Installing Scriptish

You should read this link for complete instructions, but the basic steps are:

  1. Find and open your profile folder
  2. Open the extensions subfolder
  3. Create a blank text file named
  4. Open the file and insert, as the one and only line, path\to\your\scriptish\extension\

Development Profile Settings

You should read this link for further reading, but here are the about:config settings that you should have set:

  • javascript.options.showInConsole = true. Logs errors in chrome files to the Error Console.
  • nglayout.debug.disable_xul_cache = true. Disables the XUL cache so that changes to windows and dialogs do not require a restart.
  • javascript.options.strict = true. Enables strict JavaScript warnings in the Error Console.
  • dom.report_all_js_exceptions = true.
  • devtools.errorconsole.enabled = true.
  • javascript.options.showInConsole = true.

Development Command Flags

  • -purgecaches. As of Gecko 2 (Firefox 4), JavaScript files are cached ("fastload"). The -purgecaches command-line flag disables this behavior.
  • -jsconsole. Starts with the Error Console (Javascript Console).
  • -no-remote. Enables running multiple instances of the application with different profiles (used with -P).
  • -P. Starts with a given profile name (profile name is case sensitive). If no profile name is provided then the profile manager is opened.