How to remove body inline css

How to remove body inline css

  1. var s = document.body.style.cssText.match(/[\w|-]+:/gim);
  2. jQuery.each(s, function (key, value) {
  3.     var s2 = value.replace(/(-)(\w)/gim, value.match(/-\w/gim)[0].toUpperCase());
  4.     eval('document.body.style.' + s2.replace(/[-|:]/gim, '') + " = '';");
  5. });
That's how to remove body inline css by me.