admc / xush

A JavaScript shell drawn in the Firefox content space, with hooks into XUL and XPCOM.

This URL has Read+Write access

xush / xush.py
100644 11 lines (7 sloc) 0.27 kb
1
2
3
4
5
6
7
8
9
10
11
import os
import mozrunner
from mozrunner import global_settings
basedir = os.path.abspath(os.path.dirname(__file__))
 
global_settings.MOZILLA_PLUGINS = [os.path.join(basedir, 'xush/extension'), basedir+'/venk.xpi']
 
moz = mozrunner.get_moz_from_settings()
 
moz.start()