通过css代码修改

    1. body {
    2. /* IE */
    3. filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);
    4. /* Chrome, Safari */
    5. -webkit-filter: grayscale(1);
    6. /* Firefox */
    7. filter: grayscale(1);
    8. }