i like the idea. That should simplify code a bit.
Also i believe will be nice to have something like midori_settings_replace_style_rule () which updates rule in the fastest way as possible.
But before we need to make sure that this function will inject style during domready or earlier javascript state so first displayed result will appear with style changes already applied.
Also need to check if this style will not be applied more then 1 time to a single page as this can cause performance issues.
i like the idea. That should simplify code a bit. settings_ replace_ style_rule () which updates rule in the fastest way as possible.
Also i believe will be nice to have something like midori_
But before we need to make sure that this function will inject style during domready or earlier javascript state so first displayed result will appear with style changes already applied.
Also need to check if this style will not be applied more then 1 time to a single page as this can cause performance issues.