ج. آوریل 19th, 2024

ab


<html>
<head>
  <title>Iran News Search</title>
</head>
<body>
  <form action="https://gulfnews.com/search" method="get">
    <label for="search-query">Search for news about Iran:</label>
    <input type="text" id="search-query" name="q" value="iran">
    <button type="submit">Search</button>
  </form>
  <div id="google_translate_element"></div>

  <script type="text/javascript">
    function googleTranslateElementInit() {
      new google.translate.TranslateElement({pageLanguage: 'en', layout: google.translate.TranslateElement.InlineLayout.SIMPLE, autoDisplay: false}, 'google_translate_element');
    }
  </script>

  <script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>

  <script type="text/javascript">
    document.getElementsByName("q")[0].value = "iran";
    document.querySelector('form').submit();
    setTimeout(() => {
      document.getElementsByClassName("goog-te-combo")[0].value = "fa"
      document.getElementsByClassName("goog-te-combo")[0].dispatchEvent(new Event("change"))
    }, 1000);
  </script>
</body>
</html>