JS/CSS/HTML/preprocessing for domains

Javascript (load when page completes, earliest loaded JS should use sitecss).

CSS style and earliest loaded JS

If file "default.css" exists, the style will be applied to all sites not matching [domain root].css.

Extra html and preprocessing

The extra html could be placed before the site source html (uweb merges the extra html with the site source html intelligently). Ex. when the extra html ends with "<textarea>", the site source html appears as the value of the textarea element, thus the extra html can further process the the site source html before rendering. For sites with textarea elements, "<div><textarea>" could be used.

"sitejs/.js", "sitecss/.css", "sitecss/.js" and "siteextra/.html" are applied to all non-http urls (file urls etc.).