77248.top Open in urlscan Pro
23.226.54.29  Public Scan

Submitted URL: http://77248.top/static/js/rem.js
Effective URL: https://77248.top/static/js/rem.js
Submission: On November 01 via api from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

var designWidth=document.getElementsByTagName("head")[0].getAttribute("design-width");

function font_size(devwidth){
    _size();
    
    window.onresize=function(){
        _size();
    };

    function _size() {
        var deviceWidth = document.documentElement.clientWidth;
        if (deviceWidth >= devwidth) deviceWidth = devwidth;
        document.documentElement.style.fontSize = deviceWidth / (devwidth / 100) + 'px';
    };

};

var media = document.createElement('style');
    media.innerHTML = "@media screen and (min-width:" + designWidth + "px){.center{width:"+designWidth+"px !important;margin-left:-"+designWidth/2+"px !important;left:50% !important;}.fixed-right{right:calc((100% - 750px)/2)}}";
  document.getElementsByTagName('head')[0].appendChild(media);

window.onload = font_size(designWidth);