Re: [Vimprobable-users] Changing the hints CSS and other config without recompile
Vimprobable is a lean web browser optimised for full keyboard control
Brought to you by:
hanness
|
From: Daniel C. <dan...@gm...> - 2014-12-23 18:34:41
|
> Von: "Hannes Schüller" <ha...@yl...>
> > and to add a stylesheet with the default
> > styling of the hint elements.
>
> This, however, I'm not so keen on. It has been the browser's policy so
> far never to create files, but only to populate them if the user
> creates them first. I.e. the browser can be run on any system without
> leaving any traces. I still like this. Opinions?
Oh, I didn't ment to write something into the style.css file. I thought
of adding the default style to the html header as style tag.
var e = document.createElement("style");
e.innerHTML = ...;
document.head.appendChild(e);
This means the style is considered to be the pages style and can easily
overwritten by the user styles read from style.css file.
Daniel
|