Marcos Cruz <vim...@pr...> wrote:
> In order to check if web pages degrade gracefully during website
> development, I'd like to turn CSS on and off with a key mapping, without
> requiring a separate text browser.
>
> The 'stylesheet' setting replaces the user CSS, which is an addition to
> the page CSS, not a substitute.
>
> Is there a way to deactivate CSS support completely?
After searching around the webkit settings, it seems there is no out of box
way to easily toggle css usage on and off like the loading of pictures. A
possible way to implement this could be to filter out the css request before
they are sent ('resource-request-starting' event of the webview). But that
means you have to reload the page after you toggle the value.
Daniel
|