跳转到主要内容

macOS Google Chrome.app 脚本

项目描述

安装

$ [sudo] pip install mac-chrome
$ [sudo] npm i -g mac-chrome

配置

$ export CHROME_TIMEOUT=10 # 5 by default

示例

url(s)

$ chrome urls
https://github.com/
https://google.com/
$ chrome url
https://github.com/

打开/刷新

$ chrome open "https://github.com/" "https://google.com/"
$ chrome refresh "https://github.com/"

全屏

$ chrome fullscreen-enter
$ chrome fullscreen-detect
1
$ chrome fullscreen-exit

前端(10

$ chrome frontmost
0

Google Chrome.app 进程

$ chrome pid
42
$ chrome isready 5 # timeout 5 seconds
1
$ chrome kill

readme42.com

项目详情


下载文件

下载适合您平台的文件。如果您不确定选择哪个,请了解更多关于 安装包 的信息。

源代码发行版

mac-chrome-2020.12.3.tar.gz (4.3 kB 查看哈希值)

上传时间: 源代码

支持