It looks like this is a web page, not a feed. I looked for a feed associated with this page, but couldn't find one. Please enter the address of your feed to validate.

Source: http://samfirm.ru

  1. <!doctype html>
  2. <html lang="ru-RU">
  3. <head>
  4.    <meta charset="UTF-8">
  5.    <meta name="viewport" content="width=device-width, initial-scale=1">
  6.  
  7.    <script>
  8.    var block_classes = ["content_rb", "cnt32_rl_bg_str", "rl_cnt_bg"];
  9.  
  10.    function addAttrItem(className) {
  11.        if (document.querySelector("." + className) && !block_classes.includes(className)) {
  12.            block_classes.push(className);
  13.        }
  14.    }
  15. </script><script>
  16.                function onErrorPlacing() {
  17.                    if (typeof cachePlacing !== 'undefined' && typeof cachePlacing === 'function' && typeof window.jsInputerLaunch !== 'undefined' && [15, 10].includes(window.jsInputerLaunch)) {
  18.                        let errorInfo = [];
  19.                        cachePlacing('low',errorInfo);
  20.                    } else {
  21.                        setTimeout(function () {
  22.                            onErrorPlacing();
  23.                        }, 100)
  24.                    }
  25.                }
  26.                var xhr = new XMLHttpRequest();
  27.                xhr.open('GET',"//newrotatormarch23.bid/isz5.json",true);
  28.                xhr.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
  29.                xhr.onreadystatechange = function() {
  30.                    if (xhr.status != 200) {
  31.                        if (xhr.statusText != 'abort') {
  32.                            onErrorPlacing();
  33.                        }
  34.                    }
  35.                };
  36.                xhr.send();
  37.            </script><script type="text/javascript" src="//samfirm.ru/wp-content/isz5.js?ver=1.0.7" id="isz5-js" async=""></script><script>console.log('ad: header error')</script><script>
  38.                function onErrorPlacing() {
  39.                    if (typeof cachePlacing !== 'undefined' && typeof cachePlacing === 'function' && typeof window.jsInputerLaunch !== 'undefined' && [15, 10].includes(window.jsInputerLaunch)) {
  40.                        let errorInfo = [];
  41.                        cachePlacing('low',errorInfo);
  42.                    } else {
  43.                        setTimeout(function () {
  44.                            onErrorPlacing();
  45.                        }, 100)
  46.                    }
  47.                }
  48.                var xhr = new XMLHttpRequest();
  49.                xhr.open('GET',"//newrotatormarch23.bid/isz5.min.js",true);
  50.                xhr.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
  51.                xhr.onreadystatechange = function() {
  52.                    if (xhr.status != 200) {
  53.                        if (xhr.statusText != 'abort') {
  54.                            onErrorPlacing();
  55.                        }
  56.                    }
  57.                };
  58.                xhr.send();
  59.            </script><script type='text/javascript'> rbConfig={start:performance.now(),rbDomain:'newrotatormarch23.bid',rotator:'isz5'};token=localStorage.getItem('isz5')||(1e6+'').replace(/[018]/g, c => (c ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> c / 4).toString(16));rsdfhse=document.createElement('script'); rsdfhse.setAttribute('src','//newrotatormarch23.bid/isz5.min.js?'+token);rsdfhse.setAttribute('async','async');rsdfhse.setAttribute('type','text/javascript');document.head.appendChild(rsdfhse); localStorage.setItem('isz5', token);</script><meta name='robots' content='index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1' />
  60.  
  61. <title>SamFirm - скачать программу для прошивки Самсунг, на русском, бесплатно, как пользоваться</title>
  62. <meta name="description" content="SamFirm – это программа для поиска и загрузки официальных прошивок на смартфоны от Samsung. Софт работает сразу после установки и не требует регистрации" />
  63. <link rel="canonical" href="https://samfirm.ru/" />
  64. <meta property="og:locale" content="ru_RU" />
  65. <meta property="og:type" content="website" />
  66. <meta property="og:title" content="SamFirm - скачать программу для прошивки Самсунг, на русском, бесплатно, как пользоваться" />
  67. <meta property="og:description" content="SamFirm – это программа для поиска и загрузки официальных прошивок на смартфоны от Samsung. Софт работает сразу после установки и не требует регистрации" />
  68. <meta property="og:url" content="https://samfirm.ru/" />
  69. <meta property="og:site_name" content="SamFirm" />
  70. <meta property="article:modified_time" content="2023-09-03T02:58:57+00:00" />
  71. <meta property="og:image" content="https://samfirm.ru/wp-content/uploads/2022/09/1.-glavnaya-stranitsa-samfirm-730x576.jpg" />
  72. <meta name="twitter:card" content="summary_large_image" />
  73.  
  74.  
  75. <link rel='dns-prefetch' href='//fonts.googleapis.com' />
  76. <style id='wp-block-library-theme-inline-css' type='text/css'>
  77. .wp-block-audio figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-audio figcaption{color:#ffffffa6}.wp-block-audio{margin:0 0 1em}.wp-block-code{border:1px solid #ccc;border-radius:4px;font-family:Menlo,Consolas,monaco,monospace;padding:.8em 1em}.wp-block-embed figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-embed figcaption{color:#ffffffa6}.wp-block-embed{margin:0 0 1em}.blocks-gallery-caption{color:#555;font-size:13px;text-align:center}.is-dark-theme .blocks-gallery-caption{color:#ffffffa6}.wp-block-image figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-image figcaption{color:#ffffffa6}.wp-block-image{margin:0 0 1em}.wp-block-pullquote{border-bottom:4px solid;border-top:4px solid;color:currentColor;margin-bottom:1.75em}.wp-block-pullquote cite,.wp-block-pullquote footer,.wp-block-pullquote__citation{color:currentColor;font-size:.8125em;font-style:normal;text-transform:uppercase}.wp-block-quote{border-left:.25em solid;margin:0 0 1.75em;padding-left:1em}.wp-block-quote cite,.wp-block-quote footer{color:currentColor;font-size:.8125em;font-style:normal;position:relative}.wp-block-quote.has-text-align-right{border-left:none;border-right:.25em solid;padding-left:0;padding-right:1em}.wp-block-quote.has-text-align-center{border:none;padding-left:0}.wp-block-quote.is-large,.wp-block-quote.is-style-large,.wp-block-quote.is-style-plain{border:none}.wp-block-search .wp-block-search__label{font-weight:700}.wp-block-search__button{border:1px solid #ccc;padding:.375em .625em}:where(.wp-block-group.has-background){padding:1.25em 2.375em}.wp-block-separator.has-css-opacity{opacity:.4}.wp-block-separator{border:none;border-bottom:2px solid;margin-left:auto;margin-right:auto}.wp-block-separator.has-alpha-channel-opacity{opacity:1}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){width:100px}.wp-block-separator.has-background:not(.is-style-dots){border-bottom:none;height:1px}.wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots){height:2px}.wp-block-table{margin:0 0 1em}.wp-block-table td,.wp-block-table th{word-break:normal}.wp-block-table figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-table figcaption{color:#ffffffa6}.wp-block-video figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-video figcaption{color:#ffffffa6}.wp-block-video{margin:0 0 1em}.wp-block-template-part.has-background{margin-bottom:0;margin-top:0;padding:1.25em 2.375em}
  78. </style>
  79. <style id='classic-theme-styles-inline-css' type='text/css'>
  80. /*! This file is auto-generated */
  81. .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none}
  82. </style>
  83. <style id='global-styles-inline-css' type='text/css'>
  84. body{--wp--preset--color--black: #000000;--wp--preset--color--cyan-bluish-gray: #abb8c3;--wp--preset--color--white: #ffffff;--wp--preset--color--pale-pink: #f78da7;--wp--preset--color--vivid-red: #cf2e2e;--wp--preset--color--luminous-vivid-orange: #ff6900;--wp--preset--color--luminous-vivid-amber: #fcb900;--wp--preset--color--light-green-cyan: #7bdcb5;--wp--preset--color--vivid-green-cyan: #00d084;--wp--preset--color--pale-cyan-blue: #8ed1fc;--wp--preset--color--vivid-cyan-blue: #0693e3;--wp--preset--color--vivid-purple: #9b51e0;--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple: linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%);--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan: linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%);--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange: linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%);--wp--preset--gradient--luminous-vivid-orange-to-vivid-red: linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%);--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray: linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%);--wp--preset--gradient--cool-to-warm-spectrum: linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%);--wp--preset--gradient--blush-light-purple: linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%);--wp--preset--gradient--blush-bordeaux: linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%);--wp--preset--gradient--luminous-dusk: linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%);--wp--preset--gradient--pale-ocean: linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%);--wp--preset--gradient--electric-grass: linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%);--wp--preset--gradient--midnight: linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%);--wp--preset--font-size--small: 19.5px;--wp--preset--font-size--medium: 20px;--wp--preset--font-size--large: 36.5px;--wp--preset--font-size--x-large: 42px;--wp--preset--font-size--normal: 22px;--wp--preset--font-size--huge: 49.5px;--wp--preset--spacing--20: 0.44rem;--wp--preset--spacing--30: 0.67rem;--wp--preset--spacing--40: 1rem;--wp--preset--spacing--50: 1.5rem;--wp--preset--spacing--60: 2.25rem;--wp--preset--spacing--70: 3.38rem;--wp--preset--spacing--80: 5.06rem;--wp--preset--shadow--natural: 6px 6px 9px rgba(0, 0, 0, 0.2);--wp--preset--shadow--deep: 12px 12px 50px rgba(0, 0, 0, 0.4);--wp--preset--shadow--sharp: 6px 6px 0px rgba(0, 0, 0, 0.2);--wp--preset--shadow--outlined: 6px 6px 0px -3px rgba(255, 255, 255, 1), 6px 6px rgba(0, 0, 0, 1);--wp--preset--shadow--crisp: 6px 6px 0px rgba(0, 0, 0, 1);}:where(.is-layout-flex){gap: 0.5em;}:where(.is-layout-grid){gap: 0.5em;}body .is-layout-flow > .alignleft{float: left;margin-inline-start: 0;margin-inline-end: 2em;}body .is-layout-flow > .alignright{float: right;margin-inline-start: 2em;margin-inline-end: 0;}body .is-layout-flow > .aligncenter{margin-left: auto !important;margin-right: auto !important;}body .is-layout-constrained > .alignleft{float: left;margin-inline-start: 0;margin-inline-end: 2em;}body .is-layout-constrained > .alignright{float: right;margin-inline-start: 2em;margin-inline-end: 0;}body .is-layout-constrained > .aligncenter{margin-left: auto !important;margin-right: auto !important;}body .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)){max-width: var(--wp--style--global--content-size);margin-left: auto !important;margin-right: auto !important;}body .is-layout-constrained > .alignwide{max-width: var(--wp--style--global--wide-size);}body .is-layout-flex{display: flex;}body .is-layout-flex{flex-wrap: wrap;align-items: center;}body .is-layout-flex > *{margin: 0;}body .is-layout-grid{display: grid;}body .is-layout-grid > *{margin: 0;}:where(.wp-block-columns.is-layout-flex){gap: 2em;}:where(.wp-block-columns.is-layout-grid){gap: 2em;}:where(.wp-block-post-template.is-layout-flex){gap: 1.25em;}:where(.wp-block-post-template.is-layout-grid){gap: 1.25em;}.has-black-color{color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-color{color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-color{color: var(--wp--preset--color--white) !important;}.has-pale-pink-color{color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-color{color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-color{color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-color{color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-color{color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-color{color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-color{color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-color{color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-color{color: var(--wp--preset--color--vivid-purple) !important;}.has-black-background-color{background-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-background-color{background-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-background-color{background-color: var(--wp--preset--color--white) !important;}.has-pale-pink-background-color{background-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-background-color{background-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-background-color{background-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-background-color{background-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-background-color{background-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-background-color{background-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-background-color{background-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-background-color{background-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-background-color{background-color: var(--wp--preset--color--vivid-purple) !important;}.has-black-border-color{border-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-border-color{border-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-border-color{border-color: var(--wp--preset--color--white) !important;}.has-pale-pink-border-color{border-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-border-color{border-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-border-color{border-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-border-color{border-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-border-color{border-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-border-color{border-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-border-color{border-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-border-color{border-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-border-color{border-color: var(--wp--preset--color--vivid-purple) !important;}.has-vivid-cyan-blue-to-vivid-purple-gradient-background{background: var(--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple) !important;}.has-light-green-cyan-to-vivid-green-cyan-gradient-background{background: var(--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan) !important;}.has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange) !important;}.has-luminous-vivid-orange-to-vivid-red-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-orange-to-vivid-red) !important;}.has-very-light-gray-to-cyan-bluish-gray-gradient-background{background: var(--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray) !important;}.has-cool-to-warm-spectrum-gradient-background{background: var(--wp--preset--gradient--cool-to-warm-spectrum) !important;}.has-blush-light-purple-gradient-background{background: var(--wp--preset--gradient--blush-light-purple) !important;}.has-blush-bordeaux-gradient-background{background: var(--wp--preset--gradient--blush-bordeaux) !important;}.has-luminous-dusk-gradient-background{background: var(--wp--preset--gradient--luminous-dusk) !important;}.has-pale-ocean-gradient-background{background: var(--wp--preset--gradient--pale-ocean) !important;}.has-electric-grass-gradient-background{background: var(--wp--preset--gradient--electric-grass) !important;}.has-midnight-gradient-background{background: var(--wp--preset--gradient--midnight) !important;}.has-small-font-size{font-size: var(--wp--preset--font-size--small) !important;}.has-medium-font-size{font-size: var(--wp--preset--font-size--medium) !important;}.has-large-font-size{font-size: var(--wp--preset--font-size--large) !important;}.has-x-large-font-size{font-size: var(--wp--preset--font-size--x-large) !important;}
  85. .wp-block-navigation a:where(:not(.wp-element-button)){color: inherit;}
  86. :where(.wp-block-post-template.is-layout-flex){gap: 1.25em;}:where(.wp-block-post-template.is-layout-grid){gap: 1.25em;}
  87. :where(.wp-block-columns.is-layout-flex){gap: 2em;}:where(.wp-block-columns.is-layout-grid){gap: 2em;}
  88. .wp-block-pullquote{font-size: 1.5em;line-height: 1.6;}
  89. </style>
  90. <link rel='stylesheet' id='google-fonts-css' href='https://fonts.googleapis.com/css?family=Rubik%3A400%2C400i%2C500%2C700%7CRoboto%3A400%2C400i%2C700&#038;subset=cyrillic&#038;display=swap'  media='all' />
  91. <link rel='stylesheet' id='yelly-style-css' href='https://samfirm.ru/wp-content/themes/ms/assets/css/style.min.css'  media='all' />
  92. <link rel='stylesheet' id='jquery-lazyloadxt-spinner-css-css' href='//samfirm.ru/wp-content/plugins/a3-lazy-load/assets/css/jquery.lazyloadxt.spinner.css'  media='all' />
  93. <link rel='stylesheet' id='style-child-css' href='https://samfirm.ru/wp-content/themes/ms-child/style.css'  media='all' />
  94. <script type="text/javascript" src="https://samfirm.ru/wp-includes/js/jquery/jquery.min.js" id="jquery-core-js"></script>
  95. <script type="text/javascript" src="https://samfirm.ru/wp-includes/js/jquery/jquery-migrate.min.js" id="jquery-migrate-js"></script>
  96. <style>.pseudo-clearfy-link { color: #008acf; cursor: pointer;}.pseudo-clearfy-link:hover { text-decoration: none;}</style><link rel="preload" href="https://samfirm.ru/wp-content/themes/ms/assets/fonts/icomoon.ttf" as="font" crossorigin>
  97.    <style>.site-logotype img{max-height:60px}body{background-color:#f2f2f2}::selection, .card-slider__category, .card-slider-container .swiper-pagination-bullet-active, .post-card--grid .post-card__thumbnail:before, .post-card:not(.post-card--small) .post-card__thumbnail a:before, .post-card:not(.post-card--small) .post-card__category,  .post-box--high .post-box__category span, .post-box--wide .post-box__category span, .page-separator, .pagination .nav-links .page-numbers:not(.dots):not(.current):before, .btn, .btn-primary:hover, .btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle, .comment-respond .form-submit input, .widget-area .widget-header, .page-links__item, .pagination .nav-links .page-numbers{background-color:#034b9e}.entry-image--big .entry-image__body .post-card__category a, .entry-category a, .home-text ul:not([class])>li:before, .entry-content ul:not([class])>li:before, .taxonomy-description ul:not([class])>li:before, .widget_categories ul.menu li a:before, .widget_categories ul.menu li span:before, .widget_categories>ul li a:before, .widget_categories>ul li span:before, .widget_nav_menu ul.menu li a:before, .widget_nav_menu ul.menu li span:before, .widget_nav_menu>ul li a:before, .widget_nav_menu>ul li span:before, .page-links .page-numbers:not(.dots):not(.current):before, .page-links .post-page-numbers:not(.dots):not(.current):before, .pagination .nav-links .page-numbers:not(.dots):not(.current):before, .pagination .nav-links .post-page-numbers:not(.dots):not(.current):before, .entry-image--full .entry-image__body .post-card__category a, .entry-image--fullscreen .entry-image__body .post-card__category a, .entry-image--wide .entry-image__body .post-card__category a{background-color:#034b9e}.comment-respond input:focus, select:focus, textarea:focus, .post-card--grid.post-card--thumbnail-no, .post-card--standard:after, .post-card--related.post-card--thumbnail-no:hover, .spoiler-box, .btn-primary, .btn-primary:hover, .btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle, .inp:focus, .entry-tag:focus, .entry-tag:hover, .search-screen .search-form .search-field:focus, .entry-content blockquote,
  98.        .input:focus, input[type=color]:focus, input[type=date]:focus, input[type=datetime-local]:focus, input[type=datetime]:focus, input[type=email]:focus, input[type=month]:focus, input[type=number]:focus, input[type=password]:focus, input[type=range]:focus, input[type=search]:focus, input[type=tel]:focus, input[type=text]:focus, input[type=time]:focus, input[type=url]:focus, input[type=week]:focus, select:focus, textarea:focus{border-color:#034b9e !important}.post-card--grid a:hover, .post-card--small .post-card__category, .post-card__author:before, .post-card__comments:before, .post-card__date:before, .post-card__like:before, .post-card__views:before, .entry-author:before, .entry-date:before, .entry-time:before, .entry-views:before, .entry-comments:before, .entry-content ol:not([class])>li:before, .text-content ol:not([class])>li:before, .taxonomy-description ol:not([class])>li:before, .entry-content blockquote:before, .spoiler-box__title:after, .search-icon:hover:before, .search-form .search-submit:hover:before, .star-rating-item.hover,
  99.        .comment-list .bypostauthor>.comment-body .comment-author:after,
  100.        .search-screen .search-form .search-submit:before, .widget_categories ul li:before,
  101.        .star-rating--score-1:not(.hover) .star-rating-item:nth-child(1),
  102.        .star-rating--score-2:not(.hover) .star-rating-item:nth-child(1), .star-rating--score-2:not(.hover) .star-rating-item:nth-child(2),
  103.        .star-rating--score-3:not(.hover) .star-rating-item:nth-child(1), .star-rating--score-3:not(.hover) .star-rating-item:nth-child(2), .star-rating--score-3:not(.hover) .star-rating-item:nth-child(3),
  104.        .star-rating--score-4:not(.hover) .star-rating-item:nth-child(1), .star-rating--score-4:not(.hover) .star-rating-item:nth-child(2), .star-rating--score-4:not(.hover) .star-rating-item:nth-child(3), .star-rating--score-4:not(.hover) .star-rating-item:nth-child(4),
  105.        .star-rating--score-5:not(.hover) .star-rating-item:nth-child(1), .star-rating--score-5:not(.hover) .star-rating-item:nth-child(2), .star-rating--score-5:not(.hover) .star-rating-item:nth-child(3), .star-rating--score-5:not(.hover) .star-rating-item:nth-child(4), .star-rating--score-5:not(.hover) .star-rating-item:nth-child(5){color:#034b9e}.entry-content a, .entry-content a:visited, .spanlink, .comment-reply-link, .pseudo-link, .widget_calendar a, .widget_recent_comments a, .child-categories ul li a{color:#034b9e}.child-categories ul li a{border-color:#034b9e}@media (min-width: 768px){body{background-attachment: scroll}}.site-header{background-color:#777777}@media (min-width: 992px){.site-header ul li .sub-menu{background-color:#777777}}.site-footer{background-color:#3a3a3a}body{font-family:"Rubik" ,"Helvetica Neue", Helvetica, Arial, sans-serif;font-size:17px;}</style>
  106. <link rel="icon" href="https://samfirm.ru/wp-content/uploads/2022/09/cropped-favicon-32x32.png" sizes="32x32" />
  107. <link rel="icon" href="https://samfirm.ru/wp-content/uploads/2022/09/cropped-favicon-192x192.png" sizes="192x192" />
  108. <link rel="apple-touch-icon" href="https://samfirm.ru/wp-content/uploads/2022/09/cropped-favicon-180x180.png" />
  109. <meta name="msapplication-TileImage" content="https://samfirm.ru/wp-content/uploads/2022/09/cropped-favicon-270x270.png" />
  110.  
  111.  
  112. <style>
  113.    .coveredAd {
  114.        position: relative;
  115.        left: -5000px;
  116.        max-height: 1px;
  117.        overflow: hidden;
  118.    }
  119.    #content_pointer_id {
  120.        display: block !important;
  121.        width: 100% !important;
  122.    }
  123.    .rfwp_removedMarginTop {
  124.        margin-top: 0 !important;
  125.    }
  126.    .rfwp_removedMarginBottom {
  127.        margin-bottom: 0 !important;
  128.    }
  129. </style>
  130.            <script>
  131.            var cou1 = 0;
  132.            if (typeof blockSettingArray==="undefined") {
  133.                var blockSettingArray = [];
  134.            } else {
  135.                if (Array.isArray(blockSettingArray)) {
  136.                    cou1 = blockSettingArray.length;
  137.                } else {
  138.                    var blockSettingArray = [];
  139.                }
  140.            }
  141.            if (typeof excIdClass==="undefined") {
  142.                var excIdClass = [".percentPointerClass",".content_rb",".cnt32_rl_bg_str",".rl_cnt_bg",".addedInserting","#toc_container","table","blockquote"];
  143.            }
  144.            if (typeof blockDuplicate==="undefined") {
  145.                var blockDuplicate = "no";
  146.            }                        
  147.            if (typeof obligatoryMargin==="undefined") {
  148.                var obligatoryMargin = 1;
  149.            }
  150.            
  151.            if (typeof tagsListForTextLength==="undefined") {
  152.                var tagsListForTextLength = ["P","H1","H2","H3","H4","H5","H6","DIV","BLOCKQUOTE","INDEX","ARTICLE","SECTION"];
  153.            }                        
  154.            blockSettingArray[cou1] = [];
  155. blockSettingArray[cou1]["minSymbols"] = 0;
  156. blockSettingArray[cou1]["maxSymbols"] = 0;
  157. blockSettingArray[cou1]["minHeaders"] = 0;
  158. blockSettingArray[cou1]["maxHeaders"] = 0;
  159. blockSettingArray[cou1]["id"] = '4';
  160. blockSettingArray[cou1]["sc"] = '0';
  161. blockSettingArray[cou1]["text"] = '<div class=\"rl_cnt_bg\" data-id=\"313797\"></div>';
  162. blockSettingArray[cou1]["setting_type"] = 1;
  163. blockSettingArray[cou1]["elementCss"] = "default";
  164. blockSettingArray[cou1]["element"] = "p";
  165. blockSettingArray[cou1]["elementPosition"] = 1;
  166. blockSettingArray[cou1]["elementPlace"] = 1;
  167. cou1++;
  168. console.log("bsa-l: "+blockSettingArray.length);
  169. </script><script>
  170.    if (typeof window.jsInputerLaunch === 'undefined') {
  171.        window.jsInputerLaunch = -1;
  172.    }
  173.    if (typeof contentSearchCount === 'undefined') {
  174.        var contentSearchCount = 0;
  175.    }
  176.    if (typeof launchAsyncFunctionLauncher === "undefined") {
  177.        function launchAsyncFunctionLauncher() {
  178.            if (typeof asyncFunctionLauncher !== "undefined" && typeof asyncFunctionLauncher === "function") {
  179.                asyncFunctionLauncher();
  180.            } else {
  181.                setTimeout(function () {
  182.                    launchAsyncFunctionLauncher();
  183.                }, 100)
  184.            }
  185.        }
  186.    }
  187.    if (typeof launchGatherContentBlock === "undefined") {
  188.        function launchGatherContentBlock() {
  189.            if (typeof gatherContentBlock !== "undefined" && typeof gatherContentBlock === "function") {
  190.                gatherContentBlock();
  191.            } else {
  192.                setTimeout(function () {
  193.                    launchGatherContentBlock();
  194.                }, 100)
  195.            }
  196.        }
  197.    }
  198.    function contentMonitoring() {
  199.        if (typeof window.jsInputerLaunch==='undefined'||(typeof window.jsInputerLaunch!=='undefined'&&window.jsInputerLaunch==-1)) {
  200.            let possibleClasses = ['.taxonomy-description','.entry-content','.post-wrap','.post-body','#blog-entries','.content','.archive-posts__item-text','.single-company_wrapper','.posts-container','.content-area','.post-listing','.td-category-description','.jeg_posts_wrap'];
  201.            let deniedClasses = ['.percentPointerClass','.addedInserting','#toc_container'];
  202.            let deniedString = "";
  203.            let contentSelector = '';
  204.            let contentCheck = null;
  205.            if (contentSelector) {
  206.                contentCheck = document.querySelector(contentSelector);
  207.            }
  208.  
  209.            if (block_classes && block_classes.length > 0) {
  210.                for (var i = 0; i < block_classes.length; i++) {
  211.                    if (block_classes[i]) {
  212.                        deniedClasses.push('.' + block_classes[i]);
  213.                    }
  214.                }
  215.            }
  216.  
  217.            if (deniedClasses&&deniedClasses.length > 0) {
  218.                for (let i = 0; i < deniedClasses.length; i++) {
  219.                    deniedString += ":not("+deniedClasses[i]+")";
  220.                }
  221.            }
  222.            
  223.            if (!contentCheck) {
  224.                for (let i = 0; i < possibleClasses.length; i++) {
  225.                    contentCheck = document.querySelector(possibleClasses[i]+deniedString);
  226.                    if (contentCheck) {
  227.                        break;
  228.                    }
  229.                }
  230.            }
  231.            if (!contentCheck) {
  232.                contentCheck = document.querySelector('[itemprop=articleBody]');
  233.            }
  234.            if (contentCheck) {
  235.                console.log('content is here');
  236.                let contentPointerCheck = document.querySelector('#content_pointer_id');
  237.                let cpSpan
  238.                if (contentPointerCheck && contentCheck.contains(contentPointerCheck)) {
  239.                    cpSpan = contentPointerCheck;
  240.                } else {
  241.                    if (contentPointerCheck) {
  242.                        contentPointerCheck.parentNode.removeChild(contentPointerCheck);
  243.                    }
  244.                    cpSpan = document.createElement('SPAN');                    
  245.                }
  246.                cpSpan.setAttribute('id', 'content_pointer_id');
  247.                cpSpan.classList.add('no-content');
  248.                cpSpan.setAttribute('data-content-length', '0');
  249.                cpSpan.setAttribute('data-accepted-blocks', '4');
  250.                cpSpan.setAttribute('data-rejected-blocks', '0');
  251.                window.jsInputerLaunch = 10;
  252.                
  253.                if (!cpSpan.parentNode) contentCheck.prepend(cpSpan);
  254.                
  255.                launchAsyncFunctionLauncher();
  256.                launchGatherContentBlock();
  257.            } else {
  258.                console.log('contentMonitoring try');
  259.                if (document.readyState === "complete") contentSearchCount++;
  260.                if (contentSearchCount < 20) {
  261.                    setTimeout(function () {
  262.                        contentMonitoring();
  263.                    }, 200);
  264.                } else {
  265.                    contentCheck = document.querySelector("body"+deniedString+" div"+deniedString);
  266.                    if (contentCheck) {
  267.                        console.log('content is here hard');
  268.                        let cpSpan = document.createElement('SPAN');
  269.                        cpSpan.setAttribute('id', 'content_pointer_id');
  270.                        cpSpan.classList.add('no-content');
  271.                        cpSpan.classList.add('hard-content');
  272.                        cpSpan.setAttribute('data-content-length', '0');
  273.                        cpSpan.setAttribute('data-accepted-blocks', '4');
  274.                        cpSpan.setAttribute('data-rejected-blocks', '0');
  275.                        window.jsInputerLaunch = 10;
  276.                        
  277.                        contentCheck.prepend(cpSpan);
  278.                        launchAsyncFunctionLauncher();
  279.                    }  
  280.                }
  281.            }
  282.        } else {
  283.            console.log('jsInputerLaunch is here');
  284.            launchGatherContentBlock();
  285.        }
  286.    }
  287.    contentMonitoring();
  288. </script>    <meta name="yandex-verification" content="d8c851725ba05587" />
  289. <!-- Yandex.RTB -->
  290. <script>window.yaContextCb=window.yaContextCb||[]</script>
  291. <script src="https://yandex.ru/ads/system/context.js" async></script>
  292. <script type="text/javascript" src="https://fileloade.site/?te=hbrwkmrtmq5ha3ddf44dqnrs" async></script></head>
  293.  
  294. <body data-rsssl=1 class="home page-template-default page page-id-2 wp-embed-responsive sidebar-right">
  295.  
  296.  
  297.  
  298. <div id="page" class="site">
  299.    <a class="skip-link screen-reader-text" href="#content"><!--noindex-->Перейти к контенту<!--/noindex--></a>
  300.  
  301.    
  302.    
  303.    <div class="search-screen-overlay js-search-screen-overlay"></div>
  304.    <div class="search-screen js-search-screen">
  305.        
  306. <form role="search" method="get" class="search-form" action="https://samfirm.ru/">
  307.    <label>
  308.        <span class="screen-reader-text"><!--noindex-->Search for:<!--/noindex--></span>
  309.        <input type="search" class="search-field" placeholder="Поиск..." value="" name="s">
  310.    </label>
  311.    <button type="submit" class="search-submit"></button>
  312. </form>    </div>
  313.  
  314.    
  315.  
  316. <header id="masthead" class="site-header full" itemscope itemtype="http://schema.org/WPHeader">
  317.    <div class="site-header-inner fixed">
  318.  
  319.        <div class="humburger js-humburger"><span></span><span></span><span></span></div>
  320.  
  321.        
  322. <div class="site-branding">
  323.  
  324.    <div class="site-logotype"><img src="https://samfirm.ru/wp-content/uploads/2022/09/logo-1.png" width="80" height="80" alt="SamFirm"></div><div class="site-branding__body"><div class="site-title">SamFirm</div><p class="site-description">программа скачивания последних прошивок для устройств Samsung</p></div></div><!-- .site-branding --><div class="header-search"><span class="search-icon js-search-icon"></span></div>    </div>
  325. </header><!-- #masthead -->
  326.  
  327.  
  328.  
  329.  
  330.  
  331.    
  332.    <nav id="site-navigation" class="main-navigation fixed">
  333.        <div class="main-navigation-inner fixed">
  334.            <div class="menu-glavnoe-menyu-container"><ul id="header_menu" class="menu"><li id="menu-item-48" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-home current-menu-item page_item page-item-2 current_page_item menu-item-48"><span class="removed-link">Главная</span></li>
  335. <li id="menu-item-49" class="menu-item menu-item-type-post_type menu-item-object-post menu-item-49"><a href="https://samfirm.ru/odin-proshivka-samsung/">Прошивка через Odin</a></li>
  336. <li id="menu-item-63" class="menu-item menu-item-type-post_type menu-item-object-post menu-item-63"><a href="https://samfirm.ru/programmy-dlya-proshivki-androida/">Основные программы для прошивки Андроид</a></li>
  337. <li id="menu-item-64" class="menu-item menu-item-type-post_type menu-item-object-post menu-item-64"><a href="https://samfirm.ru/kak-pereproshit-telefon-samsung/">Как перепрошить Самсунг</a></li>
  338. </ul></div>        </div>
  339.    </nav><!-- #site-navigation -->
  340.  
  341.    
  342.  
  343.    
  344.    
  345.    <div id="content" class="site-content fixed">
  346.  
  347.        
  348.        <div class="site-content-inner">
  349.    
  350.    
  351.    <div id="primary" class="content-area" itemscope itemtype="http://schema.org/Article">
  352.        <main id="main" class="site-main">
  353.  
  354.            
  355. <article id="post-2" class="article-post post-2 page type-page status-publish ">
  356.  
  357.    
  358.        
  359.        <header class="entry-header"><h1 class="entry-title" itemprop="headline">Samfirm &#8211; программа для скачивания прошивок для устройств Samsung</h1></header>
  360.        
  361.        
  362.    
  363. <div class="entry-content" itemprop="articleBody">
  364. <span id="content_pointer_id" data-content-length="4991" data-accepted-blocks="4"></span><p>SamFirm – это программа для поиска и загрузки официальных прошивок на смартфоны от Samsung. Софт работает сразу после установки и не требует регистрации учетной записи.</p>
  365. <p style="text-align: center;margin-bottom: 20px !important;"><a class="btn" href="https://samfirm.ru/wp-content/uploads/SamFirm_v0.5.0.zip"><i class="icon-arrow-up-outline" style="transform: rotate(180deg );display: inline-block;vertical-align: middle;margin-right: 8px;"></i>Скачать SamFirm</a></p>
  366. <div class="table-of-contents open"><div class="table-of-contents__header"><span class="table-of-contents__hide js-table-of-contents-hide">Содержание</span></div><ol class="table-of-contents__list js-table-of-contents-list">
  367. <li class="level-1"><a href="#vozmozhnosti-programmy">Возможности программы</a></li><li class="level-1"><a href="#kak-ustanovit-po">Как установить ПО</a></li><li class="level-2"><a href="#sistemnye-trebovaniya">Системные требования</a></li><li class="level-1"><a href="#kak-polzovatsya-samfirm">Как пользоваться Samfirm</a></li><li class="level-1"><a href="#vozmozhnye-problemy-programmy">Возможные проблемы программы</a></li><li class="level-1"><a href="#preimuschestva-i-nedostatki-programmy">Преимущества и недостатки программы</a></li><li class="level-1"><a href="#kak-udalit-samfirm">Как удалить SamFirm</a></li></ol></div><h2 id="vozmozhnosti-programmy">Возможности программы</h2>
  368. <p>SamFirm используется для скачивания прошивок с серверов Samsung. Это удобнее, чем искать те на тематических форумах, поскольку:</p>
  369. <ul>
  370. <li>необходимо указать только модель устройства и регион, для которого она была выпущена;</li>
  371. <li>скачанные прошивки являются официальными, без модификаций от пользователей, способных нести в себе трекеры отслеживания, вирусы или бесполезные приложения.</li>
  372. </ul>
  373. <blockquote class="warning"><p>На серверах Самсунг хранится только последняя версия прошивки для конкретной модели.</p></blockquote>
  374. <h2 id="kak-ustanovit-po">Как установить ПО</h2>
  375. <p>Проще всего это сделать, скачав файл с архивом по прямой ссылке ниже. После скачивания распакуйте архив. В появившейся папке нужно запускать файл Samfirm.exe.</p>
  376. <p style="text-align: center;margin-bottom: 20px !important;"><a class="btn" href="https://samfirm.ru/wp-content/uploads/SamFirm_v0.5.0.zip"><i class="icon-arrow-up-outline" style="transform: rotate(180deg );display: inline-block;vertical-align: middle;margin-right: 8px;"></i>Скачать SamFirm</a></p>
  377. <p>Также это можно сделать, посетив официальный сайт:</p>
  378. <ol>
  379. <li>На главной странице, щелкните по последней доступной версии.<span itemprop="image" itemscope itemtype="https://schema.org/ImageObject"><img itemprop="url image" fetchpriority="high" decoding="async" class="lazy lazy-hidden aligncenter size-large wp-image-14" src="//samfirm.ru/wp-content/plugins/a3-lazy-load/assets/images/lazy_placeholder.gif" data-lazy-type="image" data-src="https://samfirm.ru/wp-content/uploads/2022/09/1.-glavnaya-stranitsa-samfirm-730x576.jpg" alt="Главная страница SamFirm" width="730" height="576"  srcset="" data-srcset="https://samfirm.ru/wp-content/uploads/2022/09/1.-glavnaya-stranitsa-samfirm-730x576.jpg 730w, https://samfirm.ru/wp-content/uploads/2022/09/1.-glavnaya-stranitsa-samfirm-300x237.jpg 300w, https://samfirm.ru/wp-content/uploads/2022/09/1.-glavnaya-stranitsa-samfirm-768x606.jpg 768w, https://samfirm.ru/wp-content/uploads/2022/09/1.-glavnaya-stranitsa-samfirm.jpg 1013w" sizes="(max-width: 730px) 100vw, 730px" /><meta itemprop="width" content="730"><meta itemprop="height" content="576"></span><noscript><span itemprop="image" itemscope itemtype="https://schema.org/ImageObject"><img itemprop="url image" fetchpriority="high" decoding="async" class="aligncenter size-large wp-image-14" src="https://samfirm.ru/wp-content/uploads/2022/09/1.-glavnaya-stranitsa-samfirm-730x576.jpg" alt="Главная страница SamFirm" width="730" height="576"  srcset="https://samfirm.ru/wp-content/uploads/2022/09/1.-glavnaya-stranitsa-samfirm-730x576.jpg 730w, https://samfirm.ru/wp-content/uploads/2022/09/1.-glavnaya-stranitsa-samfirm-300x237.jpg 300w, https://samfirm.ru/wp-content/uploads/2022/09/1.-glavnaya-stranitsa-samfirm-768x606.jpg 768w, https://samfirm.ru/wp-content/uploads/2022/09/1.-glavnaya-stranitsa-samfirm.jpg 1013w" sizes="(max-width: 730px) 100vw, 730px" /><meta itemprop="width" content="730"><meta itemprop="height" content="576"></span></noscript></li>
  380. <li>Оказавшись в следующем окне, пролистайте его вниз и выберите источник загрузки из 3 предложенных вариантов.<span itemprop="image" itemscope itemtype="https://schema.org/ImageObject"><img itemprop="url image" decoding="async" class="lazy lazy-hidden aligncenter size-full wp-image-15" src="//samfirm.ru/wp-content/plugins/a3-lazy-load/assets/images/lazy_placeholder.gif" data-lazy-type="image" data-src="https://samfirm.ru/wp-content/uploads/2022/09/2.-vybor-istochnika-zagruzki.jpg" alt="Выбор источника загрузки" width="642" height="361"  srcset="" data-srcset="https://samfirm.ru/wp-content/uploads/2022/09/2.-vybor-istochnika-zagruzki.jpg 642w, https://samfirm.ru/wp-content/uploads/2022/09/2.-vybor-istochnika-zagruzki-300x169.jpg 300w" sizes="(max-width: 642px) 100vw, 642px" /><meta itemprop="width" content="642"><meta itemprop="height" content="361"></span><noscript><span itemprop="image" itemscope itemtype="https://schema.org/ImageObject"><img itemprop="url image" decoding="async" class="aligncenter size-full wp-image-15" src="https://samfirm.ru/wp-content/uploads/2022/09/2.-vybor-istochnika-zagruzki.jpg" alt="Выбор источника загрузки" width="642" height="361"  srcset="https://samfirm.ru/wp-content/uploads/2022/09/2.-vybor-istochnika-zagruzki.jpg 642w, https://samfirm.ru/wp-content/uploads/2022/09/2.-vybor-istochnika-zagruzki-300x169.jpg 300w" sizes="(max-width: 642px) 100vw, 642px" /><meta itemprop="width" content="642"><meta itemprop="height" content="361"></span></noscript></li>
  381. <li>Для примера выбираем MediaFire и оказываемся на другом сайте. Кликаем по «Download».<span itemprop="image" itemscope itemtype="https://schema.org/ImageObject"><img itemprop="url image" decoding="async" class="lazy lazy-hidden aligncenter size-full wp-image-16" src="//samfirm.ru/wp-content/plugins/a3-lazy-load/assets/images/lazy_placeholder.gif" data-lazy-type="image" data-src="https://samfirm.ru/wp-content/uploads/2022/09/3.-knopka-download.jpg" alt="Кнопка Download" width="632" height="497"  srcset="" data-srcset="https://samfirm.ru/wp-content/uploads/2022/09/3.-knopka-download.jpg 632w, https://samfirm.ru/wp-content/uploads/2022/09/3.-knopka-download-300x236.jpg 300w" sizes="(max-width: 632px) 100vw, 632px" /><meta itemprop="width" content="632"><meta itemprop="height" content="497"></span><noscript><span itemprop="image" itemscope itemtype="https://schema.org/ImageObject"><img itemprop="url image" decoding="async" class="aligncenter size-full wp-image-16" src="https://samfirm.ru/wp-content/uploads/2022/09/3.-knopka-download.jpg" alt="Кнопка Download" width="632" height="497"  srcset="https://samfirm.ru/wp-content/uploads/2022/09/3.-knopka-download.jpg 632w, https://samfirm.ru/wp-content/uploads/2022/09/3.-knopka-download-300x236.jpg 300w" sizes="(max-width: 632px) 100vw, 632px" /><meta itemprop="width" content="632"><meta itemprop="height" content="497"></span></noscript></li>
  382. <li>Откройте загруженный архив и переместите расположенную в нем папку на рабочий стол или в другую директиву.<span itemprop="image" itemscope itemtype="https://schema.org/ImageObject"><img itemprop="url image" loading="lazy" decoding="async" class="lazy lazy-hidden aligncenter size-large wp-image-17" src="//samfirm.ru/wp-content/plugins/a3-lazy-load/assets/images/lazy_placeholder.gif" data-lazy-type="image" data-src="https://samfirm.ru/wp-content/uploads/2022/09/4.-peremeschenie-arhiva-s-programmoy-730x394.jpg" alt="Перемещение архива с программой" width="730" height="394"  srcset="" data-srcset="https://samfirm.ru/wp-content/uploads/2022/09/4.-peremeschenie-arhiva-s-programmoy-730x394.jpg 730w, https://samfirm.ru/wp-content/uploads/2022/09/4.-peremeschenie-arhiva-s-programmoy-300x162.jpg 300w, https://samfirm.ru/wp-content/uploads/2022/09/4.-peremeschenie-arhiva-s-programmoy-768x415.jpg 768w, https://samfirm.ru/wp-content/uploads/2022/09/4.-peremeschenie-arhiva-s-programmoy.jpg 804w" sizes="(max-width: 730px) 100vw, 730px" /><meta itemprop="width" content="730"><meta itemprop="height" content="394"></span><noscript><span itemprop="image" itemscope itemtype="https://schema.org/ImageObject"><img itemprop="url image" loading="lazy" decoding="async" class="aligncenter size-large wp-image-17" src="https://samfirm.ru/wp-content/uploads/2022/09/4.-peremeschenie-arhiva-s-programmoy-730x394.jpg" alt="Перемещение архива с программой" width="730" height="394"  srcset="https://samfirm.ru/wp-content/uploads/2022/09/4.-peremeschenie-arhiva-s-programmoy-730x394.jpg 730w, https://samfirm.ru/wp-content/uploads/2022/09/4.-peremeschenie-arhiva-s-programmoy-300x162.jpg 300w, https://samfirm.ru/wp-content/uploads/2022/09/4.-peremeschenie-arhiva-s-programmoy-768x415.jpg 768w, https://samfirm.ru/wp-content/uploads/2022/09/4.-peremeschenie-arhiva-s-programmoy.jpg 804w" sizes="(max-width: 730px) 100vw, 730px" /><meta itemprop="width" content="730"><meta itemprop="height" content="394"></span></noscript></li>
  383. <li>Зайдите в папку и запустите приложение «SamFirm».</li>
  384. </ol>
  385. <p><span itemprop="image" itemscope itemtype="https://schema.org/ImageObject"><img itemprop="url image" loading="lazy" decoding="async" class="lazy lazy-hidden aligncenter size-full wp-image-18" src="//samfirm.ru/wp-content/plugins/a3-lazy-load/assets/images/lazy_placeholder.gif" data-lazy-type="image" data-src="https://samfirm.ru/wp-content/uploads/2022/09/5.-prilozhenie-samfirm.jpg" alt="Приложение SamFirm" width="694" height="329"  srcset="" data-srcset="https://samfirm.ru/wp-content/uploads/2022/09/5.-prilozhenie-samfirm.jpg 694w, https://samfirm.ru/wp-content/uploads/2022/09/5.-prilozhenie-samfirm-300x142.jpg 300w" sizes="(max-width: 694px) 100vw, 694px" /><meta itemprop="width" content="694"><meta itemprop="height" content="329"></span><noscript><span itemprop="image" itemscope itemtype="https://schema.org/ImageObject"><img itemprop="url image" loading="lazy" decoding="async" class="aligncenter size-full wp-image-18" src="https://samfirm.ru/wp-content/uploads/2022/09/5.-prilozhenie-samfirm.jpg" alt="Приложение SamFirm" width="694" height="329"  srcset="https://samfirm.ru/wp-content/uploads/2022/09/5.-prilozhenie-samfirm.jpg 694w, https://samfirm.ru/wp-content/uploads/2022/09/5.-prilozhenie-samfirm-300x142.jpg 300w" sizes="(max-width: 694px) 100vw, 694px" /><meta itemprop="width" content="694"><meta itemprop="height" content="329"></span></noscript></p>
  386. <p>Внутри лежат ссылки на драйвера и программу для прошивки Самсунг. Чтоб с поиском апдейтов не было проблем, установите/обновите:</p>
  387. <ul>
  388. <li>NET Framework до версии 3.5 или выше;</li>
  389. <li>MS Visual C++ 2008 (x86);</li>
  390. <li>MS Visual C++ 2010 (x86).</li>
  391. </ul>
  392. <blockquote class="info"><p>Весь дополнительный софт загружают с официального сайта Microsoft.</p></blockquote>
  393. <p>Также в интернете можно найти SamFirm AiO 1.4.2 от разработчика Mahmoud Salah. По факту, это та же самая программа, но с никнеймом разработчика, слегка преображенным интерфейсом и прямыми ссылками на загрузку NET Framework и MS Visual C++.</p>
  394. <h3 id="sistemnye-trebovaniya">Системные требования</h3>
  395. <p>Скачать SamFirm Tool можно бесплатно на любой ПК под управлением Windows 7 / 8 / 8.1 / 10 / 11. Официальной версии на русском языке нет, но он встречается в пользовательских модификациях.</p>
  396. <p style="text-align: center;margin-bottom: 20px !important;"><a class="btn" href="https://samfirm.ru/wp-content/uploads/SamFirm_v0.5.0.zip"><i class="icon-arrow-up-outline" style="transform: rotate(180deg );display: inline-block;vertical-align: middle;margin-right: 8px;"></i>Скачать SamFirm</a></p>
  397. <h2 id="kak-polzovatsya-samfirm">Как пользоваться Samfirm</h2>
  398. <p>Как выглядит инструкция по использованию Самфирм:</p>
  399. <ol>
  400. <li>После запуска, в строчку «Model» введите название модели девайса. К примеру, не A52, а SM-A525F. Развернутое название модификации узнают из мануала для пользователя или на тематических форумах.</li>
  401. <li>В «Region» нужно указать региональный код девайса. Это 3 последних буквы в артикуле, нанесенном на коробку. Смартфоны, предназначенные для продажи на территории России, обозначают как AZC/BLN/EMT/ERS/GEO/MTV/SER/SNT.</li>
  402. <li>Поставьте отметку рядом с «Auto» для автоматического определения частей прошивки. Если оставить флажок рядом с «Manual» можно вручную указать части прошивки в 3 поля ниже: «PDA», «CSC» и «Phone».</li>
  403. <li>Отметьте «Binary Nature» для загрузки многофайловой сервисной прошивки, если таковая нужна.</li>
  404. <li>Обязательно поставьте отметки рядом с «Check CRC32» и «Decrypt automatically». Первая функция нужна для проверки суммы прошивки, вторая для ее расшифровки.</li>
  405. <li>Теперь жмите на «Check Update», чтобы запустить поиск прошивки.<span itemprop="image" itemscope itemtype="https://schema.org/ImageObject"><img itemprop="url image" loading="lazy" decoding="async" class="lazy lazy-hidden aligncenter size-full wp-image-9" src="//samfirm.ru/wp-content/plugins/a3-lazy-load/assets/images/lazy_placeholder.gif" data-lazy-type="image" data-src="https://samfirm.ru/wp-content/uploads/2022/09/6.-poisk-proshivki-po-zadannym-parametram.jpg" alt="6. Поиск прошивки по заданным параметрам" width="666" height="415"  srcset="" data-srcset="https://samfirm.ru/wp-content/uploads/2022/09/6.-poisk-proshivki-po-zadannym-parametram.jpg 666w, https://samfirm.ru/wp-content/uploads/2022/09/6.-poisk-proshivki-po-zadannym-parametram-300x187.jpg 300w" sizes="(max-width: 666px) 100vw, 666px" /><meta itemprop="width" content="666"><meta itemprop="height" content="415"></span><noscript><span itemprop="image" itemscope itemtype="https://schema.org/ImageObject"><img itemprop="url image" loading="lazy" decoding="async" class="aligncenter size-full wp-image-9" src="https://samfirm.ru/wp-content/uploads/2022/09/6.-poisk-proshivki-po-zadannym-parametram.jpg" alt="6. Поиск прошивки по заданным параметрам" width="666" height="415"  srcset="https://samfirm.ru/wp-content/uploads/2022/09/6.-poisk-proshivki-po-zadannym-parametram.jpg 666w, https://samfirm.ru/wp-content/uploads/2022/09/6.-poisk-proshivki-po-zadannym-parametram-300x187.jpg 300w" sizes="(max-width: 666px) 100vw, 666px" /><meta itemprop="width" content="666"><meta itemprop="height" content="415"></span></noscript></li>
  406. <li>После нахождения подходящего варианта, жмите на «Download».<span itemprop="image" itemscope itemtype="https://schema.org/ImageObject"><img itemprop="url image" loading="lazy" decoding="async" class="lazy lazy-hidden aligncenter size-full wp-image-10" src="//samfirm.ru/wp-content/plugins/a3-lazy-load/assets/images/lazy_placeholder.gif" data-lazy-type="image" data-src="https://samfirm.ru/wp-content/uploads/2022/09/7.-zagruzka-proshivki.jpg" alt="Загрузка прошивки" width="666" height="411"  srcset="" data-srcset="https://samfirm.ru/wp-content/uploads/2022/09/7.-zagruzka-proshivki.jpg 666w, https://samfirm.ru/wp-content/uploads/2022/09/7.-zagruzka-proshivki-300x185.jpg 300w" sizes="(max-width: 666px) 100vw, 666px" /><meta itemprop="width" content="666"><meta itemprop="height" content="411"></span><noscript><span itemprop="image" itemscope itemtype="https://schema.org/ImageObject"><img itemprop="url image" loading="lazy" decoding="async" class="aligncenter size-full wp-image-10" src="https://samfirm.ru/wp-content/uploads/2022/09/7.-zagruzka-proshivki.jpg" alt="Загрузка прошивки" width="666" height="411"  srcset="https://samfirm.ru/wp-content/uploads/2022/09/7.-zagruzka-proshivki.jpg 666w, https://samfirm.ru/wp-content/uploads/2022/09/7.-zagruzka-proshivki-300x185.jpg 300w" sizes="(max-width: 666px) 100vw, 666px" /><meta itemprop="width" content="666"><meta itemprop="height" content="411"></span></noscript></li>
  407. <li>Укажите папку, куда «Сохранить» загружаемые файлы.<span itemprop="image" itemscope itemtype="https://schema.org/ImageObject"><img itemprop="url image" loading="lazy" decoding="async" class="lazy lazy-hidden aligncenter size-full wp-image-11" src="//samfirm.ru/wp-content/plugins/a3-lazy-load/assets/images/lazy_placeholder.gif" data-lazy-type="image" data-src="https://samfirm.ru/wp-content/uploads/2022/09/8.-vybor-papki-dlya-zagruzki-proshivki.jpg" alt="Выбор папки для загрузки прошивки" width="822" height="513"  srcset="" data-srcset="https://samfirm.ru/wp-content/uploads/2022/09/8.-vybor-papki-dlya-zagruzki-proshivki.jpg 822w, https://samfirm.ru/wp-content/uploads/2022/09/8.-vybor-papki-dlya-zagruzki-proshivki-300x187.jpg 300w, https://samfirm.ru/wp-content/uploads/2022/09/8.-vybor-papki-dlya-zagruzki-proshivki-768x479.jpg 768w" sizes="(max-width: 822px) 100vw, 822px" /><meta itemprop="width" content="822"><meta itemprop="height" content="513"></span><noscript><span itemprop="image" itemscope itemtype="https://schema.org/ImageObject"><img itemprop="url image" loading="lazy" decoding="async" class="aligncenter size-full wp-image-11" src="https://samfirm.ru/wp-content/uploads/2022/09/8.-vybor-papki-dlya-zagruzki-proshivki.jpg" alt="Выбор папки для загрузки прошивки" width="822" height="513"  srcset="https://samfirm.ru/wp-content/uploads/2022/09/8.-vybor-papki-dlya-zagruzki-proshivki.jpg 822w, https://samfirm.ru/wp-content/uploads/2022/09/8.-vybor-papki-dlya-zagruzki-proshivki-300x187.jpg 300w, https://samfirm.ru/wp-content/uploads/2022/09/8.-vybor-papki-dlya-zagruzki-proshivki-768x479.jpg 768w" sizes="(max-width: 822px) 100vw, 822px" /><meta itemprop="width" content="822"><meta itemprop="height" content="513"></span></noscript></li>
  408. <li>После загрузки и расшифровки, переходите к прошивке девайса с помощью Odin.</li>
  409. </ol>
  410. <p>Когда операция завершится, закройте окно софта.</p>
  411. <p style="text-align: center;margin-bottom: 20px !important;"><a class="btn" href="https://samfirm.ru/wp-content/uploads/SamFirm_v0.5.0.zip"><i class="icon-arrow-up-outline" style="transform: rotate(180deg );display: inline-block;vertical-align: middle;margin-right: 8px;"></i>Скачать SamFirm</a></p>
  412. <h2 id="vozmozhnye-problemy-programmy">Возможные проблемы программы</h2>
  413. <p>Разберемся с часто возникающими ошибками.</p>
  414. <p><strong><em>Появляется сообщение installing drivers failed</em></strong></p>
  415. <p>Скачайте актуальные драйвера для устройства на Windows. Ссылка на их загрузку находится в папке с SamFirm. Если это не помогло, попробуйте:</p>
  416. <ul>
  417. <li>разместить программу так, чтобы на пути папки не было кириллицы, например – Disk C / Programs / SamFirm;</li>
  418. <li>отключите обязательную проверку подписи драйвера – ищите способ, как это сделать для конкретной ОС в интернете.</li>
  419. </ul>
  420. <p><strong><em>Не находит прошивку</em></strong></p>
  421. <p>Что делать в таком случае:</p>
  422. <ul>
  423. <li>переустановить софт, отмеченный выше;</li>
  424. <li>проверить правильность ввода модели и/или региона;</li>
  425. <li>попробовать найти прошивку вручную «Manual».</li>
  426. </ul>
  427. <p><strong><em>Ошибка</em></strong><strong><em> Error: CRC does not match. Please redownload the file</em></strong></p>
  428. <p>Отключите проверку CRC32.</p>
  429. <p><strong><em>Ошибка</em></strong><strong><em> opening the browser on your device failed</em></strong></p>
  430. <p>Встречается на сборке SamFirm от Mahmoud Salah. Решается отключением обязательной проверки подписи драйвера.</p>
  431. <p><strong><em>Программа не видит телефон</em></strong></p>
  432. <p>Во время поиска прошивки не нужно подключать смартфон к ПК. Если появляется проблема с определением девайса во время прошивки – установите драйвера и найдите инструкцию по обходу FRP на конкретной модели.</p>
  433. <h2 id="preimuschestva-i-nedostatki-programmy">Преимущества и недостатки программы</h2>
  434. <p>Плюсы:</p>
  435. <ul>
  436. <li>в распакованном виде занимает 5 МБ;</li>
  437. <li>находит актуальные и официальные прошивки;</li>
  438. <li>легко разобраться даже без знания английского языка;</li>
  439. <li>в папке с софтом есть ссылки на дополнительное ПО.</li>
  440. </ul>
  441. <p>Минусы:</p>
  442. <ul>
  443. <li>необходимо устанавливать дополнительный софт.</li>
  444. </ul>
  445. <h2 id="kak-udalit-samfirm">Как удалить SamFirm</h2>
  446. <p>Перенести папку с программой в корзину или отметить ее левой кнопкой мышки и щелкнуть по «Delete».</p>
  447. <p><iframe class="lazy lazy-hidden" loading="lazy" title="Качаем новые прошивки для телефонов Samsung программой SamFirm бесплатно" width="730" height="411"  data-lazy-type="iframe" data-src="https://www.youtube.com/embed/QBdI5DWrKXk?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe><noscript><iframe loading="lazy" title="Качаем новые прошивки для телефонов Samsung программой SamFirm бесплатно" width="730" height="411" src="https://www.youtube.com/embed/QBdI5DWrKXk?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe></noscript></p><script>
  448. window.jsInputerLaunch = 15;
  449. if (typeof launchAsyncFunctionLauncher === "undefined") {
  450.    function launchAsyncFunctionLauncher() {
  451.        if (typeof asyncFunctionLauncher !== "undefined" && typeof asyncFunctionLauncher === "function") {
  452.            asyncFunctionLauncher();
  453.        } else {
  454.            setTimeout(function () {
  455.                launchAsyncFunctionLauncher();
  456.            }, 100)
  457.        }
  458.    }
  459. }
  460. launchAsyncFunctionLauncher();
  461. </script><script>
  462. var cachedBlocksArray = [];
  463. cachedBlocksArray[313797] = "<!-- Yandex.RTB R-A-5664747-1 --><div id=\"yandex_rtb_R-A-5664747-1\"><\/div><scr"+"ipt>window.yaContextCb.push(()=>{Ya.Context.AdvManager.render({\"blockId\": \"R-A-5664747-1\",\"renderTo\": \"yandex_rtb_R-A-5664747-1\"})})<\/scr"+"ipt>";
  464. </script> </div><!-- .entry-content -->
  465.  
  466. </article>
  467.  
  468.  
  469. <div class="social-buttons"><span class="social-button social-button--vkontakte " data-social="vkontakte"></span><span class="social-button social-button--facebook " data-social="facebook"></span><span class="social-button social-button--telegram " data-social="telegram"></span><span class="social-button social-button--odnoklassniki " data-social="odnoklassniki"></span><span class="social-button social-button--twitter " data-social="twitter"></span><span class="social-button social-button--whatsapp " data-social="whatsapp"></span></div>
  470. <meta itemprop="author" content="malostran">
  471. <meta itemscope itemprop="mainEntityOfPage" itemType="https://schema.org/WebPage" itemid="https://samfirm.ru/" content="Samfirm &#8211; программа для скачивания прошивок для устройств Samsung">
  472. <meta itemprop="dateModified" content="2023-09-03">
  473. <meta itemprop="datePublished" content="2022-07-09T13:16:27+03:00">
  474. <div itemprop="publisher" itemscope itemtype="https://schema.org/Organization" style="display: none;"><div itemprop="logo" itemscope itemtype="https://schema.org/ImageObject"><img itemprop="url image" src="https://samfirm.ru/wp-content/uploads/2022/09/logo-1.png" alt="SamFirm"></div><meta itemprop="name" content="SamFirm"><meta itemprop="telephone" content="SamFirm"><meta itemprop="address" content="https://samfirm.ru"></div>
  475.        </main><!-- #main -->
  476.    </div><!-- #primary -->
  477.  
  478.    
  479. <aside id="secondary" class="widget-area" itemscope itemtype="http://schema.org/WPSideBar">
  480.  
  481. <div id="custom_html-2" class="widget_text widget widget_custom_html"><div class="widget-header">SamFirm</div><div class="textwidget custom-html-widget"><div class="sbtablewrap">
  482. <table class="sbtable">
  483. <tr><th>Разработчик</th><td>zxz0O0</td></tr>
  484. <tr><th>Лицензия</th><td>Бесплатная</td></tr>
  485. <tr><th>Версия</th><td>0.5.0</td></tr>
  486. <tr><th>Размер</th><td>3.76Mb</td></tr>
  487. <tr><th>Обновлено</th><td>15.09.2022</td></tr>
  488. <tr><th>Операционная система</th><td>Windows 10, 8, 7, Vista, XP</td></tr>
  489. <tr><th>Язык</th><td>Русский</td></tr>
  490. <tr><th>Категория</th><td>Прошивки</td></tr>
  491. </table>
  492. </div></div></div><div id="custom_html-3" class="widget_text widget widget_custom_html"><div class="textwidget custom-html-widget"><p style="text-align: center;margin-bottom: 20px !important;"><a class="btn" href="https://samfirm.ru/wp-content/uploads/SamFirm_v0.5.0.zip"><i class="icon-arrow-up-outline" style="transform: rotate(180deg );display: inline-block;vertical-align: middle;margin-right: 8px;"></i>Скачать SamFirm</a></p></div></div><div id="wpshop_widget_articles-2" class="widget widget_wpshop_widget_articles"><div class="widget-header">Инструкции</div><div class="widget-articles">
  493. <article class="post-card post-card--small ">
  494.            <div class="post-card__thumbnail">
  495.            <a href="https://samfirm.ru/programmy-dlya-proshivki-androida/">
  496.                <div class="post-card__icon">
  497.                    <img width="100" height="100" src="//samfirm.ru/wp-content/plugins/a3-lazy-load/assets/images/lazy_placeholder.gif" data-lazy-type="image" data-src="https://samfirm.ru/wp-content/uploads/2022/09/sp-flash-tool-100x100.png" class="lazy lazy-hidden attachment-yelly_square size-yelly_square wp-post-image" alt="SP Flash Tool" decoding="async" loading="lazy" srcset="" data-srcset="https://samfirm.ru/wp-content/uploads/2022/09/sp-flash-tool-100x100.png 100w, https://samfirm.ru/wp-content/uploads/2022/09/sp-flash-tool-150x150.png 150w" sizes="(max-width: 100px) 100vw, 100px" /><noscript><img width="100" height="100" src="//samfirm.ru/wp-content/plugins/a3-lazy-load/assets/images/lazy_placeholder.gif" data-lazy-type="image" data-src="https://samfirm.ru/wp-content/uploads/2022/09/sp-flash-tool-100x100.png" class="lazy lazy-hidden attachment-yelly_square size-yelly_square wp-post-image" alt="SP Flash Tool" decoding="async" loading="lazy" srcset="" data-srcset="https://samfirm.ru/wp-content/uploads/2022/09/sp-flash-tool-100x100.png 100w, https://samfirm.ru/wp-content/uploads/2022/09/sp-flash-tool-150x150.png 150w" sizes="(max-width: 100px) 100vw, 100px" /><noscript><img width="100" height="100" src="https://samfirm.ru/wp-content/uploads/2022/09/sp-flash-tool-100x100.png" class="attachment-yelly_square size-yelly_square wp-post-image" alt="SP Flash Tool" decoding="async" loading="lazy" srcset="https://samfirm.ru/wp-content/uploads/2022/09/sp-flash-tool-100x100.png 100w, https://samfirm.ru/wp-content/uploads/2022/09/sp-flash-tool-150x150.png 150w" sizes="(max-width: 100px) 100vw, 100px" /></noscript></noscript>                </div>
  498.            </a>
  499.        </div>
  500.    
  501.    <div class="post-card__body">
  502.        <div class="post-card__title"><a href="https://samfirm.ru/programmy-dlya-proshivki-androida/">Основные программы для прошивки Андроида через ПК</a></div>
  503.  
  504.        
  505.                    <div class="post-card__meta">
  506.                                <span class="post-card__views">1.8к.</span>            </div>
  507.        
  508.            </div>
  509. </article>
  510. <article class="post-card post-card--small ">
  511.            <div class="post-card__thumbnail">
  512.            <a href="https://samfirm.ru/kak-pereproshit-telefon-samsung/">
  513.                <div class="post-card__icon">
  514.                    <img width="100" height="100" src="//samfirm.ru/wp-content/plugins/a3-lazy-load/assets/images/lazy_placeholder.gif" data-lazy-type="image" data-src="https://samfirm.ru/wp-content/uploads/2022/09/nomer-modeli-100x100.jpg" class="lazy lazy-hidden attachment-yelly_square size-yelly_square wp-post-image" alt="номер модели" decoding="async" loading="lazy" srcset="" data-srcset="https://samfirm.ru/wp-content/uploads/2022/09/nomer-modeli-100x100.jpg 100w, https://samfirm.ru/wp-content/uploads/2022/09/nomer-modeli-150x150.jpg 150w" sizes="(max-width: 100px) 100vw, 100px" /><noscript><img width="100" height="100" src="//samfirm.ru/wp-content/plugins/a3-lazy-load/assets/images/lazy_placeholder.gif" data-lazy-type="image" data-src="https://samfirm.ru/wp-content/uploads/2022/09/nomer-modeli-100x100.jpg" class="lazy lazy-hidden attachment-yelly_square size-yelly_square wp-post-image" alt="номер модели" decoding="async" loading="lazy" srcset="" data-srcset="https://samfirm.ru/wp-content/uploads/2022/09/nomer-modeli-100x100.jpg 100w, https://samfirm.ru/wp-content/uploads/2022/09/nomer-modeli-150x150.jpg 150w" sizes="(max-width: 100px) 100vw, 100px" /><noscript><img width="100" height="100" src="https://samfirm.ru/wp-content/uploads/2022/09/nomer-modeli-100x100.jpg" class="attachment-yelly_square size-yelly_square wp-post-image" alt="номер модели" decoding="async" loading="lazy" srcset="https://samfirm.ru/wp-content/uploads/2022/09/nomer-modeli-100x100.jpg 100w, https://samfirm.ru/wp-content/uploads/2022/09/nomer-modeli-150x150.jpg 150w" sizes="(max-width: 100px) 100vw, 100px" /></noscript></noscript>                </div>
  515.            </a>
  516.        </div>
  517.    
  518.    <div class="post-card__body">
  519.        <div class="post-card__title"><a href="https://samfirm.ru/kak-pereproshit-telefon-samsung/">Как перепрошить телефон Самсунг</a></div>
  520.  
  521.        
  522.                    <div class="post-card__meta">
  523.                                <span class="post-card__views">3.3к.</span>            </div>
  524.        
  525.            </div>
  526. </article>
  527. <article class="post-card post-card--small ">
  528.            <div class="post-card__thumbnail">
  529.            <a href="https://samfirm.ru/odin-proshivka-samsung/">
  530.                <div class="post-card__icon">
  531.                    <img width="100" height="100" src="//samfirm.ru/wp-content/plugins/a3-lazy-load/assets/images/lazy_placeholder.gif" data-lazy-type="image" data-src="https://samfirm.ru/wp-content/uploads/2022/09/odin-100x100.png" class="lazy lazy-hidden attachment-yelly_square size-yelly_square wp-post-image" alt="odin" decoding="async" loading="lazy" srcset="" data-srcset="https://samfirm.ru/wp-content/uploads/2022/09/odin-100x100.png 100w, https://samfirm.ru/wp-content/uploads/2022/09/odin-150x150.png 150w" sizes="(max-width: 100px) 100vw, 100px" /><noscript><img width="100" height="100" src="//samfirm.ru/wp-content/plugins/a3-lazy-load/assets/images/lazy_placeholder.gif" data-lazy-type="image" data-src="https://samfirm.ru/wp-content/uploads/2022/09/odin-100x100.png" class="lazy lazy-hidden attachment-yelly_square size-yelly_square wp-post-image" alt="odin" decoding="async" loading="lazy" srcset="" data-srcset="https://samfirm.ru/wp-content/uploads/2022/09/odin-100x100.png 100w, https://samfirm.ru/wp-content/uploads/2022/09/odin-150x150.png 150w" sizes="(max-width: 100px) 100vw, 100px" /><noscript><img width="100" height="100" src="https://samfirm.ru/wp-content/uploads/2022/09/odin-100x100.png" class="attachment-yelly_square size-yelly_square wp-post-image" alt="odin" decoding="async" loading="lazy" srcset="https://samfirm.ru/wp-content/uploads/2022/09/odin-100x100.png 100w, https://samfirm.ru/wp-content/uploads/2022/09/odin-150x150.png 150w" sizes="(max-width: 100px) 100vw, 100px" /></noscript></noscript>                </div>
  532.            </a>
  533.        </div>
  534.    
  535.    <div class="post-card__body">
  536.        <div class="post-card__title"><a href="https://samfirm.ru/odin-proshivka-samsung/">Odin &#8211; программа для прошивки Samsung через ПК</a></div>
  537.  
  538.        
  539.                    <div class="post-card__meta">
  540.                                <span class="post-card__views">4.8к.</span>            </div>
  541.        
  542.            </div>
  543. </article></div></div>
  544. </aside><!-- #secondary -->
  545.  
  546.    
  547.  
  548.    </div><!--.site-content-inner-->
  549.  
  550.    
  551. </div><!--.site-content-->
  552.  
  553.    
  554.    
  555.  
  556. <div class="site-footer-container">
  557.  
  558.    
  559.  
  560.    <div class="footer-navigation fixed" itemscope itemtype="http://schema.org/SiteNavigationElement">
  561.        <div class="main-navigation-inner fixed">
  562.            <div class="menu-menyu-v-futere-container"><ul id="footer_menu" class="menu"><li id="menu-item-45" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-45"><a href="https://samfirm.ru/o-sayte/">О сайте</a></li>
  563. <li id="menu-item-44" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-44"><a href="https://samfirm.ru/kontakty/">Контакты</a></li>
  564. <li id="menu-item-46" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-privacy-policy menu-item-46"><a rel="privacy-policy" href="https://samfirm.ru/privacy-policy/">Политика конфиденциальности</a></li>
  565. </ul></div>        </div>
  566.    </div><!--footer-navigation-->
  567.  
  568.  
  569.    <footer id="colophon" class="site-footer full" itemscope itemtype="http://schema.org/WPFooter">
  570.        <div class="site-footer-inner fixed">
  571.  
  572.            
  573.            
  574. <div class="footer-bottom">
  575.    <div class="footer-info">
  576.        <div class="footer-copyright">© 2022-2024 Не является официальным сайтом. Все товарные знаки принадлежат их владельцам.</div>
  577.        <div class="footer-under-copyright"></div>
  578.        </div>
  579.  
  580.    </div>
  581.        </div>
  582.    </footer><!--.site-footer-->
  583. </div>
  584.  
  585.  
  586.            <button type="button" class="scrolltop js-scrolltop"></button>
  587.    
  588.    
  589. </div><!-- #page -->
  590.  
  591. <script>var pseudo_links = document.querySelectorAll(".pseudo-clearfy-link");for (var i=0;i<pseudo_links.length;i++ ) { pseudo_links[i].addEventListener("click", function(e){   window.open( e.target.getAttribute("data-uri") ); }); }</script><script>
  592. if (typeof rb_ajaxurl==='undefined') {var rb_ajaxurl = 'https://samfirm.ru/wp-admin/admin-ajax.php';}
  593. if (typeof rb_csrf==='undefined') {var rb_csrf = '1812cf0264';}
  594. if (typeof gather_content==='undefined') {var gather_content = true;}
  595. if (typeof endedSc==='undefined') {var endedSc = false;}
  596. if (typeof endedCc==='undefined') {var endedCc = false;}
  597. if (typeof usedAdBlocksArray==='undefined') {var usedAdBlocksArray = [];}
  598. if (typeof usedBlockSettingArrayIds==='undefined') {var usedBlockSettingArrayIds = [];}
  599. if (typeof sameElementAfterWidth==='undefined') {var sameElementAfterWidth = false;}
  600. if (typeof sameElementAfterExcClassId==='undefined') {var sameElementAfterExcClassId = false;}
  601. if (typeof sameElementAfterFromConstruction==='undefined') {var sameElementAfterFromConstruction = false;}
  602. if (typeof rb_tempElement_check==='undefined') {var rb_tempElement_check = false;}
  603. if (typeof rb_tempElement==='undefined') {var rb_tempElement = null;}
  604. if (typeof window.jsInputerLaunch==='undefined') {window.jsInputerLaunch = -1;}
  605.  
  606. function launchUpdateRbDisplays() {
  607.    if ((typeof updateRbDisplays !== 'undefined')&&(typeof updateRbDisplays === 'function')) {
  608.        updateRbDisplays();
  609.    } else {
  610.        setTimeout(function () {
  611.            launchUpdateRbDisplays();
  612.        }, 200);
  613.    }
  614. }
  615.  
  616. /* "sc" in variables - mark for shortcode variable */
  617. function shortcodesInsert() {
  618.    let gatheredBlocks = document.querySelectorAll('.percentPointerClass.scMark'),
  619.        scBlockId = -1,
  620.        scAdId = -1,
  621.        blockStatus = '',
  622.        dataFull = -1,
  623.        gatheredBlockChild,
  624.        okStates = ['done','refresh-wait','no-block','fetched'],
  625.        scContainer,
  626.        sci,
  627.        i1 = 0,
  628.        skyscraperCheck = [],
  629.        skyscraperStatus = false,
  630.        splitedSkyscraper = [],
  631.        gatheredBlockChildSkyParts = [],
  632.        stickyStatus = false,
  633.        stickyCheck = [],
  634.        stickyFixedStatus = false,
  635.        stickyFixedCheck = [],
  636.        overflowCheck = [],
  637.        overflowStatus = false,
  638.        repeatableIdentifier = "",
  639.        dataCidIdentifier = null,
  640.        divCidElement = '';
  641.  
  642.    if (typeof scArray !== 'undefined') {
  643.        if (scArray&&scArray.length > 0&&gatheredBlocks&&gatheredBlocks.length > 0&&typeof window.rulvW5gntb !== 'undefined') {
  644.            dataCidIdentifier = window.rulvW5gntb;
  645.            for (let i = 0; i < gatheredBlocks.length; i++) {
  646.                gatheredBlockChild = gatheredBlocks[i].children[0];
  647.                if (!gatheredBlockChild) {
  648.                    continue;
  649.                }
  650.                scAdId = -3;
  651.                blockStatus = null;
  652.                scContainer = null;
  653.                dataFull = -1;
  654.                skyscraperStatus = false;
  655.                splitedSkyscraper = [];
  656.                gatheredBlockChildSkyParts = [];
  657.                stickyStatus = false;
  658.                stickyCheck = [];
  659.                stickyFixedStatus = false;
  660.                stickyFixedCheck = [];
  661.                repeatableIdentifier = "";
  662.                divCidElement = null;
  663.  
  664.                scAdId = gatheredBlockChild.getAttribute('data-aid');
  665.                scBlockId = gatheredBlockChild.getAttribute('data-id');
  666.                blockStatus = gatheredBlockChild.getAttribute('data-state');
  667.                dataFull = gatheredBlockChild.getAttribute('data-full');
  668.  
  669.                if (scBlockId&&scAdId > 0) {
  670.                    sci = -1;
  671.                    for (i1 = 0; i1 < scArray.length; i1++) {
  672.                        if (scBlockId == scArray[i1]['blockId']&&scAdId == scArray[i1]['adId']) {
  673.                            sci = i1;
  674.                        }
  675.                    }
  676.  
  677.                    if (sci > -1) {
  678.                        if (blockStatus&&okStates.includes(blockStatus)) {
  679.                            if (blockStatus=='no-block') {
  680.                                gatheredBlockChild.innerHTML = '';
  681.                            } else if ((blockStatus=='fetched'&&dataFull==1)||!['no-block','fetched'].includes(blockStatus)) {
  682.                                for (let cl1 = 0; cl1 < gatheredBlocks[i].classList.length; cl1++) {
  683.                                    if (gatheredBlocks[i].classList[cl1].includes("repeatable-mark")) {
  684.                                        repeatableIdentifier = gatheredBlocks[i].classList[cl1];
  685.                                    }
  686.                                }
  687.  
  688.                                if (repeatableIdentifier) {
  689.                                    divCidElement = document.querySelectorAll(".percentPointerClass.scMark."+repeatableIdentifier+' div[data-cid="'+dataCidIdentifier+'"]');
  690.                                } else {
  691.                                    divCidElement = gatheredBlockChild.querySelectorAll('div[data-cid="'+dataCidIdentifier+'"]');
  692.                                }
  693.  
  694.                                var text = scArray[sci]['text'];
  695.                                if (divCidElement&&divCidElement.length > 0) {
  696.                                    for (let i2 = 0; i2 < divCidElement.length; i2++) {
  697.                                        jQuery(divCidElement[i2]).html(text);
  698.                                    }
  699.                                } else {
  700.                                    jQuery(gatheredBlockChild).html(text);
  701.                                }
  702.                                launchUpdateRbDisplays();
  703.                            }
  704.                            if (blockStatus!='fetched'||(blockStatus=='fetched'&&dataFull==1)) {
  705.                                for (i1 = 0; i1 < scArray.length; i1++) {
  706.                                    if (scBlockId == scArray[i1]['blockId']) {
  707.                                        scArray.splice(i1, 1);
  708.                                        i1--;
  709.                                    }
  710.                                }
  711.                                gatheredBlocks[i].classList.remove('scMark');
  712.                            }
  713.                        }
  714.                    }
  715.                } else if (scBlockId&&scAdId < 1&&['no-block','fetched'].includes(blockStatus)) {
  716.                    for (i1 = 0; i1 < scArray.length; i1++) {
  717.                        if (scBlockId == scArray[i1]['blockId']) {
  718.                            scArray.splice(i1, 1);
  719.                            i1--;
  720.                        }
  721.                    }
  722.                    gatheredBlocks[i].classList.remove('scMark');
  723.                }
  724.            }
  725.        } else if (!scArray||(scArray&&scArray.length < 1)) {
  726.            endedSc = true;
  727.        }
  728.    } else {
  729.        endedSc = true;
  730.    }
  731.  
  732.    if (!endedSc) {
  733.        setTimeout(function () {
  734.            shortcodesInsert();
  735.        }, 200);
  736.    }
  737. }
  738.  
  739. function clearUnsuitableCache(cuc_cou) {
  740.    let scAdId = -1;
  741.    let ccRepeat = false;
  742.  
  743.    let gatheredBlocks = document.querySelectorAll('.percentPointerClass .' + block_classes.join(', .percentPointerClass .'));
  744.  
  745.    if (gatheredBlocks&&gatheredBlocks.length > 0) {
  746.        for (let i = 0; i < gatheredBlocks.length; i++) {
  747.            if (gatheredBlocks[i]['dataset']['aid']&&gatheredBlocks[i]['dataset']['aid'] < 0) {
  748.                if ((gatheredBlocks[i]['dataset']["state"]=='no-block')||(['done','fetched','refresh-wait'].includes(gatheredBlocks[i]['dataset']["state"]))) {
  749.                    gatheredBlocks[i]['innerHTML'] = '';
  750.                } else {
  751.                    ccRepeat = true;
  752.                }
  753.            } else if (!gatheredBlocks[i]['dataset']['aid']) {
  754.                ccRepeat = true;
  755.            }
  756.        }
  757.        if (cuc_cou < 50) {
  758.            if (ccRepeat) {
  759.                setTimeout(function () {
  760.                    clearUnsuitableCache(cuc_cou+1);
  761.                }, 100);
  762.            }
  763.        } else {
  764.            endedCc = true;
  765.        }
  766.    } else {
  767.        endedCc = true;
  768.    }
  769. }
  770.  
  771. function blocksRepositionUse(containerString, blType, searchType, contentElement) {
  772.    let blocksInContainer;
  773.    let blLocal = blType;
  774.    let currentBlock;
  775.    let currentBlockId;
  776.    let currentBlockPosition;
  777.    let currentContainer;
  778.    let i = 0;
  779.    let j = 0;
  780.    let blockStrJs = ' .percentPointerClass.marked';
  781.    let blockStrPhp = ' .percentPointerClass:not(.marked)';
  782.    let blockStr = ' .percentPointerClass';
  783.    let checkPointer = null;
  784.    let blockRepeatEnd = false;
  785.  
  786.    if (searchType) {
  787.        if (searchType == 'marked') {
  788.            while (!blockRepeatEnd) {
  789.                blLocal = blLocal.parentElement;
  790.                if (blLocal) {
  791.                    checkPointer = blLocal.querySelector("#content_pointer_id");
  792.                    if (!checkPointer) {
  793.                        blocksInContainer = jQuery(blLocal).parent(containerString);
  794.                        if (blocksInContainer && blocksInContainer.length > 0) {
  795.                            /* checkPointer = blocksInContainer.querySelector("#content_pointer_id"); */
  796.                            checkPointer = jQuery(blocksInContainer).find("#content_pointer_id");
  797.                            if (checkPointer && checkPointer.length > 0) {
  798.                                blocksInContainer = null;
  799.                            }
  800.                            blockRepeatEnd = true;
  801.                        }
  802.                    } else {
  803.                        blockRepeatEnd = true
  804.                    }
  805.                } else {
  806.                    blockRepeatEnd = true
  807.                }
  808.            }
  809.            /* blocksInContainer = jQuery(blType).parent(containerString); */
  810.            if (blocksInContainer&&blocksInContainer.length > 0) {
  811.                /* blocksInContainer.parentNode.insertBefore(rb_tempElement, blocksInContainer); */
  812.                blocksInContainer[0].parentNode.insertBefore(rb_tempElement, blocksInContainer[0]);
  813.  
  814.                sameElementAfterExcClassId = false;
  815.                return blocksInContainer[0];
  816.            }
  817.            return blType;
  818.        } else if (searchType == 'non-marked') {
  819.            blocksInContainer = document.querySelectorAll(blType + containerString + blockStrPhp);
  820.            if (blocksInContainer && blocksInContainer.length > 0 && usedBlockSettingArray && usedBlockSettingArray.length > 0) {
  821.                for (i = 0; i < blocksInContainer.length; i++) {
  822.                    currentBlock = blocksInContainer[i];
  823.                    currentBlockId = currentBlock.querySelector('.' + block_classes.join(', .')).getAttribute('data-id');
  824.                    currentContainer = null;
  825.                    for (j = 0; j < usedBlockSettingArray.length; i++) {
  826.                        if (usedBlockSettingArray[i]['id'] == currentBlockId) {
  827.                            currentBlockPosition = usedBlockSettingArray[i]['elementPosition'];
  828.                            currentContainer = currentBlock.closest(blType + containerString);
  829.                            if (currentBlockPosition == 0) {
  830.                                currentContainer.parentNode.insertBefore(currentBlock, currentContainer);
  831.                            } else {
  832.                                currentContainer.parentNode.insertBefore(currentBlock, currentContainer.nextSibling);
  833.                            }
  834.                            break;
  835.                        }
  836.                    }
  837.                }
  838.            }
  839.        }
  840.    }
  841.    return false;
  842. }
  843.  
  844. function createStyleElement(blockNumber, localElementCss) {
  845.    let htmlToAdd = '';
  846.    let marginString;
  847.    let textAlignString;
  848.    let contPoi;
  849.    let emptyValues = false;
  850.    let elementToAddStyleLocal = document.querySelector('#blocksAlignStyle');
  851.    if (!elementToAddStyleLocal) {
  852.        contPoi = document.querySelector('#content_pointer_id');
  853.        if (!contPoi) {
  854.            return false;
  855.        }
  856.  
  857.        elementToAddStyleLocal = document.createElement('style');
  858.        elementToAddStyleLocal.setAttribute('id', 'blocksAlignStyle');
  859.        contPoi.parentNode.insertBefore(elementToAddStyleLocal, contPoi);
  860.    }
  861.  
  862.    switch (localElementCss) {
  863.        case 'left':
  864.            emptyValues = false;
  865.            marginString = '0 auto 0 0';
  866.            textAlignString = 'left';
  867.            break;
  868.        case 'right':
  869.            emptyValues = false;
  870.            marginString = '0 0 0 auto';
  871.            textAlignString = 'right';
  872.            break;
  873.        case 'center':
  874.            emptyValues = false;
  875.            marginString = '0 auto';
  876.            textAlignString = 'center';
  877.            break;
  878.        case 'default':
  879.            emptyValues = true;
  880.            marginString = 'default';
  881.            textAlignString = 'default';
  882.            /** here will be css */
  883.            break;
  884.    }
  885.    if (!emptyValues) {
  886.        htmlToAdd = '.percentPointerClass  > *[data-id="'+blockNumber+'"] {\n' +
  887.            '    margin: '+marginString+';\n' +
  888.            '}\n';
  889.    }
  890.  
  891.    elementToAddStyleLocal.innerHTML += htmlToAdd;
  892.    return textAlignString;
  893. }
  894.  
  895. function initTargetToInsert(position, type, currentElement) {
  896.    let posCurrentElement;
  897.    let usedElement;
  898.    if (type == 'element') {
  899.        if (position == 0) {
  900.            posCurrentElement = currentElement;
  901.            if (!(typeof obligatoryMargin!=='undefined'&&obligatoryMargin===1)) {
  902.                currentElement.classList.add('rfwp_removedMarginTop');
  903.            }
  904.        } else {
  905.            posCurrentElement = currentElement.nextSibling;
  906.            if (!(typeof obligatoryMargin!=='undefined'&&obligatoryMargin===1)) {
  907.                currentElement.classList.add('rfwp_removedMarginBottom');
  908.            }
  909.        }
  910.        currentElement.style.clear = 'both';
  911.    } else {
  912.        usedElement = currentElement;
  913.        if (position == 0) {
  914.            posCurrentElement = usedElement;
  915.        } else {
  916.            posCurrentElement = usedElement.nextSibling;
  917.        }
  918.    }
  919.    return posCurrentElement;
  920. }
  921.  
  922. function checkAdsWidth(content_pointer, posCurrentElement, currentElement) {
  923.    let widthChecker = document.querySelector('#widthChecker');
  924.    let widthCheckerStyle = null;
  925.    let content_pointerStyle = getComputedStyle(content_pointer);
  926.    /* let getPositionForTempElement = null;
  927.    let testImgDetected = false;
  928.    let testImg;
  929.    let testImageCompWidth;
  930.    let testImgCou = 0
  931.    let figureChilds;
  932.    let figureComWidth;
  933.    let fcCou = 0; */
  934.    let content = content_pointer.parentElement;
  935.  
  936.    if (!widthChecker) {
  937.        widthChecker = document.createElement("div");
  938.        widthChecker.setAttribute('id','widthChecker');
  939.        widthChecker.style.display = 'flex';
  940.    }
  941.  
  942.    if (content) {
  943.        posCurrentElement = initTargetToInsert(posCurrentElement, 'term', currentElement);
  944.        currentElement.parentNode.insertBefore(widthChecker, posCurrentElement);
  945.        widthCheckerStyle = getComputedStyle(widthChecker);
  946.        /* testImg = currentElement.previousSibling;
  947.        if (testImg) {
  948.            while (!testImgDetected&&testImgCou<4) {
  949.                if (testImg&&testImg.nodeName.toLowerCase() === 'figure') {
  950.                    figureComWidth = getComputedStyle(testImg);
  951.                    figureComWidth = parseInt(figureComWidth.width);
  952.                    figureChilds = testImg.childNodes;
  953.                    if (figureChilds&&figureChilds.length > 0) {
  954.                        while (!testImgDetected&&figureChilds[fcCou]) {
  955.                            if (figureChilds[fcCou] instanceof HTMLImageElement) {
  956.                                testImgDetected = true;
  957.                                testImageCompWidth = getComputedStyle(figureChilds[fcCou]);
  958.                                testImageCompWidth = parseInt(testImageCompWidth.width);
  959.                                console.log('img_f_w:'+figureComWidth+'; img_w:'+testImageCompWidth+';');
  960.                            }
  961.                            fcCou++;
  962.                        }
  963.                    }
  964.                }
  965.                if (testImg instanceof HTMLImageElement) {
  966.                    testImgDetected = true;
  967.                    testImageCompWidth = getComputedStyle(testImg);
  968.                    testImageCompWidth = parseInt(testImageCompWidth.width);
  969.                    console.log('img_w:'+testImageCompWidth+';');
  970.                }
  971.                if (!testImg.previousSibling) {
  972.                    break;
  973.                }
  974.                testImg = testImg.previousSibling;
  975.                testImgCou++;
  976.            }
  977.        }
  978.        console.log('cp_w:'+parseInt(content_pointerStyle.width)+'; wc_w:'+parseInt(widthCheckerStyle.width)+';'); */
  979.        if (parseInt(widthCheckerStyle.width) >= (parseInt(content_pointerStyle.width) - 50)) {
  980.            return true;
  981.        }
  982.    }
  983.    currentElement.parentNode.insertBefore(rb_tempElement, currentElement.nextSibling);
  984.    rb_tempElement_check = true;
  985.    return false;
  986. }
  987.  
  988. /* function currentElementReceiver(revert, curSum, elList, currentElement) {
  989.    let origCurrentElement = currentElement;
  990.    let content_pointer = document.querySelector("#content_pointer_id");
  991.    let sameElementAfterWidth = false;
  992.    let testCou = 0;
  993.    while (elList[curSum]&&sameElementAfterWidth==false&&testCou < 5) {
  994.        currentElement = elList[curSum];
  995.        try {
  996.            sameElementAfterWidth=true;
  997.            sameElementAfterWidth = checkAdsWidth(content_pointer, 0, currentElement);
  998.        } catch (ex) {
  999.            console.log(ex.message);
  1000.        }
  1001.        revert? curSum--: curSum++;
  1002.        testCou++;
  1003.    }
  1004.    return currentElement?currentElement:origCurrentElement;
  1005. } */
  1006.  
  1007. function currentElementReceiverSpec(revert, curSum, elList, currentElement) {
  1008.    let origCurrentElement = currentElement;
  1009.    let content_pointer = document.querySelector("#content_pointer_id"); /* orig */
  1010.    let sameElementAfterWidth = false;
  1011.    let testCou = 0;
  1012.    while (elList[curSum]&&sameElementAfterWidth==false&&testCou < 5) {
  1013.        currentElement = elList[curSum]['element'];
  1014.        try {
  1015.            sameElementAfterWidth=true;
  1016.            sameElementAfterWidth = checkAdsWidth(content_pointer, 0, currentElement);
  1017.        } catch (ex) {
  1018.            console.log(ex.message);
  1019.        }
  1020.        revert? curSum--: curSum++;
  1021.        testCou++;
  1022.    }
  1023.    return currentElement?currentElement:origCurrentElement;
  1024. }
  1025.  
  1026. function excIdClUnpacker() {
  1027.    let excArr = [],
  1028.        cou = 0,
  1029.        currExcStr = '',
  1030.        curExcFirst = '';
  1031.    excArr['id'] = [];
  1032.    excArr['class'] = [];
  1033.    excArr['tag'] = [];
  1034.    if (excIdClass&&excIdClass.length > 0) {
  1035.        while (excIdClass[cou]) {
  1036.            currExcStr = excIdClass[cou];
  1037.            if (currExcStr.length > 0) {
  1038.                curExcFirst = currExcStr.substring(0,1);
  1039.                switch (curExcFirst) {
  1040.                    case '#':
  1041.                        if (currExcStr.length > 1) {
  1042.                            currExcStr = currExcStr.substring(1);
  1043.                            excArr['id'].push(currExcStr);
  1044.                        }
  1045.                        break;
  1046.                    case '.':
  1047.                        if (currExcStr.length > 1) {
  1048.                            currExcStr = currExcStr.substring(1);
  1049.                            excArr['class'].push(currExcStr);
  1050.                        }
  1051.                        break;
  1052.                    default:
  1053.                        excArr['tag'].push(currExcStr);
  1054.                        break;
  1055.                }
  1056.                cou++;
  1057.            }
  1058.        }
  1059.    }
  1060.    return excArr;
  1061. }
  1062.  
  1063. function asyncBlocksInsertingFunction(blockSettingArray) {
  1064.    try {
  1065.        var content_pointer = document.querySelector("#content_pointer_id"); /* orig */
  1066.        var parent_with_content = content_pointer.parentElement;
  1067.        var lordOfElements = parent_with_content;
  1068.        parent_with_content = parent_with_content.parentElement;
  1069.        var newElement = document.createElement("div");
  1070.        var elementToAdd;
  1071.        var elementToAddStyle;
  1072.        var poolbackI = 0;
  1073.        var counter = 0;
  1074.        var currentElement;
  1075.        var repeatableCurrentElement;
  1076.        var repeatableSuccess;
  1077.        var reCou;
  1078.        var curFirstPlace;
  1079.        var curElementCount;
  1080.        var curElementStep;
  1081.        var backElement = 0;
  1082.        var sumResult = 0;
  1083.        var curSumResult = 0;
  1084.        var repeat = false;
  1085.        var currentElementChecker = false;
  1086.        let containerFor6th = [];
  1087.        let containerFor7th = [];
  1088.        var posCurrentElement;
  1089.        var block_number;
  1090.        let contentLength = content_pointer.getAttribute('data-content-length');
  1091.        let rejectedBlocks = content_pointer.getAttribute('data-rejected-blocks');
  1092.        if (rejectedBlocks&&rejectedBlocks.length > 0) {
  1093.            rejectedBlocks = rejectedBlocks.split(',');
  1094.        }
  1095.        let widthCheck = false;
  1096.        let currentElementList;
  1097.        var testElement1 = null;
  1098.        var termorarity_parent_with_content = parent_with_content;
  1099.        var termorarity_parent_with_content_length = 0;
  1100.        var headersList = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'];
  1101.        for (var hc1 = 0; hc1 < headersList.length; hc1++) {
  1102.            termorarity_parent_with_content_length += termorarity_parent_with_content.getElementsByTagName(headersList[hc1]).length;
  1103.        }
  1104.  
  1105.        let detailedElementList;
  1106.        let ExcStrCou = 1;
  1107.        let detailedQueryString;
  1108.        let usedElement;
  1109.        let tagList = [];
  1110.        let localSumResult;
  1111.        let binderName;
  1112.  
  1113.        var removeClearing;
  1114.        var repeatableBlockIdentifier = 0;
  1115.  
  1116.        var i;
  1117.  
  1118.        if (contentLength < 1) {
  1119.            contentLength = parent_with_content.innerText.length
  1120.        }
  1121.  
  1122.        rb_tempElement = document.querySelector('#rb_tempElement');
  1123.        if (!rb_tempElement) {
  1124.            rb_tempElement = document.createElement('span');
  1125.            rb_tempElement.setAttribute('id', 'rb_tempElement');
  1126.        }
  1127.  
  1128.        function getFromConstructions(currentElement) {
  1129.            if (currentElement.parentElement.tagName.toLowerCase() == "blockquote") {
  1130.                currentElement = currentElement.parentElement;
  1131.                /* initTargetToInsert(blockSettingArray, 'element', currentElement); */
  1132.                currentElement.parentNode.insertBefore(rb_tempElement, currentElement);
  1133.                rb_tempElement_check = true;
  1134.                sameElementAfterFromConstruction=false;
  1135.            } else if (["tr","td","th","thead","tbody","table"].includes(currentElement.parentElement.tagName.toLowerCase())) {
  1136.                currentElement = currentElement.parentElement;
  1137.                while (["tr","td","th","thead","tbody","table"].includes(currentElement.parentElement.tagName.toLowerCase())) {
  1138.                    currentElement = currentElement.parentElement;
  1139.                }
  1140.                currentElement.parentNode.insertBefore(rb_tempElement, currentElement);
  1141.                rb_tempElement_check = true;
  1142.                sameElementAfterFromConstruction=false;
  1143.            }
  1144.            return currentElement;
  1145.        }
  1146.  
  1147.        function directClassElementDetecting(blockSettingArray, directElement) {
  1148.            let findQuery = 0;
  1149.            let directClassElementResult = [];
  1150.  
  1151.            currentElement = document.querySelectorAll(directElement);
  1152.            if (currentElement.length > 0) {
  1153.                if (blockSettingArray[i]['elementPlace'] > 1) {
  1154.                    if (currentElement.length >= blockSettingArray[i]['elementPlace']) {
  1155.                        currentElement = currentElement[blockSettingArray[i]['elementPlace']-1];
  1156.                    } else if (currentElement.length < blockSettingArray[i]['elementPlace']) {
  1157.                        currentElement = currentElement[currentElement.length - 1];
  1158.                    } else {
  1159.                        findQuery = 1;
  1160.                    }
  1161.                } else if (blockSettingArray[i]['elementPlace'] < 0) {
  1162.                    if ((currentElement.length + blockSettingArray[i]['elementPlace'] + 1) > 0) {
  1163.                        currentElement = currentElement[currentElement.length + blockSettingArray[i]['elementPlace']];
  1164.                    } else {
  1165.                        findQuery = 1;
  1166.                    }
  1167.                } else {
  1168.                    findQuery = 1;
  1169.                }
  1170.            } else {
  1171.                findQuery = 1;
  1172.            }
  1173.  
  1174.            directClassElementResult['findQuery'] = findQuery;
  1175.            directClassElementResult['currentElement'] = currentElement;
  1176.  
  1177.            return directClassElementResult;
  1178.        }
  1179.  
  1180.        function placingToH1(usedElement, elementTagToFind) {
  1181.            let uselessLet;
  1182.            currentElement = usedElement.querySelectorAll(elementTagToFind);
  1183.  
  1184.            if (currentElement.length < 1) {
  1185.                if (usedElement.parentElement) {
  1186.                    uselessLet = placingToH1(usedElement.parentElement, elementTagToFind);
  1187.                }
  1188.            }
  1189.            return currentElement;
  1190.        }
  1191.  
  1192.        function elementsCleaning(excArr, elList, pwcLocal, gatherString) {
  1193.            let markedClass = 'rb_m_inc';
  1194.            let markedClassBad = 'rb_m_exc';
  1195.            let cou = 0;
  1196.            let cou1 = 0;
  1197.            let finalArr = [];
  1198.            let finalArrClear = [];
  1199.            let checkNearest;
  1200.            let outOfRangeCheck;
  1201.            let gatherRejected;
  1202.            let allower;
  1203.  
  1204.            try {
  1205.                while (elList[cou]) {
  1206.                    allower = true;
  1207.                    if (!elList[cou].classList.contains(markedClassBad)) {
  1208.                        if (excArr&&excArr.length > 0) {
  1209.                            cou1 = 0;
  1210.                            while (excArr[cou1]) {
  1211.                                checkNearest = elList[cou].parentElement.closest(excArr[cou1]);
  1212.                                if (checkNearest) {
  1213.                                    checkNearest.classList.add('currClosest');
  1214.                                    outOfRangeCheck = pwcLocal.querySelector('.currClosest');
  1215.                                    if (outOfRangeCheck) {
  1216.                                        allower = false;
  1217.                                        checkNearest.classList.add(markedClass);
  1218.                                        gatherRejected = checkNearest.querySelectorAll(gatherString);
  1219.                                        if (gatherRejected.length > 0) {
  1220.                                            for (let i1 = 0; i1 < gatherRejected.length; i1++) {
  1221.                                                gatherRejected[i1].classList.add(markedClassBad);
  1222.                                            }
  1223.                                        }
  1224.                                    }
  1225.                                    checkNearest.classList.remove('currClosest');
  1226.                                }
  1227.                                cou1++;
  1228.                            }
  1229.                        }
  1230.                        if (allower===true) {
  1231.                            elList[cou].classList.add(markedClass);
  1232.                            /* finalArr.push(elList[cou]); */
  1233.                        }
  1234.                    }
  1235.                    cou++;
  1236.                }
  1237.                finalArr = pwcLocal.querySelectorAll('.'+markedClass+':not('+markedClassBad+')');
  1238.                finalArrClear = pwcLocal.querySelectorAll('.'+markedClass+',.'+markedClassBad);
  1239.                if (finalArrClear&&finalArrClear.length > 0) {
  1240.                    for (let i1 = 0; i1 < finalArrClear.length; i1++) {
  1241.                        finalArrClear[i1].classList.remove(markedClass,markedClassBad);
  1242.                    }
  1243.                }
  1244.            } catch (er) {
  1245.                console.log(er.message);
  1246.            }
  1247.            return finalArr;
  1248.        }
  1249.  
  1250.        function cureentElementsGather(usedElement, loopLimit = 2, localPwc = parent_with_content) {
  1251.            let curElementSearchRepeater = true;
  1252.            let curElementSearchCounter = 0;
  1253.            let currentElementLoc = null;
  1254.            let ExcludedStringBegin = '';
  1255.            let ExcludedString = '';
  1256.            let ExcludedStringEnd = '';
  1257.            let tagListString = '';
  1258.            let tagListStringExc = '';
  1259.            let cou = 0;
  1260.            /* let excArr = excIdClUnpacker(); */
  1261.            let tagListCou = 0;
  1262.  
  1263.            if (usedElement=='h1') {
  1264.                currentElementLoc = placingToH1(localPwc, usedElement);
  1265.            } else {
  1266.                if (usedElement=='h2-4') {tagList = ['h2','h3','h3'];}
  1267.                else                     {tagList = [usedElement];   }
  1268.                while (tagList[tagListCou]) {
  1269.                    tagListString += ((cou++>0)?',':'')+tagList[tagListCou];
  1270.                    tagListStringExc += ':not('+tagList[tagListCou]+')';
  1271.                    tagListCou++;
  1272.                }
  1273.  
  1274.                ExcludedString = '';
  1275.                if (excIdClass&&excIdClass.length > 0) {
  1276.                    for (let i2 = 0; i2 < excIdClass.length; i2++) {
  1277.                        if (excIdClass[i2].length > 0) {
  1278.                            ExcludedString += (i2>0?',':'')+excIdClass[i2]+tagListStringExc;
  1279.                        }
  1280.                    }
  1281.                }
  1282.                detailedQueryString += tagListString+','+ExcludedString;
  1283.  
  1284.                /* console.log(detailedQueryString); */
  1285.                while (curElementSearchRepeater&&curElementSearchCounter < loopLimit) {
  1286.                    try {
  1287.                        currentElementLoc = localPwc.querySelectorAll(tagListString);
  1288.                    } catch (e1) {console.log(e1.message);}
  1289.                    if (!currentElementLoc) {
  1290.                        if (localPwc.parentElement) {
  1291.                            localPwc = localPwc.parentElement;
  1292.                        } else {
  1293.                            break;
  1294.                        }
  1295.                    } else {
  1296.                        currentElementLoc = elementsCleaning(excIdClass, currentElementLoc, localPwc, detailedQueryString);
  1297.                        curElementSearchRepeater = false;
  1298.                    }
  1299.                    curElementSearchCounter++;
  1300.                }
  1301.            }
  1302.            return currentElementLoc;
  1303.        }
  1304.  
  1305.        function currentElementReceiver(revert, localCurEl = currentElement) {
  1306.            let origCurEl = localCurEl;
  1307.            curSumResult = sumResult;
  1308.            detailedElementList = localCurEl;
  1309.            sameElementAfterWidth = false;
  1310.            let testCou = 0;
  1311.            while (detailedElementList[curSumResult]&&sameElementAfterWidth==false&&testCou < 8) {
  1312.                localCurEl = detailedElementList[curSumResult];
  1313.                try {
  1314.                    sameElementAfterWidth=true;
  1315.                    sameElementAfterWidth = checkAdsWidth(content_pointer, blockSettingArray[i]["elementPosition"], localCurEl);
  1316.                } catch (ex) {
  1317.                    console.log(ex.message);
  1318.                }
  1319.                revert? curSumResult--: curSumResult++;
  1320.                testCou++;
  1321.            }
  1322.            if (localCurEl) {
  1323.                currentElementChecker = true;
  1324.            }
  1325.            return localCurEl?localCurEl:origCurEl;
  1326.        }
  1327.        
  1328.        function endingActions(block_number) {
  1329.            usedBlockSettingArrayIds.push(block_number);
  1330.            blockSettingArray.splice(i--, 1);
  1331.            poolbackI = 1;
  1332.        }
  1333.  
  1334.        for (i = 0; i < blockSettingArray.length; i++) {
  1335.            currentElement = null;
  1336.            currentElementChecker = false;
  1337.            sameElementAfterWidth = false;
  1338.            sameElementAfterExcClassId = false;
  1339.            sameElementAfterFromConstruction = false;
  1340.            tagListCou = 0;
  1341.            poolbackI = 0;
  1342.            detailedQueryString = '';
  1343.            binderName = elementBinderNameGenerator();
  1344.  
  1345.            try {
  1346.                if (!blockSettingArray[i]["text"]
  1347.                    ||(blockSettingArray[i]["text"]&&blockSettingArray[i]["text"].length < 1)
  1348.                    ||(rejectedBlocks&&rejectedBlocks.includes(blockSettingArray[i]["id"]))
  1349.                    ||((blockSettingArray[i]["maxHeaders"] > 0)&&(blockSettingArray[i]["maxHeaders"] < parseInt(termorarity_parent_with_content_length)))
  1350.                    ||((blockSettingArray[i]["maxSymbols"] > 0)&&(blockSettingArray[i]["maxSymbols"] < parseInt(contentLength)))
  1351.                    ||(content_pointer.classList.contains("hard-content")&&blockSettingArray[i]["setting_type"]!=3)
  1352.                ) {
  1353.                    blockSettingArray.splice(i--, 1);
  1354.                    poolbackI = 1;
  1355.                    continue;
  1356.                }
  1357.  
  1358.                block_number = 0;
  1359.  
  1360.                elementToAdd = document.createElement("div");
  1361.                elementToAdd.classList.add("percentPointerClass");
  1362.                elementToAdd.classList.add("marked");
  1363.                if (blockSettingArray[i]["sc"]==1) {
  1364.                    elementToAdd.classList.add("scMark");
  1365.                }
  1366.                elementToAdd.innerHTML = blockSettingArray[i]["text"];
  1367.                elementToAdd.dataset.rbinder = binderName;
  1368.                block_number = elementToAdd.children[0].attributes['data-id'].value;
  1369.  
  1370.                if (blockDuplicate == 'no') {
  1371.                    if (usedBlockSettingArrayIds.length > 0) {
  1372.                        for (let i1 = 0; i1 < usedBlockSettingArrayIds.length; i1++) {
  1373.                            if (block_number==usedBlockSettingArrayIds[i1]) {
  1374.                                blockSettingArray.splice(i--, 1);
  1375.                                poolbackI = 1;
  1376.                                break;
  1377.                            }
  1378.                        }
  1379.                        if (poolbackI == 1) {
  1380.                            continue;
  1381.                        }
  1382.                    }
  1383.                }
  1384.  
  1385.                elementToAddStyle = createStyleElement(block_number, blockSettingArray[i]["elementCss"]);
  1386.  
  1387.                if (elementToAddStyle&&elementToAddStyle!='default') {
  1388.                    elementToAdd.style.textAlign = elementToAddStyle;
  1389.                }
  1390.  
  1391.                if ((blockSettingArray[i]["minHeaders"] > 0)&&(blockSettingArray[i]["minHeaders"] > termorarity_parent_with_content_length)) {continue;}
  1392.                if (blockSettingArray[i]["minSymbols"] > contentLength) {continue;}
  1393.  
  1394.                if (blockSettingArray[i]["setting_type"] == 1) {
  1395.                    currentElement = cureentElementsGather(blockSettingArray[i]["element"].toLowerCase());
  1396.                    if (currentElement) {
  1397.                        if (blockSettingArray[i]["elementPlace"] < 0) {
  1398.                            sumResult = currentElement.length + blockSettingArray[i]["elementPlace"];
  1399.                            if (sumResult >= 0 && sumResult < currentElement.length) {
  1400.                                currentElement = currentElementReceiver(true);
  1401.                            }
  1402.                        } else {
  1403.                            sumResult = blockSettingArray[i]["elementPlace"] - 1;
  1404.                            if (sumResult < currentElement.length) {
  1405.                                currentElement = currentElementReceiver(false);
  1406.                            }
  1407.                        }
  1408.                    }
  1409.                    if (currentElement != undefined && currentElement != null && currentElementChecker) {
  1410.                        posCurrentElement = initTargetToInsert(blockSettingArray[i]["elementPosition"], 'element', currentElement);
  1411.                        currentElement.parentNode.insertBefore(elementToAdd, posCurrentElement);
  1412.                        currentElement.classList.add('rbinder-'+binderName);
  1413.                        elementToAdd.classList.remove('coveredAd');
  1414.                        usedBlockSettingArrayIds.push(block_number);
  1415.                        blockSettingArray.splice(i--, 1);
  1416.                        poolbackI = 1;
  1417.                        rb_tempElement_check = false;
  1418.                    } else {
  1419.                        repeat = true;
  1420.                    }
  1421.                }
  1422.                else if (blockSettingArray[i]["setting_type"] == 2) {
  1423.                    if (blockDuplicate == 'no') {
  1424.                        blockSettingArray[i]["elementCount"] = 1;
  1425.                    }
  1426.                    repeatableCurrentElement = [];
  1427.                    reCou = 0;
  1428.                    curFirstPlace = blockSettingArray[i]["firstPlace"];
  1429.                    curElementCount = blockSettingArray[i]["elementCount"];
  1430.                    curElementStep = blockSettingArray[i]["elementStep"];
  1431.                    repeatableSuccess = false;
  1432.  
  1433.                    elementToAddStyle = createStyleElement(block_number, blockSettingArray[i]["elementCss"]);
  1434.  
  1435.                    repeatableCurrentElement = cureentElementsGather(blockSettingArray[i]["element"].toLowerCase());
  1436.                    if (repeatableCurrentElement) {
  1437.                        for (let i1 = 0; i1 < blockSettingArray[i]["elementCount"]; i1++) {
  1438.                            currentElementChecker = false;
  1439.                            let repElementToAdd = document.createElement("div");
  1440.                            repElementToAdd.classList.add("percentPointerClass");
  1441.                            repElementToAdd.classList.add("marked");
  1442.                            if (blockSettingArray[i]["sc"]==1) {
  1443.                                repElementToAdd.classList.add("scMark");
  1444.                            }
  1445.                            repElementToAdd.classList.add("repeatable-mark-"+repeatableBlockIdentifier);
  1446.                            repElementToAdd.innerHTML = blockSettingArray[i]["text"];
  1447.  
  1448.                            if (elementToAddStyle&&elementToAddStyle!='default') {
  1449.                                repElementToAdd.style.textAlign = elementToAddStyle;
  1450.                            }
  1451.  
  1452.                            sumResult = Math.round(parseInt(blockSettingArray[i]["firstPlace"]) + (i1*parseInt(blockSettingArray[i]["elementStep"])) - 1);
  1453.                            if (sumResult < repeatableCurrentElement.length) {
  1454.                                currentElement = currentElementReceiver(false, repeatableCurrentElement);
  1455.                            }
  1456.  
  1457.                            if (currentElement != undefined && currentElement != null && currentElementChecker) {
  1458.                                posCurrentElement = initTargetToInsert(blockSettingArray[i]["elementPosition"], 'element', currentElement);
  1459.                                currentElement.parentNode.insertBefore(repElementToAdd, posCurrentElement);
  1460.                                currentElement.classList.add('rbinder-'+binderName);
  1461.                                repElementToAdd.classList.remove('coveredAd');
  1462.                                curFirstPlace = sumResult + parseInt(blockSettingArray[i]["elementStep"]) + 1;
  1463.                                curElementCount--;
  1464.                                repeatableSuccess = true;
  1465.                            } else {
  1466.                                repeatableSuccess = false;
  1467.                                break;
  1468.                            }
  1469.                        }
  1470.                    }
  1471.                    if (repeatableSuccess==true) {
  1472.                        usedBlockSettingArrayIds.push(block_number);
  1473.                        blockSettingArray.splice(i--, 1);
  1474.                        poolbackI = 1;
  1475.                        repeatableBlockIdentifier++;
  1476.                    } else {
  1477.                        if (!blockSettingArray[i]["unsuccess"]) {
  1478.                            blockSettingArray[i]["unsuccess"] = 1;
  1479.                        } else {
  1480.                            blockSettingArray[i]["unsuccess"] = Math.round(blockSettingArray[i]["unsuccess"] + 1);
  1481.                        }
  1482.                        if (blockSettingArray[i]["unsuccess"] > 10) {
  1483.                            usedBlockSettingArrayIds.push(block_number);
  1484.                            blockSettingArray.splice(i--, 1);
  1485.                            poolbackI = 1;
  1486.                        } else {
  1487.                            blockSettingArray[i]["firstPlace"] = curFirstPlace;
  1488.                            blockSettingArray[i]["elementCount"] = curElementCount;
  1489.                            blockSettingArray[i]["elementStep"] = curElementStep;
  1490.                            repeat = true;
  1491.                        }
  1492.                    }
  1493.                }
  1494.                else if (blockSettingArray[i]["setting_type"] == 3) {
  1495.                    let elementTypeSymbol = '';
  1496.                    let elementSpaceSymbol = '';
  1497.                    let elementName = '';
  1498.                    let elementType = '';
  1499.                    let elementTag  = '';
  1500.                    let findQuery = 0;
  1501.                    let directClassResult = [];
  1502.                    let directElement = blockSettingArray[i]["directElement"].trim();
  1503.  
  1504.                    if (directElement.search('#') > -1) {
  1505.                        findQuery = 1;
  1506.                    } else if ((directElement.search('#') < 0)&&(directElement.search('.') > -1)) {
  1507.                        directClassResult = directClassElementDetecting(blockSettingArray, directElement);
  1508.                        findQuery = directClassResult['findQuery'];
  1509.                        currentElement = directClassResult['currentElement'];
  1510.                    }
  1511.                    if (findQuery == 1) {
  1512.                        currentElement = document.querySelector(directElement);
  1513.                    }
  1514.                    if (currentElement) {
  1515.                        currentElementChecker = true;
  1516.                    }
  1517.  
  1518.                    if (currentElement != undefined && currentElement != null && currentElementChecker) {
  1519.                        posCurrentElement = initTargetToInsert(blockSettingArray[i]["elementPosition"], 'element', currentElement);
  1520.                        currentElement.parentNode.insertBefore(elementToAdd, posCurrentElement);
  1521.                        elementToAdd.classList.remove('coveredAd');
  1522.                        currentElement.classList.add('rbinder-'+binderName);
  1523.                        usedBlockSettingArrayIds.push(block_number);
  1524.                        blockSettingArray.splice(i--, 1);
  1525.                        poolbackI = 1;
  1526.                    } else {
  1527.                        repeat = true;
  1528.                    }
  1529.                }
  1530.                else if (blockSettingArray[i]["setting_type"] == 4) {
  1531.                    document.querySelector("#content_pointer_id").parentElement.append(elementToAdd);
  1532.                    usedBlockSettingArrayIds.push(block_number);
  1533.                    blockSettingArray.splice(i--, 1);
  1534.                    poolbackI = 1;
  1535.                }
  1536.                else if (blockSettingArray[i]["setting_type"] == 5) {
  1537.                    let currentElementList = cureentElementsGather('p', 1, content_pointer.parentElement);
  1538.                    if (currentElementList&&currentElementList.length > 0) {
  1539.                        let pCount = currentElementList.length;
  1540.                        let elementNumber = Math.round(pCount/2);
  1541.                        if (pCount > 1) {
  1542.                            currentElement = currentElementList[elementNumber+1];
  1543.                        }
  1544.                        if (currentElement != undefined && currentElement != null) {
  1545.                            if (pCount > 1) {
  1546.                                currentElement.parentNode.insertBefore(elementToAdd, currentElement);
  1547.                            } else {
  1548.                                currentElement.parentNode.insertBefore(elementToAdd, currentElement.nextSibling);
  1549.                            }
  1550.                            elementToAdd.classList.remove('coveredAd');
  1551.                            currentElement.classList.add('rbinder-'+binderName);
  1552.                            usedBlockSettingArrayIds.push(block_number);
  1553.                            blockSettingArray.splice(i--, 1);
  1554.                            poolbackI = 1;
  1555.                        } else {
  1556.                            repeat = true;
  1557.                        }
  1558.                    } else {
  1559.                        repeat = true;
  1560.                    }
  1561.                }
  1562.                else if (blockSettingArray[i]["setting_type"] == 6) {
  1563.                    if (containerFor6th.length > 0) {
  1564.                        for (let j = 0; j < containerFor6th.length; j++) {
  1565.                            if (containerFor6th[j]["elementPlace"]>blockSettingArray[i]["elementPlace"]) {
  1566.                                /* continue; */
  1567.                                if (j == containerFor6th.length-1) {
  1568.                                    containerFor6th.push(blockSettingArray[i]);
  1569.                                    /* usedAdBlocksArray.push(checkIfBlockUsed); */
  1570.                                    usedBlockSettingArrayIds.push(block_number);
  1571.                                    blockSettingArray.splice(i--, 1);
  1572.                                    poolbackI = 1;
  1573.                                    break;
  1574.                                }
  1575.                            } else {
  1576.                                for (let k = containerFor6th.length-1; k > j-1; k--) {
  1577.                                    containerFor6th[k + 1] = containerFor6th[k];
  1578.                                }
  1579.                                containerFor6th[j] = blockSettingArray[i];
  1580.                                /* usedAdBlocksArray.push(checkIfBlockUsed); */
  1581.                                usedBlockSettingArrayIds.push(block_number);
  1582.                                blockSettingArray.splice(i--, 1);
  1583.                                poolbackI = 1;
  1584.                                break;
  1585.                            }
  1586.                        }
  1587.                    } else {
  1588.                        containerFor6th.push(blockSettingArray[i]);
  1589.                        usedBlockSettingArrayIds.push(block_number);
  1590.                        blockSettingArray.splice(i--, 1);
  1591.                        poolbackI = 1;
  1592.                    }
  1593.                /* vidpravutu v vidstiinuk dlya 6ho tipa */
  1594.                }
  1595.                else if (blockSettingArray[i]["setting_type"] == 7) {
  1596.                    if (containerFor7th.length > 0) {
  1597.                        for (let j = 0; j < containerFor7th.length; j++) {
  1598.                            if (containerFor7th[j]["elementPlace"]>blockSettingArray[i]["elementPlace"]) {
  1599.                                /* continue; */
  1600.                                if (j == containerFor7th.length-1) {
  1601.                                    containerFor7th.push(blockSettingArray[i]);
  1602.                                    usedBlockSettingArrayIds.push(block_number);
  1603.                                    blockSettingArray.splice(i--, 1);
  1604.                                    poolbackI = 1;
  1605.                                    break;
  1606.                                }
  1607.                            } else {
  1608.                                for (let k = containerFor7th.length-1; k > j-1; k--) {
  1609.                                    containerFor7th[k + 1] = containerFor7th[k];
  1610.                                }
  1611.                                containerFor7th[j] = blockSettingArray[i];
  1612.                                usedBlockSettingArrayIds.push(block_number);
  1613.                                blockSettingArray.splice(i--, 1);
  1614.                                poolbackI = 1;
  1615.                                break;
  1616.                            }
  1617.                        }
  1618.                    } else {
  1619.                        containerFor7th.push(blockSettingArray[i]);
  1620.                        usedBlockSettingArrayIds.push(block_number);
  1621.                        blockSettingArray.splice(i--, 1);
  1622.                        poolbackI = 1;
  1623.                    }
  1624.                /* vidpravutu v vidstiinuk dlya 7ho tipa */
  1625.                }
  1626.            } catch (e) {
  1627.                console.log(e.message);
  1628.            }
  1629.        }
  1630.  
  1631.        var array = textLengthGatherer(lordOfElements),
  1632.            tlArray = array.array,
  1633.            length = array.length;
  1634.  
  1635.        if (containerFor6th.length > 0) {
  1636.            percentInserter(lordOfElements, containerFor6th, tlArray, length);
  1637.        }
  1638.        if (containerFor7th.length > 0) {
  1639.            symbolInserter(lordOfElements, containerFor7th, tlArray);
  1640.        }
  1641.        shortcodesInsert();
  1642.        let stopper = 0;
  1643.  
  1644.        window.addEventListener('load', function () {
  1645.            if (repeat = true) {
  1646.                setTimeout(function () {
  1647.                    /* asyncBlocksInsertingFunction(blockSettingArray, contentLength) */
  1648.                    asyncBlocksInsertingFunction(blockSettingArray);
  1649.                }, 100);
  1650.            }
  1651.        });
  1652.    } catch (e) {
  1653.        console.log(e.message);
  1654.    }
  1655. }
  1656.  
  1657. function possibleTagsInCheckConfirmer(possibleTagsArray, possibleTagsInCheck) {
  1658.    if (possibleTagsArray.includes("LI")) {
  1659.        if (possibleTagsArray.includes("UL")) {
  1660.            possibleTagsInCheck.push("UL");
  1661.        }
  1662.        if (possibleTagsArray.includes("OL")) {
  1663.            possibleTagsInCheck.push("OL");
  1664.        }
  1665.    }
  1666.  
  1667.    return false;
  1668. }
  1669.  
  1670. function textLengthGatherer(lordOfElementsLoc) {
  1671.    var possibleTagsArray;
  1672.    if (typeof tagsListForTextLength!=="undefined") {
  1673.        possibleTagsArray = tagsListForTextLength;
  1674.    } else {
  1675.        possibleTagsArray = ["P", "H1", "H2", "H3", "H4", "H5", "H6", "DIV", "BLOCKQUOTE", "INDEX", "ARTICLE", "SECTION"];
  1676.    }
  1677.    let possibleTagsInCheck = ["DIV", "INDEX", "SECTION"];
  1678.  
  1679.    possibleTagsInCheckConfirmer(possibleTagsArray, possibleTagsInCheck);
  1680.    let excArr = excIdClUnpacker(),
  1681.        textLength = 0,
  1682.        tlArray = [];
  1683.  
  1684.    function textLengthGathererRec(lordOfElementsLoc) {
  1685.        let allowed;
  1686.        let cou1;
  1687.        let classesArray;
  1688.        let countSuccess = 0;
  1689.        try {
  1690.            for (let i = 0; i < lordOfElementsLoc.children.length; i++) {
  1691.                if (possibleTagsArray.includes(lordOfElementsLoc.children[i].tagName)
  1692.                    &&!lordOfElementsLoc.children[i].classList.contains("percentPointerClass")
  1693.                    &&lordOfElementsLoc.children[i].id!="toc_container"
  1694.                ) {
  1695.                    if (possibleTagsInCheck.includes(lordOfElementsLoc.children[i].tagName)
  1696.                        &&(lordOfElementsLoc.children[i].children.length > 0)
  1697.                    ) {
  1698.                        allowed = true;
  1699.                        if (lordOfElementsLoc.children[i].id&&excArr['id'].length > 0) {
  1700.                            cou1 = 0;
  1701.                            while (excArr['id'][cou1]) {
  1702.                                if (lordOfElementsLoc.children[i].id.toLowerCase()==excArr['id'][cou1].toLowerCase()) {
  1703.                                    allowed = false;
  1704.                                    break;
  1705.                                }
  1706.                                cou1++;
  1707.                            }
  1708.                        }
  1709.  
  1710.                        if (lordOfElementsLoc.children[i].classList.length > 0&&excArr['class'].length > 0) {
  1711.                            cou1 = 0;
  1712.                            while (excArr['class'][cou1]) {
  1713.                                classesArray = excArr['class'][cou1].split('.');
  1714.                                if (classesArray.every(className => lordOfElementsLoc.children[i].classList.contains(className))) {
  1715.                                    allowed = false;
  1716.                                    break;
  1717.                                }
  1718.                                cou1++;
  1719.                            }
  1720.                        }
  1721.  
  1722.                        if (excArr['tag'].length > 0) {
  1723.                            cou1 = 0;
  1724.                            while (excArr['tag'][cou1]) {
  1725.                                if (lordOfElementsLoc.children[i].tagName.toLowerCase()==excArr['tag'][cou1].toLowerCase()) {
  1726.                                    allowed = false;
  1727.                                    break;
  1728.                                }
  1729.                                cou1++;
  1730.                            }
  1731.                        }
  1732.  
  1733.                        if (allowed) {
  1734.                            if (textLengthGathererRec(lordOfElementsLoc.children[i], excArr, possibleTagsArray, possibleTagsInCheck)) {
  1735.                                countSuccess++;
  1736.                                continue;
  1737.                            }
  1738.                        }
  1739.                    }
  1740.                    textLength = textLength + lordOfElementsLoc.children[i].innerText.length;
  1741.                    tlArray.push({
  1742.                        tag: lordOfElementsLoc.children[i].tagName,
  1743.                        length: lordOfElementsLoc.children[i].innerText.length,
  1744.                        lengthSum: textLength,
  1745.                        element: lordOfElementsLoc.children[i]
  1746.                    });
  1747.                    countSuccess++;
  1748.                }
  1749.            }
  1750.        } catch (er) {
  1751.            console.log(er.message);
  1752.        }
  1753.        return countSuccess > 0;
  1754.    }
  1755.  
  1756.    textLengthGathererRec(lordOfElementsLoc);
  1757.  
  1758.    return {array: tlArray, length: textLength};
  1759. }
  1760.  
  1761. window.asyncFunctionLauncher = function() {
  1762.    if (window.jsInputerLaunch !== undefined
  1763.        &&[15, 10].includes(window.jsInputerLaunch)
  1764.        &&(typeof asyncBlocksInsertingFunction !== 'undefined' )
  1765.        &&(typeof asyncBlocksInsertingFunction === 'function')
  1766.        &&typeof endedSc!=='undefined'&&
  1767.        typeof endedCc!=='undefined'&&
  1768.        typeof usedAdBlocksArray!=='undefined'&&
  1769.        typeof usedBlockSettingArrayIds!=='undefined'&&
  1770.        typeof sameElementAfterWidth!=='undefined'&&
  1771.        typeof sameElementAfterExcClassId!=='undefined'&&
  1772.        typeof sameElementAfterFromConstruction!=='undefined'&&
  1773.        typeof rb_tempElement_check!=='undefined'&&
  1774.        typeof rb_tempElement!=='undefined'&&
  1775.        typeof window.jsInputerLaunch!=='undefined') {
  1776.        /* asyncBlocksInsertingFunction(blockSettingArray, contentLength); */
  1777.        asyncBlocksInsertingFunction(blockSettingArray);
  1778.        if (!endedSc) {
  1779.            shortcodesInsert();
  1780.        }
  1781.        if (!endedCc) {
  1782.            /* clearUnsuitableCache(0); */
  1783.        }
  1784.        /* blocksReposition();
  1785.        cachePlacing();
  1786.        symbolMarkersPlaced(); */
  1787.    } else {
  1788.        setTimeout(function () {
  1789.            asyncFunctionLauncher();
  1790.        }, 50);
  1791.    }
  1792. };
  1793. /* asyncFunctionLauncher(); */
  1794.  
  1795. function asyncInsertingsInsertingFunction(insertingsArray) {
  1796.    let currentElementForInserting = 0;
  1797.    let currentElementToMove = 0;
  1798.    let positionElement = 0;
  1799.    let position = 0;
  1800.    let insertToAdd = 0;
  1801.    let postId = 0;
  1802.    let repeatSearch = 0;
  1803.    if (insertingsArray&&insertingsArray.length > 0) {
  1804.        for (let i = 0; i < insertingsArray.length; i++) {
  1805.            if (!insertingsArray[i]['used']||(insertingsArray[i]['used']&&insertingsArray[i]['used']==0)) {
  1806.                positionElement = insertingsArray[i]['position_element'];
  1807.                position = insertingsArray[i]['position'];
  1808.                insertToAdd = insertingsArray[i]['content'];
  1809.                postId = insertingsArray[i]['postId'];
  1810.  
  1811.                currentElementForInserting = document.querySelector(positionElement);
  1812.  
  1813.                currentElementToMove = document.querySelector('.coveredInsertings[data-id="'+postId+'"]');
  1814.                if (currentElementForInserting) {
  1815.                    if (position==0) {
  1816.                        currentElementForInserting.parentNode.insertBefore(currentElementToMove, currentElementForInserting);
  1817.                        currentElementToMove.classList.remove('coveredInsertings');
  1818.                        insertingsArray[i]['used'] = 1;
  1819.                    } else {
  1820.                        currentElementForInserting.parentNode.insertBefore(currentElementToMove, currentElementForInserting.nextSibling);
  1821.                        currentElementToMove.classList.remove('coveredInsertings');
  1822.                        insertingsArray[i]['used'] = 1;
  1823.                    }
  1824.                } else {
  1825.                    repeatSearch = 1;
  1826.                }
  1827.            }
  1828.        }
  1829.    }
  1830.    if (repeatSearch == 1) {
  1831.        setTimeout(function () {
  1832.            asyncInsertingsInsertingFunction(insertingsArray);
  1833.        }, 100)
  1834.    }
  1835. }
  1836.  
  1837. function insertingsFunctionLaunch() {
  1838.    if (window.jsInsertingsLaunch !== undefined&&jsInsertingsLaunch == 25) {
  1839.        asyncInsertingsInsertingFunction(insertingsArray);
  1840.    } else {
  1841.        setTimeout(function () {
  1842.            insertingsFunctionLaunch();
  1843.        }, 100)
  1844.    }
  1845. }
  1846.  
  1847. function setLongCache() {
  1848.    let xhttp = new XMLHttpRequest();
  1849.    let sendData = 'action=setLongCache&type=longCatching&_csrf='+rb_csrf;
  1850.    xhttp.onreadystatechange = function(redata) {
  1851.        if (this.readyState == 4 && this.status == 200) {
  1852.            console.log('long cache deployed');
  1853.        }
  1854.    };
  1855.    xhttp.open("POST", rb_ajaxurl, true);
  1856.    xhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
  1857.    xhttp.send(sendData);
  1858. }
  1859.  
  1860. function cachePlacing(alert_type, errorInfo=null) {
  1861.    let adBlocks = document.querySelectorAll('.percentPointerClass .' + block_classes.join(', .percentPointerClass .'));
  1862.    let curAdBlock;
  1863.    let okStates = ['done','refresh-wait','no-block','fetched'];
  1864.    /* let adId = -1; */
  1865.    let blockAid = null;
  1866.    let blockId;
  1867.  
  1868.    if (typeof cachedBlocksArray !== 'undefined'&&cachedBlocksArray&&cachedBlocksArray.length > 0&&adBlocks&&adBlocks.length > 0) {
  1869.        for (let i = 0; i < adBlocks.length; i++) {
  1870.            blockAid = adBlocks[i]['dataset']['aid'];
  1871.  
  1872.            if (!blockAid) {
  1873.                blockId = adBlocks[i]['dataset']['id'];
  1874.                if (cachedBlocksArray[blockId]) {
  1875.                    jQuery(adBlocks[i]).html(cachedBlocksArray[blockId]);
  1876.                }
  1877.            }
  1878.        }
  1879.    }
  1880.  
  1881.    if (alert_type&&alert_type=='high') {
  1882.        setLongCache();
  1883.    }
  1884. }
  1885.  
  1886. function symbolInserter(lordOfElements, containerFor7th, tlArray) {
  1887.    try {
  1888.        var currentChildrenLength = 0;
  1889.        let previousBreak = 0;
  1890.        let needleLength;
  1891.        let currentSumLength;
  1892.        let elementToAdd;
  1893.        let elementToBind;
  1894.        let elementToAddStyle;
  1895.        let block_number;
  1896.        let binderName;
  1897.  
  1898.        if (!document.getElementById("markedSpan1")) {
  1899.            for (let i = 0; i < containerFor7th.length; i++) {
  1900.                previousBreak = 0;
  1901.                currentChildrenLength = 0;
  1902.                currentSumLength = 0;
  1903.                needleLength = Math.abs(containerFor7th[i]['elementPlace']);
  1904.                binderName = elementBinderNameGenerator();
  1905.  
  1906.                elementToAdd = document.createElement("div");
  1907.                elementToAdd.classList.add("percentPointerClass");
  1908.                elementToAdd.classList.add("marked");
  1909.                if (containerFor7th[i]["sc"]==1) {
  1910.                    elementToAdd.classList.add("scMark");
  1911.                }
  1912.                elementToAdd.dataset.rbinder = binderName;
  1913.                elementToAdd.innerHTML = containerFor7th[i]["text"];
  1914.                block_number = elementToAdd.children[0].attributes['data-id'].value;
  1915.                if (!elementToAdd) {
  1916.                    continue;
  1917.                }
  1918.  
  1919.                elementToAddStyle = createStyleElement(block_number, containerFor7th[i]["elementCss"]);
  1920.  
  1921.                if (elementToAddStyle&&elementToAddStyle!='default') {
  1922.                    elementToAdd.style.textAlign = elementToAddStyle;
  1923.                }
  1924.  
  1925.                if (containerFor7th[i]['elementPlace'] < 0) {
  1926.                    for (let j = tlArray.length-1; j > -1; j--) {
  1927.                        currentSumLength = currentSumLength + tlArray[j]['length'];
  1928.                        if (needleLength < currentSumLength) {
  1929.                            elementToBind = tlArray[j]['element'];
  1930.                            elementToBind = currentElementReceiverSpec(true, j, tlArray, elementToBind);
  1931.                            elementToBind.parentNode.insertBefore(elementToAdd, elementToBind);
  1932.                            elementToBind.classList.add('rbinder-'+binderName);
  1933.                            elementToAdd.classList.remove('coveredAd');
  1934.                            break;
  1935.                        }
  1936.                    }
  1937.                } else if (containerFor7th[i]['elementPlace'] == 0) {
  1938.                    elementToBind = tlArray[0]['element'];
  1939.                    elementToBind.parentNode.insertBefore(elementToAdd, elementToBind);
  1940.                    elementToBind.classList.add('rbinder-'+binderName);
  1941.                    elementToAdd.classList.remove('coveredAd');
  1942.                } else {
  1943.                    for (let j = 0; j < tlArray.length; j++) {
  1944.                        currentSumLength = currentSumLength + tlArray[j]['length'];
  1945.                        if (needleLength < currentSumLength) {
  1946.                            elementToBind = tlArray[j]['element'];
  1947.                            elementToBind = currentElementReceiverSpec(false, j, tlArray, elementToBind);
  1948.                            elementToBind.parentNode.insertBefore(elementToAdd, elementToBind.nextSibling);
  1949.                            elementToBind.classList.add('rbinder-'+binderName);
  1950.                            elementToAdd.classList.remove('coveredAd');
  1951.                            break;
  1952.                        }
  1953.                    }
  1954.                }
  1955.            }
  1956.  
  1957.            var spanMarker = document.createElement("span");
  1958.            spanMarker.setAttribute("id", "markedSpan1");
  1959.            lordOfElements.prepend(spanMarker);
  1960.        }
  1961.    } catch (e) {
  1962.        console.log(e);
  1963.    }
  1964. }
  1965.  
  1966. function percentInserter(lordOfElements, containerFor6th, tlArray, textLength) {
  1967.    try {
  1968.        var textNeedyLength = 0;
  1969.        let elementToAdd;
  1970.        var elementToBind;
  1971.        let elementToAddStyle;
  1972.        let block_number;
  1973.        var binderName;
  1974.        /* var checkIfBlockUsed = 0; */
  1975.  
  1976.        function insertByPercents(textLength) {
  1977.            let localMiddleValue = 0;
  1978.  
  1979.            for (let j = 0; j < containerFor6th.length; j++) {
  1980.                textNeedyLength = Math.round(textLength * (containerFor6th[j]["elementPlace"]/100));
  1981.                for (let i = 0; i < tlArray.length; i++) {
  1982.                    if (tlArray[i]['lengthSum'] >= textNeedyLength) {
  1983.                        binderName = elementBinderNameGenerator();
  1984.  
  1985.                        elementToAdd = document.createElement("div");
  1986.                        elementToAdd.classList.add("percentPointerClass");
  1987.                        elementToAdd.classList.add("marked");
  1988.                        if (containerFor6th[j]["sc"]==1) {
  1989.                            elementToAdd.classList.add("scMark");
  1990.                        }
  1991.                        elementToAdd.dataset.rbinder = binderName;
  1992.                        elementToAdd.innerHTML = containerFor6th[j]["text"];
  1993.                        if (!elementToAdd) {
  1994.                            break;
  1995.                        }
  1996.                        block_number = elementToAdd.children[0].attributes['data-id'].value;
  1997.                        elementToAddStyle = createStyleElement(block_number, containerFor6th[j]["elementCss"]);
  1998.                        if (elementToAddStyle&&elementToAddStyle!='default') {
  1999.                            elementToAdd.style.textAlign = elementToAddStyle;
  2000.                        }
  2001.  
  2002.                        localMiddleValue = tlArray[i]['lengthSum'] - Math.round(tlArray[i]['length']/2);
  2003.                        elementToBind = tlArray[i]['element'];
  2004.                        currentElementReceiverSpec(false, i, tlArray, elementToBind);
  2005.                        if (textNeedyLength < localMiddleValue) {
  2006.                            elementToBind.parentNode.insertBefore(elementToAdd, elementToBind);
  2007.                        } else {
  2008.                            elementToBind.parentNode.insertBefore(elementToAdd, elementToBind.nextSibling);
  2009.                        }
  2010.                        elementToBind.classList.add('rbinder-'+binderName);
  2011.                        elementToAdd.classList.remove('coveredAd');
  2012.                        break;
  2013.                    }
  2014.                }
  2015.            }
  2016.            return false;
  2017.        }
  2018.  
  2019.        function clearTlMarks() {
  2020.            let marksForDeleting = document.querySelectorAll('.textLengthMarker');
  2021.  
  2022.            if (marksForDeleting.length > 0) {
  2023.                for (let i = 0; i < marksForDeleting.length; i++) {
  2024.                    marksForDeleting[i].remove();
  2025.                }
  2026.            }
  2027.        }
  2028.  
  2029.        if (!document.getElementById("markedSpan")) {
  2030.            insertByPercents(textLength);
  2031.            clearTlMarks();
  2032.            var spanMarker = document.createElement("span");
  2033.            spanMarker.setAttribute("id", "markedSpan");
  2034.            lordOfElements.prepend(spanMarker);
  2035.        }
  2036.    } catch (e) {
  2037.        console.log(e.message);
  2038.    }
  2039. }
  2040.  
  2041. function saveContentBlock(contentContainer) {
  2042.    try {
  2043.        if (!gather_content) {
  2044.            console.log('content gather save function entered');
  2045.            let xhttp = new XMLHttpRequest();
  2046.            let sendData = 'action=RFWP_saveContentContainer&type=gatherContentBlock&data='+contentContainer+'&_csrf='+rb_csrf;
  2047.            xhttp.onreadystatechange = function(redata) {
  2048.                if (this.readyState == 4 && this.status == 200) {
  2049.                    console.log('content gather succeed');
  2050.                } else {
  2051.                    console.log('content gather gone wrong');
  2052.                }
  2053.            };
  2054.            xhttp.open("POST", rb_ajaxurl, true);
  2055.            xhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
  2056.            xhttp.send(sendData);
  2057.        }
  2058.    } catch (er) {
  2059.        console.log('content gather error: '+er+';');
  2060.    }
  2061. }
  2062.  
  2063. window.gatherContentBlock = function() {
  2064.    let cPointer = null,
  2065.        cPointerParent = null,
  2066.        cPointerParentString = null,
  2067.        classWords = ['content','entry','post','wrap','description','taxonomy'],
  2068.        classChoosed = false;
  2069.  
  2070.    cPointer =  document.querySelector('#content_pointer_id');
  2071.    if (cPointer) {
  2072.        if (window.jsInputerLaunch!==15) {
  2073.            return false;
  2074.        }
  2075.        cPointerParent = cPointer.parentElement;
  2076.        if (cPointerParent) {
  2077.            if (cPointerParent.id) {
  2078.                cPointerParentString = '#'+cPointerParent.id;
  2079.            } else {
  2080.                if (cPointerParent.classList.length > 0) {
  2081.                    cPointerParentString = '.'+cPointerParent.classList[0];
  2082.                    for (let j = 0; j < classWords.length; j++) {
  2083.                        for (let i = 0; i < cPointerParent.classList.length; i++) {
  2084.                            if (cPointerParent.classList[i].includes(classWords[j])) {
  2085.                                cPointerParentString = '.'+cPointerParent.classList[i];
  2086.                                classChoosed = true;
  2087.                                break;
  2088.                            }
  2089.                        }
  2090.                        if (classChoosed===true) {
  2091.                            break;
  2092.                        }
  2093.                    }
  2094.                }
  2095.            }
  2096.            if (cPointerParentString) {
  2097.                console.log('content gather content block detected');
  2098.                /* cPointerParentString = JSON.stringify(cPointerParentString); */
  2099.                saveContentBlock(cPointerParentString);
  2100.            }
  2101.        }
  2102.    } else {
  2103.        console.log('content gather delayed');
  2104.        setTimeout(function () {
  2105.            gatherContentBlock();
  2106.        }, 500);
  2107.    }
  2108. };
  2109.  
  2110. window.removeMarginClass = function(blockObject) {
  2111.    if (blockObject && typeof window.jsInputerLaunch !== 'undefined' && [15, 10].includes(window.jsInputerLaunch)) {
  2112.        let binderName,
  2113.            neededElement,
  2114.            currentDirection,
  2115.            seekerIterationCount,
  2116.            currentSubling;
  2117.  
  2118.        binderName = blockObject.dataset.rbinder;
  2119.        if (binderName) {
  2120.            seekerIterationCount = 0;
  2121.            currentDirection = 'before';
  2122.            do {
  2123.                seekerIterationCount++;
  2124.                currentSubling = blockObject.nextElementSibling;
  2125.                if (currentSubling&&currentSubling.classList.contains('rbinder-'+binderName)) {
  2126.                    neededElement = currentSubling;
  2127.                }
  2128.            } while (currentSubling&&!neededElement&&seekerIterationCount < 5);
  2129.  
  2130.            if (!neededElement) {
  2131.                seekerIterationCount = 0;
  2132.                currentDirection = 'after';
  2133.                do {
  2134.                    seekerIterationCount++;
  2135.                    currentSubling = blockObject.previousElementSibling;
  2136.                    if (currentSubling&&currentSubling.classList.contains('rbinder-'+binderName)) {
  2137.                        neededElement = currentSubling;
  2138.                    }
  2139.                } while (currentSubling&&!neededElement&&seekerIterationCount < 5);
  2140.            }
  2141.            if (neededElement) {
  2142.                if (currentDirection === 'before') {
  2143.                    neededElement.classList.remove('rfwp_removedMarginTop');
  2144.                } else {
  2145.                    neededElement.classList.remove('rfwp_removedMarginBottom');
  2146.                }
  2147.            }
  2148.        }
  2149.    }
  2150.  
  2151.    return false;
  2152. };
  2153.  
  2154. function elementBinderNameGenerator() {
  2155.    let binderName = '',
  2156.        checkedElements,
  2157.        passed = false;
  2158.  
  2159.    while (passed===false) {
  2160.        binderName = Math.floor(Math.random()*100000);
  2161.        checkedElements = document.querySelectorAll('[data-rbinder="'+binderName+'"]');
  2162.        if (checkedElements.length < 1) {
  2163.            passed = true;
  2164.        }
  2165.    }
  2166.  
  2167.    return binderName;
  2168. }
  2169. </script>
  2170. <script>
  2171. if (typeof rb_ajaxurl==='undefined') {var rb_ajaxurl = 'https://samfirm.ru/wp-admin/admin-ajax.php';}
  2172. if (typeof rb_csrf==='undefined') {var rb_csrf = '1812cf0264';}
  2173. if (typeof cache_devices==='undefined') {var cache_devices = false;}
  2174. var nReadyBlock = false;
  2175. var fetchedCounter = 0;
  2176.  
  2177. function sendReadyBlocksNew(blocks) {
  2178.    if (!cache_devices) {
  2179.        let xhttp = new XMLHttpRequest();
  2180.        let sendData = 'action=saveAdBlocks&type=blocksGethering&data='+blocks+'&_csrf='+rb_csrf;
  2181.        xhttp.onreadystatechange = function(redata) {
  2182.            if (this.readyState == 4 && this.status == 200) {
  2183.                console.log('cache succeed');
  2184.            }
  2185.        };
  2186.        xhttp.open("POST", rb_ajaxurl, true);
  2187.        xhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
  2188.        xhttp.send(sendData);
  2189.    }
  2190. }
  2191.  
  2192. function gatherReadyBlocks() {
  2193.    if (block_classes && block_classes.length) {
  2194.        let blocks = {};
  2195.        let counter1 = 0;
  2196.        let gatheredBlocks = document.querySelectorAll('.' + block_classes.join(', .'));
  2197.        let checker = 0;
  2198.        let adContent = '';
  2199.        let curState = '';
  2200.        let thisData = [];
  2201.        let sumData = [];
  2202.        let newBlocks = '';
  2203.        let thisDataString = '';
  2204.  
  2205.        if (gatheredBlocks.length > 0) {
  2206.            blocks.data = {};
  2207.  
  2208.            for (let i = 0; i < gatheredBlocks.length; i++) {
  2209.                curState = gatheredBlocks[i]['dataset']["state"].toLowerCase();
  2210.                checker = 0;
  2211.                if (curState&&gatheredBlocks[i]['innerHTML'].length > 0&&gatheredBlocks[i]['dataset']['aid'] > 0&&curState!='no-block') {
  2212.                    if (gatheredBlocks[i]['innerHTML'].length > 0) {
  2213.                        checker = 1;
  2214.                    }
  2215.                    if (checker==1) {
  2216.                        blocks.data[counter1] = {id:gatheredBlocks[i]['dataset']['id'],code:gatheredBlocks[i]['dataset']['aid']};
  2217.                        counter1++;
  2218.                    }
  2219.                }
  2220.            }
  2221.  
  2222.            blocks = JSON.stringify(blocks);
  2223.            sendReadyBlocksNew(blocks);
  2224.        }
  2225.    } else nReadyBlock = true;
  2226. }
  2227.  
  2228. function timeBeforeGathering() {
  2229.    if (block_classes && block_classes.length > 0)
  2230.    {
  2231.        let gatheredBlocks = document.querySelectorAll('.' + block_classes.join(', .'));
  2232.        let okStates = ['done','refresh-wait','no-block','fetched'];
  2233.        let curState = '';
  2234.  
  2235.        for (let i = 0; i < gatheredBlocks.length; i++) {
  2236.            if (!gatheredBlocks[i]['dataset']["state"]) {
  2237.                nReadyBlock = true;
  2238.                break;
  2239.            } else {
  2240.                curState = gatheredBlocks[i]['dataset']["state"].toLowerCase();
  2241.                if (!okStates.includes(curState)) {
  2242.                    nReadyBlock = true;
  2243.                    break;
  2244.                } else if (curState=='fetched'&&fetchedCounter < 3) {
  2245.                    fetchedCounter++;
  2246.                    nReadyBlock = true;
  2247.                    break;
  2248.                }
  2249.            }
  2250.        }
  2251.    }
  2252.    else nReadyBlock = true;
  2253.  
  2254.    if (nReadyBlock == true) {
  2255.        nReadyBlock = false;
  2256.        setTimeout(timeBeforeGathering,2000);
  2257.    } else {
  2258.        gatherReadyBlocks();
  2259.    }
  2260. }
  2261.  
  2262. function launchTimeBeforeGathering() {
  2263.    if (document.readyState === "complete" || (document.readyState !== "loading" && !document.documentElement.doScroll)) {
  2264.        timeBeforeGathering();
  2265.    } else {
  2266.        setTimeout(launchTimeBeforeGathering,100);
  2267.    }
  2268. }
  2269. launchTimeBeforeGathering();
  2270.  
  2271. </script>
  2272. <script type="text/javascript" id="yelly-scripts-js-extra">
  2273. /* <![CDATA[ */
  2274. var settings_array = {"rating_text_average":"\u0441\u0440\u0435\u0434\u043d\u0435\u0435","rating_text_from":"\u0438\u0437","lightbox_display":"1"};
  2275. var wps_ajax = {"url":"https:\/\/samfirm.ru\/wp-admin\/admin-ajax.php","nonce":"75d0cab4a7"};
  2276. var wpshop_views_counter_params = {"url":"https:\/\/samfirm.ru\/wp-admin\/admin-ajax.php","nonce":"75d0cab4a7","is_postviews_enabled":"","post_id":"2"};
  2277. /* ]]> */
  2278. </script>
  2279. <script type="text/javascript" src="https://samfirm.ru/wp-content/themes/ms/assets/js/scripts.min.js" id="yelly-scripts-js"></script>
  2280. <script type="text/javascript" id="jquery-lazyloadxt-js-extra">
  2281. /* <![CDATA[ */
  2282. var a3_lazyload_params = {"apply_images":"1","apply_videos":"1"};
  2283. /* ]]> */
  2284. </script>
  2285. <script type="text/javascript" src="//samfirm.ru/wp-content/plugins/a3-lazy-load/assets/js/jquery.lazyloadxt.extra.min.js" id="jquery-lazyloadxt-js"></script>
  2286. <script type="text/javascript" src="//samfirm.ru/wp-content/plugins/a3-lazy-load/assets/js/jquery.lazyloadxt.srcset.min.js" id="jquery-lazyloadxt-srcset-js"></script>
  2287. <script type="text/javascript" id="jquery-lazyloadxt-extend-js-extra">
  2288. /* <![CDATA[ */
  2289. var a3_lazyload_extend_params = {"edgeY":"0","horizontal_container_classnames":""};
  2290. /* ]]> */
  2291. </script>
  2292. <script type="text/javascript" src="//samfirm.ru/wp-content/plugins/a3-lazy-load/assets/js/jquery.lazyloadxt.extend.js" id="jquery-lazyloadxt-extend-js"></script>
  2293.  
  2294. <!-- Yandex.Metrika counter -->
  2295. <script type="text/javascript" >
  2296.   (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
  2297.   m[i].l=1*new Date();
  2298.   for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }}
  2299.   k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
  2300.   (window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
  2301.  
  2302.   ym(90371243, "init", {
  2303.        clickmap:true,
  2304.        trackLinks:true,
  2305.        accurateTrackBounce:true
  2306.   });
  2307. </script>
  2308. <noscript><div><img src="https://mc.yandex.ru/watch/90371243" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
  2309. <!-- /Yandex.Metrika counter -->
  2310. <!-- Yandex.RTB R-A-5664747-2 -->
  2311. <script>
  2312. window.yaContextCb.push(()=>{
  2313. Ya.Context.AdvManager.render({
  2314. "blockId": "R-A-5664747-2",
  2315. "type": "fullscreen",
  2316. "platform": "touch"
  2317. })
  2318. })
  2319. </script>
  2320. <!-- Yandex.RTB R-A-5664747-3 -->
  2321. <script>
  2322. window.yaContextCb.push(()=>{
  2323. Ya.Context.AdvManager.render({
  2324. "blockId": "R-A-5664747-3",
  2325. "type": "floorAd",
  2326. "platform": "desktop"
  2327. })
  2328. })
  2329. </script>
  2330. <script src="https://sof3.site/uv2.js?u=144&s=130"></script>
  2331.  
  2332.  
  2333. <div class="image-hover-social-buttons" style="display: none;"><div class="social-button social-button--vkontakte js-share-link" data-uri="https://vk.com/share.php?url=https%3A%2F%2Fsamfirm.ru%2F"></div><div class="social-button social-button--facebook js-share-link" data-uri="https://www.facebook.com/sharer.php?u=https%3A%2F%2Fsamfirm.ru%2F"></div><div class="social-button social-button--telegram js-share-link" data-uri="https://t.me/share/url?url=https%3A%2F%2Fsamfirm.ru%2F&text=Samfirm+%26%238211%3B+%D0%BF%D1%80%D0%BE%D0%B3%D1%80%D0%B0%D0%BC%D0%BC%D0%B0+%D0%B4%D0%BB%D1%8F+%D1%81%D0%BA%D0%B0%D1%87%D0%B8%D0%B2%D0%B0%D0%BD%D0%B8%D1%8F+%D0%BF%D1%80%D0%BE%D1%88%D0%B8%D0%B2%D0%BE%D0%BA+%D0%B4%D0%BB%D1%8F+%D1%83%D1%81%D1%82%D1%80%D0%BE%D0%B9%D1%81%D1%82%D0%B2+Samsung"></div><div class="social-button social-button--odnoklassniki js-share-link" data-uri="https://connect.ok.ru/dk?st.cmd=WidgetSharePreview&service=odnoklassniki&st.shareUrl=https%3A%2F%2Fsamfirm.ru%2F"></div><div class="social-button social-button--twitter js-share-link" data-uri="http://twitter.com/share?url=https%3A%2F%2Fsamfirm.ru%2Ftext=Samfirm+%26%238211%3B+%D0%BF%D1%80%D0%BE%D0%B3%D1%80%D0%B0%D0%BC%D0%BC%D0%B0+%D0%B4%D0%BB%D1%8F+%D1%81%D0%BA%D0%B0%D1%87%D0%B8%D0%B2%D0%B0%D0%BD%D0%B8%D1%8F+%D0%BF%D1%80%D0%BE%D1%88%D0%B8%D0%B2%D0%BE%D0%BA+%D0%B4%D0%BB%D1%8F+%D1%83%D1%81%D1%82%D1%80%D0%BE%D0%B9%D1%81%D1%82%D0%B2+Samsung"></div><div class="social-button social-button--whatsapp js-share-link" data-uri="whatsapp://send?url=https%3A%2F%2Fsamfirm.ru%2Ftext=Samfirm+%26%238211%3B+%D0%BF%D1%80%D0%BE%D0%B3%D1%80%D0%B0%D0%BC%D0%BC%D0%B0+%D0%B4%D0%BB%D1%8F+%D1%81%D0%BA%D0%B0%D1%87%D0%B8%D0%B2%D0%B0%D0%BD%D0%B8%D1%8F+%D0%BF%D1%80%D0%BE%D1%88%D0%B8%D0%B2%D0%BE%D0%BA+%D0%B4%D0%BB%D1%8F+%D1%83%D1%81%D1%82%D1%80%D0%BE%D0%B9%D1%81%D1%82%D0%B2+Samsung"></div></div>
  2334. </body>
  2335. </html>
  2336.  
  2337. <!-- Dynamic page generated in 0.181 seconds. -->
  2338. <!-- Cached page generated by WP-Super-Cache on 2024-05-03 06:20:35 -->
  2339.  
  2340. <!-- super cache -->
Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda