Does not work javascript


I choose Webviev and the latest version of the Cocoon.
In my assembly, javascript is not executed. That I did not. I very much ask you to help!

index.html :

<html lang="en">

  <link rel="stylesheet" href="" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO"
  <link rel="stylesheet" href="css/style.css">
  <meta charset="UTF-8" />
  <meta name="description" content="aaaa" />
  <a href="1.html">aaaaa</a>
  <div class="content">
    <div class="row">
      <div class="col-md-6 offset-md-3">
        <h1 class="display-3 text-center mb-3">Конвертор других величин</h1>
          <div class="form-group">
            <input type="number" id="kmInput" placeholder="Введите киллометры: " class="form-control form-control-lg">
        <div id="output">
          <div class="card alert-warning">
            <div class="card-block">
              <div id="metresOutput" de>
          <div class="card alert-primary">
            <div class="card-block">
              <div id="smOutput">

          <div class="card alert-success">
            <div class="card-block">
              <div id="milimetresOutput">

  <script type="text/javascript">
    document.write("Вы пришли с <b>" + document.referrer + "</b>");
    document.write("<BR>Ваш броузер: <b>" + navigator.appName + "</b>");
    document.write("<BR>Кодовое название: <b>" + navigator.appCodeName + "</b>");
    document.write("<BR>Версия: <b>" + navigator.appVersion + "</b>");
    document.write("<br>Заголовок пользовательского агента: <b>" + navigator.userAgent + "</b>");
    document.getElementById('output').style.visibility = 'hidden';
    document.getElementById('kmInput').addEventListener('input', function (e) {
      document.getElementById('output').style.visibility = 'visible';
      let km =;
      document.getElementById('metresOutput').innerHTML = km * 1000;
      document.getElementById('smOutput').innerHTML = km * 100000;
      document.getElementById('milimetresOutput').innerHTML = km * 1000000;


you try Webview+ or old version 2.2.0 or 2.1.0


This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.