Can I fill the input in iframe with specified content through js?

you can view directly
or

.
   

Can

be implemented? Cross-domain is not cross-domain, mainly because there is no train of thought.

Mar.26,2021

provide an idea that can be modified directly through dom, for example:

window.frames[0].document.getElementById('kw').value = '';

however, if you use Baidu, cross-domain will be blocked by browsers. If you don't cross-domain, you won't intercept.
you can create a local file and try the following code,

<body>
  <button id="save">DOM</button>
  <iframe src="02.html"></iframe>
  <script>
    var save = document.getElementById('save');
    save.addEventListener('click', function () {
      window.frames[0].document.body.innerText = '';
    });
  </script>
</body>
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e4d87d-43c67.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e4d87d-43c67.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?