Is it possible to selectively disable CSS or Javascript features in Firefox / Chrome for testing?

IE has a handy debug feature to emulate older versions of IE (7-10). Is there a similar feature as a Firefox / Chrome addon that allows, for example, to bring Chrome back to only have features that it had several versions ago? Or, in Firefox, test a site without the latest Firefox browser features? Or to roughly show what a site will look like in IE7 by removing borders, shadows, and advanced CSS effects, but not actually changing the stylesheets loaded in the browser?

It looks like it is possible to remove JS features on only one page - for example, window.ArrayBuffer = undefined

would result in a lack of ArrayBuffer functionality as it does in older browsers - but is there an addon or api for writing an addon to go a step beyond the "User Agent Switcher" and remove functions for testing?

+3


source to share


1 answer


Is there the same feature as a Firefox / Chrome addon that allows, for example, to bring Chrome back to only have features that it had a few versions ago?

Use the named function profiles

to install and run multiple browser versions in parallel:

This is a more secure future than Microsoft's solution:

Note. You can use legacy document modes to emulate the behavior of earlier versions. If you do decide to do this, keep in mind that this is a temporary solution at best. Starting with Internet Explorer 11 Preview, Document Modes are deprecated and may not be supported in future versions of the browser. For best results, you need to update your sites and applications to use features and techniques supported by industry standards and multiple browsers.

Note. Starting with IE11, document modes are deprecated and should no longer be used. Web pages that require the correct display of document modes must be rewritten to use the functionality defined by current standards. For more information, see Compatibility Changes in IE11.



But there are caveats:

Chrome profiles are not backward compatible, so saving your user profile to a network drive and using it with different versions of Chrome can lead to crashes and data loss.

Links

+1


source







All Articles