Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Windows 中,使用简单的 DDE 命令很容易从大多数浏览器中获取当前 url。同样使用 DDE,您可以告诉浏览器转到另一个位置。
如何在 Linux 中执行类似的任务?我需要为我正在制作的工具检索浏览器指向的 url。
我知道 Linux 中没有 DDE 等价物,但通常命令行可以做魔术......
首选浏览器:依次为 Firefox 或 Chrome。