Heyho, Christoph Lohmann wrote: > You are removing the possibility to enforce some userstyle on the com‐ > mandline, which I don’t like.
What would be the usecase? I doubt passing the whole list as args or a file which then needs to be parsed first is useful. However I can imagine a flag to override the list and use one specific stylesheet regardless of the site. > Such a patch should include tools to make the userstyles.org scripts be‐ > ing easily addable to surf. I would need to parse the comments and then > add it to the .surf/userstyles folder. The question is, if it’s enough > to handle all of it in the custom javascript file, which won’t work when > Javascript is turned off or your array in config.h is really needed. I currently don't need those scripts, just the css is fine for me. I know some userstyles.org styles have them included, but it might be more complex than my current approach to support those as well, which is why I have not looked into it yet. Currently I only use 4 site specific styles apart from the default one. These 4 I only use because I visit those sites regularly and I could not adapt the default style to display them nicely without breaking/overloading the default style. This way of using my patch is a setup-once-and-it's-done thing, but maybe other users like it more flexible? --Markus