MBasic Facebook Image Resize

Resizes images to take up the full width and sets height to auto. Only for MBasic Facebook.

// ==UserScript==
// @name         MBasic Facebook Image Resize
// @namespace    https://naeembolchhi.github.io/
// @version      0.37
// @description  Resizes images to take up the full width and sets height to auto. Only for MBasic Facebook.
// @author       NaeemBolchhi
// @icon         data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUUAAAFFCAYAAAB7dP9dAAAfT0lEQVR4nO3d6Xcc5YHvcf1X16oqGe49mZA782bmhEH1VBtwgnmRyWWZnAEmJHGGkwl3JmcWmLG6ukssAYwDNuSGxAYHCJgtMGEZEnYIEBMgDhCwjfGm7vrdF09t3WpJNpaqnm59n3M+R1Jbtrql0tdV9dQyJfUlSUo18DbNHx96/533D+vO+36jrdc/oK/8/V364pZbddb58/JNLN90C0GUDHwMAKsuzDsTa+OmROds+aE2X7VLW6+7V3f+/AXtf++gpH7Zt6GelY/Jfp76mio/1z7QV6/8rEyvl2r3vpd14bfulm9izZhEfpjIM10FUUde2BZRBNCMWL6Zk29ieaYrP0rkhR37eKujzVffrT2PvKaTC5K0IA1EsT/0sTQ1+g/6SlNb1MeffUvhJdvlmRvkm1hBGGdPwj6BMojxGr9wABjkRWV3grCrGWODmK+UBWHXdiqKdd5lt+vRZ98uV/gGRtm/qSKIqZSmPaWp/exjx0/qmm0PabrVKf5x35RrhkGUFI+VbByDqFN52/w3DsCkmis6Y2OYrSHmK2kt2yp/tq2zsj/fuu0XOn6sl638pYv6OFXdxk4l9SR99NERXXDFnfYLZV88MPOaNm150Zz8KLEWbTIPPynWHgGsnWLFrNWRF8V2zbHVKbrlh4m8yK6geSbbpRclOv+qnfrgT0dsENPewJpjZZ/igiTpgw+O6NxLdmT/UCJ/tiO/tc0+gch+AW82fzKLozgYRKIIYC2VrQmijoKwWxHLM4k2zsYKzLz8Vlu+yVf05nTuZTt04KPPKpMsRRT79uNUOnrshDZfcZd8E2umla+O2n2G02GnLG5W4+WeIFEEsObCpDKpW/bGM3n8KmuOs51iUzu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K5CYII=
// @match        https://mbasic.facebook.com/photo.php*
// @include      https://free.facebook.com/photo.php*
// @include      https://mbasic.facebook.com/*/photos/*
// @include      https://free.facebook.com/*/photos/*
// @include      https://mbasic.facebook.com/messages/attachment_preview/*
// @include      https://free.facebook.com/messages/attachment_preview/*
// @run-at       document-body
// ==/UserScript==

(function() {
    'use strict';

    function MBasicStyleSheet(css) {
        var head, style;
        head = document.getElementsByTagName('head')[0];
        if (!head) { return; }
        style = document.createElement('style');
        style.type = 'text/css';
        style.innerHTML = css;
        head.appendChild(style);
    }

    MBasicStyleSheet('img.basicIMG {height: auto;width: 100%;}')

    var GET = document.getElementById('root').children[0].children[0].children[0].children[0].children[0].children[0].children[0];
    GET.classList.add("basicIMG");
    var GET2 = GET.children[0];
    GET2.classList.add("basicIMG");
    var GET3 = GET2.children[0];
    GET3.classList.add("basicIMG");
    var GET4 = GET3.children[0];
    GET4.classList.add("basicIMG");
    var GET5 = GET4.children[0];
    GET5.classList.add("basicIMG");
    var GET6 = GET5.children[0];
    GET6.classList.add("basicIMG");
    var GET7 = GET6.children[0];
    GET7.classList.add("basicIMG");
    var GET8 = GET7.children[0];
    GET8.classList.add("basicIMG");
    var GET9 = GET8.children[0];
    GET9.classList.add("basicIMG");

})();