您可以从命令行在 chrome 中打开一个 URL:
google-chrome https://example.com
Run Code Online (Sandbox Code Playgroud)
有没有办法以这种方式打开chrome://URL(例如chrome://bookmarks/)?当我尝试chrome://从 shell打开URL 时,chrome 只会打开一个空的浏览器选项卡。
如果 Chrome 只是为了用户保护而拒绝,也就不足为奇了。如果碰巧是这种情况:这是在哪里记录的?
2023:使用 chrome 113,Debian sid 上的当前xdotool :
$BROWSER& sleep 2 #Opens a new tab in your hopefully already running browser.
xdotool type --delay 111 $URL #Don't type each letter too fast!
xdotool key Return
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
2200 次 |
| 最近记录: |