R
R
Roman Sippel2018-06-08 10:27:50
MODX
Roman Sippel, 2018-06-08 10:27:50

How to remove junk html from modx evo template?

Hello everyone
This something has been added to the mod-x evo site template.

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <style type="text/css">
    html, body, #partner, iframe {
      height: 100%;
      width: 100%;
      margin: 0;
      padding: 0;
      border: 0;
      outline: 0;
      font-size: 100%;
      vertical-align: baseline;
      background: transparent;
    }
    body {
      overflow: hidden;
    }
  </style>
  <meta content="NOW" name="expires">
  <meta content="index, follow, all" name="GOOGLEBOT">
  <meta content="index, follow, all" name="robots">
  <!-- Following Meta-Tag fixes scaling-issues on mobile devices -->
  <meta content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" name="viewport">
  <script type="text/javascript" src="punycode.min.js"></script>
</head>
<body>
<div id="partner"></div>
<script type="text/javascript">
  document.write(
    '<script type="text/javascript" language="JavaScript"'
    + 'src="//sedoparking.com/frmpark/'
    + punycode.toASCII(window.location.host) + '/'
    + 'dealrucenter'
    + '/park.js">'
    + '<\/script>'
  );
</script>
</body>
</html><!DOCTYPE html>
<!--[if lte IE 8]><html class="ie"><![endif]-->
<!--[if !IE]><!--><html><!--<![endif]-->
<head>
  <title>Канаты, Проволока, Гвозди, Крепеж, Электроды, Стропы, Такелаж в Перми  –  ММК</title>

Googling, I saw that the problem was not only mine. Drupalers fix it by updating the CMS core. However, this method did not help me.
There are many opinions that hosters add such a thing to keep track of expiring domains and other things.
On local hosting, with a kernel update, the problem does not disappear.
This is the first time in my practice, I am completely at a loss :)
Do you know how it is treated?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Sippel, 2018-06-08
@SeoHueo

Spravilso.
The version of mod-x evo was 1.0.12 It was
decided by installing the same version on the localhost from scratch. Plugins, snippets and other fun things were imported there, all assets.
Strange, but everything works without jambs. It must be assumed that the kernel was hacked.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question