Javascript - Declare Domain persistent CSS or JS -


currently have local network(intranet) set 40,000 directional html files not following file layout ever. files contain no headers while others contain no bodies others contain custom scripts , on.

my issue of these files have no styling ever. have default styles no trademarking or colors. apply basic styles these pages.

the gotchas

we can't use iframes because messes bookmarking system , i not intend edit files individual or batch script due amount of files. not want change headers output.

conclusion

so there way declare domain persistent styles/scripts domain sort of cookie. browser specific code fine considering can talk users(on intranet) using ie,firefox, or google chrome if want styles. if user needs visit initial page set styles domain ok. not want plugins installed because users not have admin access.

hidden or outdated tecnologies ok vbscript in ie hidden features in firefox chris blogged http://css-tricks.com/using-css-without-html/.

edit: ended using user/browser styles. not perfect acceptable.

there no standard or protocol sharing stylesheets that. real option other editing files transform requests on-the-fly using transparent proxy. have proxy intercept requests, tidy html (to ensure there @ least head tag), inject stylesheet link.

if want go down path of managing each user's browser (not recommended!) suggest looking "user styles" feature of firefox or script engine greasemonkey


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -