From anonymous, 4 Days ago, written in Python.
Embed
  1. from PyQt6.QtCore import QUrl
  2. from PyQt6.QtWidgets import QApplication, QLineEdit, QWidget
  3. from PyQt6.QtWebEngineWidgets import QWebEngineView
  4.  
  5. app = QApplication([])
  6. widgets = [QWebEngineView(), QWebEngineView()]
  7. for w in widgets:
  8.     w.titleChanged.connect(w.setWindowTitle)
  9.     w.load(QUrl("https://ddg.gg"))
  10.     w.show()
  11. app.exec()