Re: [Vimprobable-users] deactivate CSS support?
Vimprobable is a lean web browser optimised for full keyboard control
Brought to you by:
hanness
From: Daniel C. <dan...@gm...> - 2013-11-24 16:32:34
|
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 |