mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-27 06:32:23 +00:00
964 B
964 B
A basic term-like startpage with tree structure
For using it in Firfox follow the following steps -:
- Make a file called
enable-autoconfig.js
in/usr/lib/firefox/browser/defaults/preferences
add this to that file:-
// enable autoconfig
pref("general.config.sandbox_enabled", false);
pref("general.config.filename", "autoconfig.cfg");
pref("general.config.obscure_value", 0);
- Make
autoconfig.cfg
in/usr/lib/firefox
and add this to it:-
var {classes:Cc,interfaces:Ci,utils:Cu} = Components;
/* set new tab page */
try {
Cu.import("resource:///modules/AboutNewTab.jsm");
var newTabURL = "file://<path to html file>";
AboutNewTab.newTabURL = newTabURL;
} catch(e){Cu.reportError(e);} // report errors in the Browser Console
Remember to change the path to where you store the HTML files
Use Discord.css with stylus(extension) to enable css in discord