/*
* @title img fitter
* @description fit image to window
* @include http://*
* @license MIT License http://opensource.org/licenses/MIT
* @javascript_url
*/
[].slice.call(document.body.querySelectorAll('img, [style*="background-image"]')).forEach(function (node) {
node.style.maxHeight = document.documentElement.clientHeight + 'px';
});